This is a simple Docker container to allow you to monitor your Enphase Envoy solar gateway in realtime via your favourite web browser. Built using PHP, JS, Bootstrap and packaged using Docker. Run it on a server or Raspberry Pi.
It uses the built in public API available on your solar gateway at http://enphase.local/production.json
- Clone this repo.
- Build the docker image
docker build --file .docker/Dockerfile -t envoy_realtime_monitor .
- Run the container on port 8080 (or whichever port your prefer). You will need to provide the Envoy Gateway IP address in place of 192.168.1.3
docker run -d --add-host envoy.local:192.168.1.3 -p 8080:80 envoy_realtime_monitor
- Browse over to your Docker host (e.g http://192.168.1.60:8080)
The real time monitor shows your current energy consumption and current production.
If you are importing power from the grid your Net consumption will be RED. If you are exporting power to the grid you Net consumption will be GREEN.
it would be nice if mDNS worked inside the Docker container so it could resolve the Envoy address automagically. If someone could provide some guidance that would be appreciated!
This application is licensed under an MIT license, refer to LICENSE for details.