Add per-meter usage chart on MeterDetail for device-fed meters
Consumes the existing /history endpoint (raw/hourly/daily-reading telemetry) to show a consumption chart with a range picker, for meters that have an mqtt_topic set. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
f5b0b01ff1
commit
85c843c9ef
5 changed files with 517 additions and 7 deletions
|
|
@ -12,7 +12,8 @@
|
|||
"lucide-react": "^0.469.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "^6.28.1"
|
||||
"react-router-dom": "^6.28.1",
|
||||
"recharts": "^3.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.12",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue