mirror of
https://github.com/jorijn/meshcore-stats.git
synced 2026-03-28 17:42:55 +01:00
fix: normalize reporting outputs and chart tooltips
- render last observation with local TZ label - show zero values in report tables - keep report JSON raw values with explicit units - reduce chart queries per period and tag chart line paths - remove redundant get_bat call in companion collector
This commit is contained in:
@@ -74,16 +74,6 @@ async def collect_companion() -> int:
|
||||
else:
|
||||
log.error(f"device_query failed: {err}")
|
||||
|
||||
# get_bat
|
||||
ok, evt_type, payload, err = await run_command(
|
||||
mc, cmd.get_bat(), "get_bat"
|
||||
)
|
||||
if ok:
|
||||
commands_succeeded += 1
|
||||
log.debug(f"get_bat: {payload}")
|
||||
else:
|
||||
log.error(f"get_bat failed: {err}")
|
||||
|
||||
# get_time
|
||||
ok, evt_type, payload, err = await run_command(
|
||||
mc, cmd.get_time(), "get_time"
|
||||
|
||||
Reference in New Issue
Block a user