feat: add BatteryMonitor implementation with discovery, notification, and scheduling services
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
"System.Net.Http.HttpClient": "Warning",
|
||||
"NordPoolManager": "Information",
|
||||
"PowerMonitorManager": "Information",
|
||||
"BoilerMonitorManager": "Information"
|
||||
"BoilerMonitorManager": "Information",
|
||||
"ShowerMonitorManager": "Information",
|
||||
"LightMonitorManager": "Information",
|
||||
"BatteryMonitorManager": "Information"
|
||||
}
|
||||
},
|
||||
"WriteTo": [
|
||||
@@ -34,6 +37,33 @@
|
||||
"Enabled": true,
|
||||
"CleanupEntitiesOnStartup": false
|
||||
},
|
||||
"ShowerMonitor": {
|
||||
"Enabled": true,
|
||||
"CleanupEntitiesOnStartup": false,
|
||||
"BathroomHumidityEntityId": "sensor.bathroom_humidity",
|
||||
"MainHomeHumidityEntityId": "sensor.main_home_humidity",
|
||||
"BathroomTemperatureEntityId": "sensor.bathroom_temperature",
|
||||
"ExhaustFanEntityId": "switch.exhaust_fan",
|
||||
"PollIntervalSeconds": 30,
|
||||
"SpikeRateThreshold": 4.0,
|
||||
"MinDifferentialHumidity": 8.0,
|
||||
"PeakHumidityThreshold": 58.0,
|
||||
"ConfirmationWindowMinutes": 2,
|
||||
"RecoveryDifferentialThreshold": 5.0,
|
||||
"MaxShowerDurationMinutes": 60,
|
||||
"FanRunAfterShowerMinutes": 10,
|
||||
"RateWindowSize": 5
|
||||
},
|
||||
"LightMonitor": {
|
||||
"Enabled": true,
|
||||
"LightEntityId": "light.sonoff_1002214d40",
|
||||
"SunEntityId": "sun.sun",
|
||||
"PersonEntityIds": ["person.marius", "person.erika", "person.home_phone"]
|
||||
},
|
||||
"BatteryMonitor": {
|
||||
"Enabled": true,
|
||||
"BatteryThresholdPercent": 5
|
||||
},
|
||||
"PowerMonitor": {
|
||||
"Enabled": false,
|
||||
"MainMeterEntityId": "sensor.sonoff_100267d63f_power",
|
||||
|
||||
Reference in New Issue
Block a user