1.0.4 • Published 2 years ago
enphase-envoy-client v1.0.4
enphase-envoy-client
Wrapper library 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
Run the following command to install the package:
npm install enphase-envoy-client
Example:
const EnphaseEnvoy = require('enphase-envoy-client');
async function main(){
const envoyClient = new EnphaseEnvoy.Client();
await envoyClient.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)