Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mwittig/node-websolarlog
Access PV live logs from WebSolarLog in Node.
https://github.com/mwittig/node-websolarlog
photovoltaic pv-systems websolarlog wsl
Last synced: about 3 hours ago
JSON representation
Access PV live logs from WebSolarLog in Node.
- Host: GitHub
- URL: https://github.com/mwittig/node-websolarlog
- Owner: mwittig
- License: mit
- Created: 2015-04-16T17:27:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T23:00:15.000Z (almost 5 years ago)
- Last Synced: 2024-10-07T23:18:50.294Z (about 1 month ago)
- Topics: photovoltaic, pv-systems, websolarlog, wsl
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
README
# node-websolarlog
[![Greenkeeper badge](https://badges.greenkeeper.io/mwittig/node-websolarlog.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/mwittig/node-websolarlog.svg?branch=master)](https://travis-ci.org/mwittig/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](https://github.com/mwittig/node-websolarlog/blob/master/HISTORY.md).
## License
Copyright (c) 2016-2018, Marcus Wittig and contributors. All rights reserved.
[MIT License](https://github.com/mwittig/node-websolarlog/blob/master/LICENSE).