Add a Grafana dashboard generator for the three UPS devices

tools/generate_grafana_ups.py writes grafana-ups.json, which shows the JBD network UPS, the River 2 desktop UPS, and the River 3 NAS UPS in three columns. Git ignores the generated file.

Each EcoFlow column shows one time-remaining panel in hours, for the direction in use. The River 2 histories add pack current and remaining capacity. The River 3 reports neither, so its histories add battery power and charge.
This commit is contained in:
tim
2026-10-10 11:56:29 +02:00
parent 0c179d29e5
commit e32d3a8e22
6 changed files with 640 additions and 0 deletions
+3
View File
@@ -5,5 +5,8 @@ __pycache__/
.coverage
/dist/
# Output of tools/generate_grafana_ups.py.
/grafana-ups.json
# Optional third-party Type 7 lookup table. Obtain it separately (see README).
/bmspy/ecoflow_keydata.py