79 lines
2.6 KiB
JSON
79 lines
2.6 KiB
JSON
{
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Warning",
|
|
"Override": {
|
|
"System.Net.Http.HttpClient": "Warning",
|
|
"NordPoolManager": "Information",
|
|
"PowerMonitorManager": "Information",
|
|
"BoilerMonitorManager": "Information",
|
|
"ShowerMonitorManager": "Information",
|
|
"LightMonitorManager": "Information",
|
|
"BatteryMonitorManager": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"NetDaemon": {
|
|
"ApplicationConfigurationFolder": "./apps"
|
|
},
|
|
"CodeGeneration": {
|
|
"Namespace": "HomeAssistantGenerated",
|
|
"OutputFile": "HomeAssistantGenerated.cs",
|
|
"UseAttributeBaseClasses" : "false"
|
|
},
|
|
"NordPool": {
|
|
"CleanupEntitiesOnStartup": false
|
|
},
|
|
"BoilerMonitor": {
|
|
"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",
|
|
"PollIntervalSeconds": 1,
|
|
"SmoothingWindowSize": 10,
|
|
"AnomalyThresholdWatts": 500,
|
|
"ExcludedSensorPatterns": [
|
|
"sensor.nordpool_*",
|
|
"sensor.powermonitor_*"
|
|
]
|
|
}
|
|
}
|