Add grafana info to Readme

This commit is contained in:
Ben Roberts
2020-09-13 13:01:09 +01:00
committed by GitHub
parent 688f9d1088
commit b4c756bc40

View File

@@ -40,6 +40,14 @@ docker build -t energy-usage:latest .
docker run -v config.yaml:/etc/energy-usage/config.yaml energy-usage:latest
```
## Grafana
`grafana.energy-usage.json` contains an example Grafana dashboard which consumes this data (using the prometheus query interface of VictoriaMetrics).
![Grafana dashboard screenshot](energy-usage-dashboard.png)
Upon import of the dashboard, you will be prompted to select your datasource, and enter your unit and standing charges. These are used to plot the costs of realtime usage data, and the daily/weekly/monthly consumption using accumulated usage statistics by the meters. The dashboard does not currently use live tarrif data, as this is not provided in the Bright MQTT feed.
## Tested with:
* Python 3