Add Pico dashboard core state and alarm logic
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user