6 Commits
0.3 ... 0.4

Author SHA1 Message Date
Ben Roberts
120a717efc Bump version and changelog to 0.4 2021-06-13 20:47:23 +01:00
Ben Roberts
829f7cbe58 Include dependencies in setup.py 2021-06-13 20:44:06 +01:00
Ben Roberts
e14fb13bcd Update grafana dashboard 2020-10-04 17:45:30 +01:00
Ben Roberts
bfaef6ef76 Update gitignore to omit build artifacts 2020-10-04 17:45:14 +01:00
Ben Roberts
b4c756bc40 Add grafana info to Readme 2020-09-13 13:01:09 +01:00
Ben Roberts
688f9d1088 Add grafana dashboard and screenshot 2020-09-13 12:55:15 +01:00
7 changed files with 1686 additions and 1 deletions

3
.gitignore vendored
View File

@@ -1 +1,4 @@
/build/
dist/
*.egg-info/
__pycache__

View File

@@ -1,5 +1,19 @@
# Changelog
## v0.4 (2021-06-13)
Improvements:
* Added grafana dashboard
* Added dependencies to setup.py
* Published to pypi
## v0.3 (2020-09-13)
Misc:
* Add documentation
## v0.2 (2020-09-06)
Bug fixes:

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

BIN
energy-usage-dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

View File

@@ -1 +1 @@
VERSION = "0.1"
VERSION = "0.4"

1654
grafana.energy-usage.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -38,4 +38,10 @@ setup(
data_files=[
('/etc/energy-usage/config.yaml.example', ['config.yaml.example']),
],
install_requires=[
'confuse~=1.3',
'influxdb~=5.3',
'paho-mqtt~=1.5',
]
)