π Dashboard v5 β Historical Analytics & Export
Parent: #1
Current State (v4.1)
- Live gauges for 11 sensors
- 24h chart history (from MQTT retained messages)
- Environmental health alerts (EPA/WHO thresholds)
- Noise event log with night watch
Proposed Features
Technical Approach
- Add MQTT topic
farcom/enviro/history/7d for weekly aggregates
- Pi script publishes daily min/max/avg at midnight
- Dashboard fetches retained history messages on load
- Chart.js zoom plugin for time range selection
WordPress Constraints
- Zero blank lines (wpautop)
- No
&& operators (wptexturize)
- All tags in JS escaped as
\x3c/\x3e
- Base64 chunk deployment pipeline
Ref: #1 Roadmap β Features