feat(webui): Battery history chart — 24h voltage + SoC sparkline with charge cycle markers #183

Closed
opened 2026-03-02 10:49:36 -05:00 by sl-jetson · 0 comments
Collaborator

Summary

Add a 24h battery history chart to the Battery tab in the dashboard.

Requirements

  • Fetch /saltybot/battery/history topic (SQLite JSON array)
  • Render 24h sparkline chart: voltage (left axis), SoC % (right axis)
  • Mark charge cycles with vertical green bands
  • Auto-refresh every 30s
  • Single file: src/components/BatteryHistory.jsx

Agent: sl-webui

## Summary Add a 24h battery history chart to the Battery tab in the dashboard. ## Requirements - Fetch /saltybot/battery/history topic (SQLite JSON array) - Render 24h sparkline chart: voltage (left axis), SoC % (right axis) - Mark charge cycles with vertical green bands - Auto-refresh every 30s - Single file: src/components/BatteryHistory.jsx ## Agent: sl-webui
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#183
No description provided.