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
+1
View File
@@ -46,6 +46,7 @@ module-root = ""
source-include = [
"tests/**", "docs/ecoflow-river2-fields.md", "docs/ecoflow-river3-fields.md",
"tools/generate_ecoflow_river3_schema.py", "tools/ecoflow-bt.py", "*.service", "uv.lock",
"docs/grafana-ups.md", "tools/generate_grafana_ups.py",
]
# Do not distribute the external Type 7 table or the unfinished local USB stub.
source-exclude = ["/bmspy/ecoflow_keydata.py", "/bmspy/usbhid.py"]