Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

A Prometheus exporter for Enphase Envoy.

License

Notifications You must be signed in to change notification settings

paullockaby/enphase-exporter

Repository files navigation

enphase-exporter

An application for polling the Enphase Envoy for power information and providing it as a Prometheus exporter.

Development

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

Configuration

--api-url

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/.

--port

The port on which to listen for Prometheus connections.

Example

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:

Example Grafana Dashboard for Enphase Exporter

Trademarks

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.