An application for polling the Enphase Envoy for power information and providing it as a Prometheus exporter.
This library uses Python Poetry for builds, tests, and deployment. Once you've installed Poetry you can install this project's dependencies with this command:
poetry install
Assuming that you have set up your environment as described later in this document, you can test the application by running this command:
poetry run enphase_exporter --api-url=http://localhost:8080/
Still assuming that your environment is configured, an alternative way to run this is with Docker, like this:
docker build -t enphase_exporter .
docker run --rm enphase_exporter --api-url=http://envoy-proxy:8080/ --port=8000
The full URL to your local Enphase Envoy Proxy. This might be something like http://192.168.1.200/
or http://enphase-proxy.tools.svc.cluster.local:8080/
.
The port on which to listen for Prometheus connections.
Once you've configured Prometheus to collect the data that you want, there is an example dashboard in the examples
directory. It looks like this:
Enphase(R), Envoy(R) are trademarks of Enphase Energy(R).
All trademarks are the property of their respective owners.
Any trademarks used in this project are used in a purely descriptive manner and to state compatability.