Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trickfilm400/solarlog-api
Nodejs-Api for solar-log devices to fetch inverter values and more
https://github.com/trickfilm400/solarlog-api
node nodejs nodejs-api nodejs-modules npm npm-api npm-package solar solar-energy solar-log solar-logger solar-system solarlog-gmbh solarlog500
Last synced: about 1 month ago
JSON representation
Nodejs-Api for solar-log devices to fetch inverter values and more
- Host: GitHub
- URL: https://github.com/trickfilm400/solarlog-api
- Owner: Trickfilm400
- Created: 2022-06-14T05:44:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T08:10:02.000Z (3 months ago)
- Last Synced: 2024-10-12T08:05:23.188Z (about 1 month ago)
- Topics: node, nodejs, nodejs-api, nodejs-modules, npm, npm-api, npm-package, solar, solar-energy, solar-log, solar-logger, solar-system, solarlog-gmbh, solarlog500
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@trickfilm400/solarlog-api
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# solarlog-api
This NPM package provides a full nodejs-api for the Solar-Log device to fetch data of the solar-log device.
Tested with SolarLog 500 device.
Implements one part of the API which is documented here: https://github.com/iobroker-community-adapters/ioBroker.solarlog/blob/master/docs/solarlog_dataobjects.md (or: https://github.com/iobroker-community-adapters/ioBroker.solarlog/blob/9e92005e51ca10e3692319545688805ecb1396ec/docs/solarlog_dataobjects.md)
If you need more requests implemented, just create an issue.
## Usage
- Install NPM package from GitHub or NPM.
- Function return a Promise## Example
```typescript
import SolarLogAPI from "@trickfilm400/solar-log";const client = new SolarLogAPI(" {
console.log(res);
/*
* {
status: { '0': 'MPP', '1': 'MPP', '2': 'MPP' },
production: { '0': '566', '1': '588', '2': '846' }
}
*
*
*/
}).catch(console.error);
```© 2022-2024 Trickfilm400