forked from pimoroni/enviroplus-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
π 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
- 7-day / 30-day history β extend SQLite queries via new MQTT topic
- Multi-sensor overlay charts β compare temp vs humidity, PM vs wind
- CSV/JSON export β download historical data for analysis
- Min/Max/Avg daily summary cards β aggregated daily stats
- Air Quality Index (AQI) β calculated from PM2.5 using EPA formula
- Trend arrows β visual indicator of rising/falling values
- Responsive mobile layout β optimized for phone screens
- PWA support β installable web app with offline indicator
Technical Approach
- Add MQTT topic
farcom/enviro/history/7dfor 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels