This exporter is built to expose the live data from a Powerpal power consumption monitoring device into a format that can be pulled into Prometheus
Binaries can be downloaded from the Github releases and need no special installation.
Start powerpal_exporter
as a daemon or from CLI specifying your API token and device ID:
./powerpal_exporter --token "API_TOKEN" --device "DEVICE_ID" --refresh 30
Visit http://localhost:9915/metrics to get all the metrics exposed.
Command line parameters can be set using environment variables instead.
Option | Default | Environment Variable |
---|---|---|
--token | POWERPAL_TOKEN | |
--device | POWERPAL_DEVICE | |
--refresh | 30 | POWERPAL_REFRESH |
Powerpal Exporter is available as a Docker image at https://hub.docker.com/r/adamashley/powerpal-exporter
The Docker image works with the same environment variables used by the daemon itself.