Skip to content

mwittig/node-websolarlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-websolarlog

Greenkeeper badge 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-2018, Marcus Wittig and contributors. All rights reserved.

MIT License.