node-websolarlog
v0.0.6
Published
Access PV live logs from WebSolarLog in Node.
Downloads
22
Maintainers
Readme
node-websolarlog
Access PV live logs from WebSolarLog in Node.
Usage Example
var wsl = require('node-websolarlog'),
options = {
host: 'diehl-inverter-demo.websolarlog.com',
name: 'Diehl'
};
// get full data
wsl.getProductionDeviceData(options).then(function (json) {
console.log(json);
}).catch(function(e) {console.log(e)});
// get production data for a single production device
wsl.getProductionDeviceData(options).then(function (json) {
console.log(json);
}).catch(function(e) {console.log(e)});
// get totals for all production devices
wsl.getProductionTotals(options).then(function (json) {
console.log(json);
}).catch(function(e) {console.log(e)});
Release History
See Release History.
License
Copyright (c) 2016, Marcus Wittig and contributors. All rights reserved.