node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

webpowermon

webpowermon

Webpowermon is a firebase app which uses INA219 with i2c-bus compatible board to provide web-based power monitoring. Configuration for firebase should be modified according to the deployment environment.

How to use

var webpowermon = require('webpowermon');
 
var mon = new webpowermon(1,"serviceAccount.json","area-X",60);
mon.discoverDevices();
mon.beginMonitor();