Add Pico dashboard core state and alarm logic

This commit is contained in:
root
2026-06-03 02:33:32 -06:00
parent 503af6cd8c
commit 0d239361fd
5 changed files with 174 additions and 0 deletions
@@ -0,0 +1,13 @@
BATTERY_SOC_LOW = "battery_soc_low"
BATTERY_VOLTAGE_LOW = "battery_voltage_low"
FRIDGE_ZONE_1_HIGH = "fridge_zone_1_high"
FRIDGE_ZONE_2_HIGH = "fridge_zone_2_high"
SENSOR_FAILURE = "sensor_failure"
COMMUNICATION_LOST = "communication_lost"
DEFAULT_THRESHOLDS = {
"battery_soc_low": 20,
"battery_voltage_low": 12.0,
"fridge_temp_high": 40.0,
}