node-hoganas-energi
Install
npm install node-hognas-energi
Methods
/** * Retrieves a month report. If year and month are not passed * it will take the current month * @param * @param * @param {number/function} p1 Year of report (YYYY) or callback (gets current year and month) * @param * @param */ /** * Get report for a specific day * @param * @param * @param * @param */getDay = function(username, password, date, callback) /** * Retreives the consumption from yesterday * @param * @param * @param */getYesterday = function(username, password, callback)
Example
var nodeHoganasEnergi = // uid = 123456, pwd = 101112nodeHoganasEnergi