node-websolarlog

0.0.6 • Public • Published

node-websolarlog

Build Status

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.

MIT License.

Package Sidebar

Install

npm i node-websolarlog

Weekly Downloads

4

Version

0.0.6

License

MIT

Last publish

Collaborators

  • mwittig