dashboard: add temperature high alerts

This commit is contained in:
2026-06-11 00:53:28 -06:00
parent 417fad2676
commit 7033b8d7e9
8 changed files with 135 additions and 9 deletions
+10
View File
@@ -348,3 +348,13 @@ The Cargo ESP currently supports 4 temperature sensor slots.
Temperature sensor `group` values are free-form text in the WebUI. Entering a new group name effectively creates that group. The dashboard overview shows the first two available non-weather groups by priority. Multiple sensors in the same group are combined into one tile, such as `34°/45°`.
Sensors marked `weather: true` are excluded from the temperature card and shown in the top status strip as `OUT ##°`.
### Temperature High Alerts
Each temperature sensor supports optional high-temperature alerting:
- `high_alert_enabled`
- `high_alert_f`
- `high_alert`
When enabled and the live sensor temperature exceeds the configured threshold, the Cargo ESP includes `high_alert: true` for that sensor in `/api/v1/status`. The ESP32-S3 dashboard colors the affected grouped temperature tile red if any sensor in that displayed group is in alert.