This is a Prometheus exporter for myenergi renewable energy products.
- Docker 23.0+
- Kubernetes cluster
- Myenergi API Key - this can be created through https://myaccount.myenergi.com/
- Myenergi Eddi and/or Harvi
Modules currently implemented are:
- Eddi
- Harvi
- Zappi
- Libbi
This repository requires a Myenergi API Key. It can be created through https://myaccount.myenergi.com/
The docker image can be built using:
docker build -t myenergi:latest .
- Configure the relevant fields in the Kubernetes manifest
<DOCKER_IMAGE_NAME>
- The docker image (ie.myenergi:latest
)<MYENERGI_USERNAME>
- Your Myenergi username<MYENERGI_API_KEY>
- Your Myenergi API key<MYENERGI_SERVER>
- Your Myenergi server (format must behttps://<FQDN>
, defaulthttps://s18.myenergi.net
)<YOUR_PREFERRED_FQDN>
- The fully qualified domain name to access the container through the Kubernetes ingress controller
- Deploy the manifest:
kubectl apply -f contrib/kubernetes/myenergi-prometheus.yaml
- Test the prometheus scraping endpoint:
curl http://<YOUR_PREFERRED_FQDN>