0.0.1 • Published 2 years ago
enphase-envoy-wrapper v0.0.1
enphase-envoy-wrapper
async/await Node.js wrapper for Enphase Envoy REST API
If you have solar panels from Enphase at home, you might have an envoy from Enphase at your home too.
This npm helps you to communicate with the local envoy API.
How to use this module
Example:
const EnphaseEnvoy = require('enphase-envoy-wrapper');
async function main(){
const envoyWrapper = new EnphaseEnvoy.Wrapper();
await envoyWrapper.getSevenDaysProduction();
}
main().catch(
console.log
);
Done
- Get today production in watts per hour from all inverters by using http://envoy.local/api/v1/production/
- Get seven days production in watts per hour from all inverters by using http://envoy.local/api/v1/production/
- Get LifeTime production in watts per hour from all inverters by using http://envoy.local/api/v1/production/
- Get current production in watts from all inverters by using http://envoy.local/api/v1/production/
TODO
- Get installed meters by using http://envoy.local/ivp/meters
- Get current production meter by using http://envoy.local/production.json?details=1
- Get installed and active devices meter by using http://envoy.local/inventory.json
- Get installed and active devices meter by using http://envoy.local/inventory.json
- Get envoy info (like s/n) by using http://envoy.local/info.xml
Get how much each inverter is production by using http://envoy.local/api/v1/production/inverters (username: envoy, password: s/n)
Feel free to create PRs to add functionalities or to fix things.
0.0.1
2 years ago