1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
| 2026-11-22 07:34:52 debug: python pad:['/root/dao/prog', '/root', '/root/dao', '/root/dao/lib', '/root/dao/prog', '/usr/lib/python313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/root/dao/venv/day_ahead/lib/python3.13/site-packages']
2026-11-22 07:34:52 info: Day Ahead Optimalisering versie: 2026.11.0
2026-11-22 07:34:52 info: Day Ahead Optimalisering gestart op: 22-11-2026 07:34:52
2026-11-22 07:34:52 debug: Locatie: latitude 52.01789586139738 longitude: 4.3583106994628915
2026-11-22 07:34:52 info: Day Ahead Optimalisatie gestart: 22-11-2026 07:34:52 taak: train_ml_predictions
2026-11-22 07:34:52 debug: Connection status Pool size: 5 Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 703 in /root/dao/prog/da_base.py
2026-11-22 07:34:53 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:53 debug: http://192.168.1.7:8123 "GET /api/ HTTP/1.1" 200 26
2026-11-22 07:34:53 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:53 debug: http://192.168.1.7:8123 "GET /api/config HTTP/1.1" 200 2678
2026-11-22 07:34:53 debug: hass/api/config: {"allowlist_external_dirs":["/config/www","/media"],"allowlist_external_urls":[],"components":["usb","sun","tado_hijack.calendar","energy_meter.sensor","template.select","co2signal.sensor","marketplace","mqtt.binary_sensor","cover","afvalwijzer.sensor","tod.binary_sensor","proxmoxve.sensor","template_media_player.media_player","zwave_js.button","logger","web_rtc","datetime","humidifier","backup","smartthings.sensor","intent","zwave_js.lock","openweathermap","esphome.sensor","min_max.sensor","derivative.sensor","zwave_js.light","mqtt.climate","system_health","tibber.notify","smartthings.fan","tado_hijack.sensor","notify","smartthings.time","tibber","spook.event","automation","smartthings.water_heater","smartthings.vacuum","network","script","ical.calendar","schedule","google_generative_ai_conversation.ai_task","weather","blueprint","spook.select","battery","api","localtuya.sensor","spook.switch","template.switch","proxmoxve.update","assist_pipeline","spook.binary_sensor","config","samsungtv.remote","nederlandse_spoorwegen.binary_sensor","zwave_js.select","kleenex_pollenradar","wake_on_lan.switch","tado_local","motion","nederlandse_spoorwegen","sessy.time","mqtt.fan","gate","energy","sessy.button","forecast_solar","power","input_text","utility_meter.sensor","zwave_js.sensor","workday.binary_sensor","spotifyplus.media_player","sessy.sensor","integration.sensor","ping.sensor","smart_thermostat.climate","camera","smartthings.number","utility_meter_next_gen","mqtt.event","esphome.select","number","assist_satellite","unifi.device_tracker","utility_meter","radio_frequency","music_assistant.button","unifi.image","zwave_js.event","tibber.sensor","smartthings.event","scheduler","music_assistant.text","buienradar","cloud","history","spook.number","timer","file_upload","auto_backup.sensor","statistics.sensor","wake_word","esphome.switch","command_line","zwave_js.update","websocket_api","spotify.media_player","music_assistant","github","ibeacon","smartthings.cover","sun.sensor","filter.sensor","sensor","media_player","labs","history_stats.sensor","tuya.siren","mobile_app.binary_sensor","zwave_js.fan","spook.button","spook.sensor","nodered.button","cast.media_player","fan","tuya.number","air_quality","nodered","update","bermuda","sql","local_calendar","scene","kleenex_pollenradar.sensor","tuya.sensor","template.binary_sensor","tado_local.climate","solaredge_modbus.sensor","nodered.time","tado_hijack.number","cloud.tts","proxmoxve.binary_sensor","esphome","github.sensor","device_automation","tado_hijack.switch","http","group","adguard.switch","remote","smartthings.lock","climate","systemmonitor","humidity","localtuya.switch","binary_sensor","ical.sensor","afvalwijzer","tado_hijack","application_credentials","ping.device_tracker","solaredge_modbus.number","lawn_mower","cast","ping","conversation","zwave_js.humidifier","esphome.update","door","template.sensor","esphome.binary_sensor","esphome.number","counter","proxmoxve","adguard","buienalarm.sensor","tado_hijack.select","zwave_js.binary_sensor","esphome.camera","calendar","tuya.vacuum","plant","smartthings.binary_sensor","sessy","tuya.alarm_control_panel","nodered.number","smartthings","esphome.light","smartthings.update","image","tado_hijack.water_heater","esphome.cover","threshold.binary_sensor","my","lock","dsmr_reader","google_generative_ai_conversation.stt","private_ble_device","twinkly","mqtt.sensor","light","google_generative_ai_conversation.tts","buienalarm","zone","system_log","person","spook","water_heater","smartthings.valve","zwave_js.switch","image_upload","tado_local.text","mqtt.light","esphome.button","smart_thermostat","mqtt.text","brands","mobile_app.device_tracker","nodered.binary_sensor","generic_thermostat.climate","tuya.camera","webhook","integration","search","ibeacon.sensor","button","temperature","unifi.switch","statistics","device_tracker","spook.time","music_assistant.select","input_select","mpd","wake_on_lan","auth","version","unifi","trace","buienradar.sensor","zwave_js.siren","workday","frontend","workday.calendar","derivative","homeassistant.scene","time","tag","auto_backup.binary_sensor","utility_meter_next_gen.sensor","group.notify","onboarding","tuya.switch","mpd.media_player","zwave_js","moisture","illuminance","localtuya.number","music_assistant.number","spotifyplus","buienradar.camera","tado_hijack.binary_sensor","esphome.event","mqtt.switch","hassio.sensor","version.binary_sensor","proxmoxve.button","systemmonitor.binary_sensor","smartthings.select","zeroconf","nodered.select","mqtt.select","mobile_app.notify","stt","music_assistant.media_player","openweathermap.weather","energy.sensor","smartthings.media_player","solaredge_modbus.select","openweathermap.sensor","nederlandse_spoorwegen.sensor","bermuda.number","map_tiles","solaredgeoptimizers","afvalwijzer.calendar","smartthings.button","scheduler.switch","recorder","tod","smartthings.light","diagnostics","local_todo","tuya.event","dsmr_reader.sensor","smartthings.switch","utility_meter.select","garage_door","ffmpeg","buienradar.weather","adguard.sensor","tuya.scene","adguard.update","valve","forecast_solar.sensor","geo_location","local_calendar.calendar","auto_backup","music_assistant.switch","alarm_control_panel","sessy.binary_sensor","ping.binary_sensor","nodered.sensor","samsungtv_smart","image_processing","ibeacon.device_tracker","input_boolean","switch","esphome.time","vibration","tuya.humidifier","local_todo.todo","unifi.update","tuya","cloud.stt","switch_as_x","pvoutput","hassio.update","media_source","text","unifi.sensor","date","unifi.button","input_datetime","esphome.media_player","homeassistant","rest_command","marketplace.switch","threshold","spook.update","ai_task","occupancy","unifi.light","infrared","template","mqtt","google_generative_ai_conversation.conversation","sessy.select","co2signal","tado_hijack.button","tado_hijack.climate","tuya.cover","systemmonitor.sensor","tuya.valve","vacuum","samsungtv","bluetooth","marketplace.update","tuya.button","shell_command","google_generative_ai_conversation","repairs","tuya.select","llm","cloud.binary_sensor","tado_local.sensor","smartthings.climate","zwave_js.climate","energy_meter","bermuda.device_tracker","universal.media_player","bluetooth_adapters","window","select","auto_backup.button","tuya.fan","mobile_app","input_button","backup.event","sessy.switch","hassio.switch","ssdp","tuya.binary_sensor","sessy.update","unifi_discovery","siren","solaredgeoptimizers.sensor","spotify","input_number","smartthings.scene","tibber.binary_sensor","sun.binary_sensor","event","mqtt.number","zwave_js.cover","tts","lovelace","sessy.number","esphome.text","hardware","persistent_notification","ical","panel_custom","nodered.text","analytics","localtuya","tuya.climate","samsungtv.media_player","tuya.light","todo","logbook","rest","mobile_app.sensor","hassio","solaredge_modbus","version.sensor","sql.sensor","hassio.binary_sensor","bermuda.sensor","rest.sensor","samsungtv_smart.remote","group.light","backup.sensor","min_max","time_date.sensor","samsungtv_smart.media_player","zwave_js.number","nodered.switch","command_line.sensor","switch_as_x.light"],"config_dir":"/config","config_source":"storage","country":"NL","currency":"EUR","debug":false,"elevation":0,"external_url":null,"internal_url":null,"language":"en","latitude":52.01789586139738,"location_name":"Home","logging":{"log_file_disabled_reason":null},"longitude":4.3583106994628915,"radius":100,"recovery_mode":false,"safe_mode":false,"state":"RUNNING","time_zone":"Europe/Amsterdam","unit_system":{"length":"km","accumulated_precipitation":"mm","area":"m²","mass":"g","pressure":"Pa","temperature":"°C","volume":"L","wind_speed":"m/s"},"version":"2026.11.1","whitelist_external_dirs":["/config/www","/media"]}
2026-11-22 07:34:53 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:53 debug: http://192.168.1.7:8123 "GET /api/states/input_select.dao_strategy HTTP/1.1" 200 429
2026-11-22 07:34:53 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:53 debug: http://192.168.1.7:8123 "POST /api/services/input_datetime/set_datetime HTTP/1.1" 200 528
2026-11-22 07:34:53 debug: Connection status Pool size: 5 Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 239 in /root/dao/prog/da_base.py
2026-11-22 07:34:53 info: KNMI-weerstation: 344 ROTTERDAM
2026-11-22 07:34:53 info: Er zijn knmi-data aanwezig vanaf 2023-01-28 01:00:00 tot 2026-11-19 02:00:00
2026-11-22 07:34:53 debug: Starting new HTTPS connection (1): www.daggegevens.knmi.nl:443
2026-11-22 07:34:54 debug: https://www.daggegevens.knmi.nl:443 "POST /klimatologie/uurgegevens HTTP/1.1" 200 None
2026-11-22 07:34:54 info: Er zijn data van het KNMI binnengekomen vanaf 2026-11-18 01:00:00+01:00 tot en met 2026-11-19 06:00:00+01:00
2026-11-22 07:34:54 debug: Opslaan dataframe:
time code value
0 1794963600 temp 10.7
1 1794963600 gr 0.0
2 1794963600 winds 9.0
3 1794967200 temp 10.8
4 1794967200 gr 0.0
5 1794967200 winds 9.0
6 1794970800 temp 10.9
7 1794970800 gr 0.0
8 1794970800 winds 8.0
9 1794974400 temp 9.7
10 1794974400 gr 0.0
11 1794974400 winds 7.0
12 1794978000 temp 10.3
13 1794978000 gr 0.0
14 1794978000 winds 7.0
15 1794981600 temp 10.2
16 1794981600 gr 0.0
17 1794981600 winds 6.0
18 1795050000 temp 9.1
19 1795050000 gr 0.0
20 1795050000 winds 3.0
21 1795053600 temp 9.0
22 1795053600 gr 0.0
23 1795053600 winds 3.0
24 1795057200 temp 9.1
25 1795057200 gr 0.0
26 1795057200 winds 3.0
27 1795060800 temp 8.9
28 1795060800 gr 0.0
29 1795060800 winds 3.0
30 1795064400 temp 9.4
31 1795064400 gr 0.0
32 1795064400 winds 3.0
33 1795068000 temp 10.0
34 1795068000 gr 0.0
35 1795068000 winds 6.0
2026-11-22 07:34:54 debug: Connection status Pool size: 5 Connections in pool: 0 Current Overflow: -4 Current Checked out connections: 1 at line 242 in /root/dao/lib/db_manager.py
2026-11-22 07:34:54 debug: Save record: temp 1794963600 10.7
2026-11-22 07:34:54 debug: Save record: gr 1794963600 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794963600 9.0
2026-11-22 07:34:54 debug: Save record: temp 1794967200 10.8
2026-11-22 07:34:54 debug: Save record: gr 1794967200 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794967200 9.0
2026-11-22 07:34:54 debug: Save record: temp 1794970800 10.9
2026-11-22 07:34:54 debug: Save record: gr 1794970800 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794970800 8.0
2026-11-22 07:34:54 debug: Save record: temp 1794974400 9.7
2026-11-22 07:34:54 debug: Save record: gr 1794974400 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794974400 7.0
2026-11-22 07:34:54 debug: Save record: temp 1794978000 10.3
2026-11-22 07:34:54 debug: Save record: gr 1794978000 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794978000 7.0
2026-11-22 07:34:54 debug: Save record: temp 1794981600 10.2
2026-11-22 07:34:54 debug: Save record: gr 1794981600 0.0
2026-11-22 07:34:54 debug: Save record: winds 1794981600 6.0
2026-11-22 07:34:54 debug: Save record: temp 1795050000 9.1
2026-11-22 07:34:54 debug: Save record: gr 1795050000 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795050000 3.0
2026-11-22 07:34:54 debug: Save record: temp 1795053600 9.0
2026-11-22 07:34:54 debug: Save record: gr 1795053600 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795053600 3.0
2026-11-22 07:34:54 debug: Save record: temp 1795057200 9.1
2026-11-22 07:34:54 debug: Save record: gr 1795057200 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795057200 3.0
2026-11-22 07:34:54 debug: Save record: temp 1795060800 8.9
2026-11-22 07:34:54 debug: Save record: gr 1795060800 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795060800 3.0
2026-11-22 07:34:54 debug: Save record: temp 1795064400 9.4
2026-11-22 07:34:54 debug: Save record: gr 1795064400 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795064400 3.0
2026-11-22 07:34:54 debug: Save record: temp 1795068000 10.0
2026-11-22 07:34:54 debug: Save record: gr 1795068000 0.0
2026-11-22 07:34:54 debug: Save record: winds 1795068000 6.0
2026-11-22 07:34:54 debug: Connection status Pool size: 5 Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 311 in /root/dao/lib/db_manager.py
2026-11-22 07:34:54 debug: query get column data da:
SELECT strftime(?, datetime("values".time, ?, ?)) AS uur, "values".time AS time, "values".time AS utc, "values".value AS value
FROM "values", variabel
WHERE variabel.code = ? AND "values".variabel = variabel.id AND "values".time >= strftime(?, ?, ?) AND "values".time < strftime(?, ?, ?) ORDER BY time
2026-11-22 07:34:54 debug: query get column data da:
SELECT strftime(?, datetime("values".time, ?, ?)) AS uur, "values".time AS time, "values".time AS utc, "values".value AS value
FROM "values", variabel
WHERE variabel.code = ? AND "values".variabel = variabel.id AND "values".time >= strftime(?, ?, ?) AND "values".time < strftime(?, ?, ?) ORDER BY time
2026-11-22 07:34:54 debug: query get column data da:
SELECT strftime(?, datetime("values".time, ?, ?)) AS uur, "values".time AS time, "values".time AS utc, "values".value AS value
FROM "values", variabel
WHERE variabel.code = ? AND "values".variabel = variabel.id AND "values".time >= strftime(?, ?, ?) AND "values".time < strftime(?, ?, ?) ORDER BY time
2026-11-22 07:34:54 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:54 debug: http://192.168.1.7:8123 "GET /api/ HTTP/1.1" 200 26
2026-11-22 07:34:54 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:54 debug: http://192.168.1.7:8123 "GET /api/config HTTP/1.1" 200 2678
2026-11-22 07:34:54 debug: hass/api/config: {"allowlist_external_dirs":["/config/www","/media"],"allowlist_external_urls":[],"components":["usb","sun","tado_hijack.calendar","energy_meter.sensor","template.select","co2signal.sensor","marketplace","mqtt.binary_sensor","cover","afvalwijzer.sensor","tod.binary_sensor","proxmoxve.sensor","template_media_player.media_player","zwave_js.button","logger","web_rtc","datetime","humidifier","backup","smartthings.sensor","intent","zwave_js.lock","openweathermap","esphome.sensor","min_max.sensor","derivative.sensor","zwave_js.light","mqtt.climate","system_health","tibber.notify","smartthings.fan","tado_hijack.sensor","notify","smartthings.time","tibber","spook.event","automation","smartthings.water_heater","smartthings.vacuum","network","script","ical.calendar","schedule","google_generative_ai_conversation.ai_task","weather","blueprint","spook.select","battery","api","localtuya.sensor","spook.switch","template.switch","proxmoxve.update","assist_pipeline","spook.binary_sensor","config","samsungtv.remote","nederlandse_spoorwegen.binary_sensor","zwave_js.select","kleenex_pollenradar","wake_on_lan.switch","tado_local","motion","nederlandse_spoorwegen","sessy.time","mqtt.fan","gate","energy","sessy.button","forecast_solar","power","input_text","utility_meter.sensor","zwave_js.sensor","workday.binary_sensor","spotifyplus.media_player","sessy.sensor","integration.sensor","ping.sensor","smart_thermostat.climate","camera","smartthings.number","utility_meter_next_gen","mqtt.event","esphome.select","number","assist_satellite","unifi.device_tracker","utility_meter","radio_frequency","music_assistant.button","unifi.image","zwave_js.event","tibber.sensor","smartthings.event","scheduler","music_assistant.text","buienradar","cloud","history","spook.number","timer","file_upload","auto_backup.sensor","statistics.sensor","wake_word","esphome.switch","command_line","zwave_js.update","websocket_api","spotify.media_player","music_assistant","github","ibeacon","smartthings.cover","sun.sensor","filter.sensor","sensor","media_player","labs","history_stats.sensor","tuya.siren","mobile_app.binary_sensor","zwave_js.fan","spook.button","spook.sensor","nodered.button","cast.media_player","fan","tuya.number","air_quality","nodered","update","bermuda","sql","local_calendar","scene","kleenex_pollenradar.sensor","tuya.sensor","template.binary_sensor","tado_local.climate","solaredge_modbus.sensor","nodered.time","tado_hijack.number","cloud.tts","proxmoxve.binary_sensor","esphome","github.sensor","device_automation","tado_hijack.switch","http","group","adguard.switch","remote","smartthings.lock","climate","systemmonitor","humidity","localtuya.switch","binary_sensor","ical.sensor","afvalwijzer","tado_hijack","application_credentials","ping.device_tracker","solaredge_modbus.number","lawn_mower","cast","ping","conversation","zwave_js.humidifier","esphome.update","door","template.sensor","esphome.binary_sensor","esphome.number","counter","proxmoxve","adguard","buienalarm.sensor","tado_hijack.select","zwave_js.binary_sensor","esphome.camera","calendar","tuya.vacuum","plant","smartthings.binary_sensor","sessy","tuya.alarm_control_panel","nodered.number","smartthings","esphome.light","smartthings.update","image","tado_hijack.water_heater","esphome.cover","threshold.binary_sensor","my","lock","dsmr_reader","google_generative_ai_conversation.stt","private_ble_device","twinkly","mqtt.sensor","light","google_generative_ai_conversation.tts","buienalarm","zone","system_log","person","spook","water_heater","smartthings.valve","zwave_js.switch","image_upload","tado_local.text","mqtt.light","esphome.button","smart_thermostat","mqtt.text","brands","mobile_app.device_tracker","nodered.binary_sensor","generic_thermostat.climate","tuya.camera","webhook","integration","search","ibeacon.sensor","button","temperature","unifi.switch","statistics","device_tracker","spook.time","music_assistant.select","input_select","mpd","wake_on_lan","auth","version","unifi","trace","buienradar.sensor","zwave_js.siren","workday","frontend","workday.calendar","derivative","homeassistant.scene","time","tag","auto_backup.binary_sensor","utility_meter_next_gen.sensor","group.notify","onboarding","tuya.switch","mpd.media_player","zwave_js","moisture","illuminance","localtuya.number","music_assistant.number","spotifyplus","buienradar.camera","tado_hijack.binary_sensor","esphome.event","mqtt.switch","hassio.sensor","version.binary_sensor","proxmoxve.button","systemmonitor.binary_sensor","smartthings.select","zeroconf","nodered.select","mqtt.select","mobile_app.notify","stt","music_assistant.media_player","openweathermap.weather","energy.sensor","smartthings.media_player","solaredge_modbus.select","openweathermap.sensor","nederlandse_spoorwegen.sensor","bermuda.number","map_tiles","solaredgeoptimizers","afvalwijzer.calendar","smartthings.button","scheduler.switch","recorder","tod","smartthings.light","diagnostics","local_todo","tuya.event","dsmr_reader.sensor","smartthings.switch","utility_meter.select","garage_door","ffmpeg","buienradar.weather","adguard.sensor","tuya.scene","adguard.update","valve","forecast_solar.sensor","geo_location","local_calendar.calendar","auto_backup","music_assistant.switch","alarm_control_panel","sessy.binary_sensor","ping.binary_sensor","nodered.sensor","samsungtv_smart","image_processing","ibeacon.device_tracker","input_boolean","switch","esphome.time","vibration","tuya.humidifier","local_todo.todo","unifi.update","tuya","cloud.stt","switch_as_x","pvoutput","hassio.update","media_source","text","unifi.sensor","date","unifi.button","input_datetime","esphome.media_player","homeassistant","rest_command","marketplace.switch","threshold","spook.update","ai_task","occupancy","unifi.light","infrared","template","mqtt","google_generative_ai_conversation.conversation","sessy.select","co2signal","tado_hijack.button","tado_hijack.climate","tuya.cover","systemmonitor.sensor","tuya.valve","vacuum","samsungtv","bluetooth","marketplace.update","tuya.button","shell_command","google_generative_ai_conversation","repairs","tuya.select","llm","cloud.binary_sensor","tado_local.sensor","smartthings.climate","zwave_js.climate","energy_meter","bermuda.device_tracker","universal.media_player","bluetooth_adapters","window","select","auto_backup.button","tuya.fan","mobile_app","input_button","backup.event","sessy.switch","hassio.switch","ssdp","tuya.binary_sensor","sessy.update","unifi_discovery","siren","solaredgeoptimizers.sensor","spotify","input_number","smartthings.scene","tibber.binary_sensor","sun.binary_sensor","event","mqtt.number","zwave_js.cover","tts","lovelace","sessy.number","esphome.text","hardware","persistent_notification","ical","panel_custom","nodered.text","analytics","localtuya","tuya.climate","samsungtv.media_player","tuya.light","todo","logbook","rest","mobile_app.sensor","hassio","solaredge_modbus","version.sensor","sql.sensor","hassio.binary_sensor","bermuda.sensor","rest.sensor","samsungtv_smart.remote","group.light","backup.sensor","min_max","time_date.sensor","samsungtv_smart.media_player","zwave_js.number","nodered.switch","command_line.sensor","switch_as_x.light"],"config_dir":"/config","config_source":"storage","country":"NL","currency":"EUR","debug":false,"elevation":0,"external_url":null,"internal_url":null,"language":"en","latitude":52.01789586139738,"location_name":"Home","logging":{"log_file_disabled_reason":null},"longitude":4.3583106994628915,"radius":100,"recovery_mode":false,"safe_mode":false,"state":"RUNNING","time_zone":"Europe/Amsterdam","unit_system":{"length":"km","accumulated_precipitation":"mm","area":"m²","mass":"g","pressure":"Pa","temperature":"°C","volume":"L","wind_speed":"m/s"},"version":"2026.11.1","whitelist_external_dirs":["/config/www","/media"]}
2026-11-22 07:34:54 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:54 debug: http://192.168.1.7:8123 "GET /api/states/input_select.dao_strategy HTTP/1.1" 200 429
2026-11-22 07:34:54 debug: Starting new HTTP connection (1): 192.168.1.7:8123
2026-11-22 07:34:54 debug: http://192.168.1.7:8123 "POST /api/services/input_datetime/set_datetime HTTP/1.1" 200 528
2026-11-22 07:34:54 debug: Connection status Pool size: 5 Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 239 in /root/dao/prog/da_base.py
2026-11-22 07:34:54 debug: query get sensor data:
SELECT to_char(to_timestamp(t2.start_ts), %(to_char_1)s) AS uur, to_char(to_timestamp(t2.start_ts), %(to_char_2)s) AS tijd, to_char(to_timestamp(t2.start_ts), %(to_char_3)s) AS tot, t2.start_ts AS utc, CASE WHEN (t2.state > t1.state) THEN t2.state - t1.state ELSE %(param_1)s END AS solar_kwh, v1.unit_of_measurement AS dim
FROM statistics AS t1 JOIN statistics AS t2 ON t2.start_ts = t1.start_ts + %(start_ts_1)s JOIN statistics_meta AS v1 ON v1.id = t1.metadata_id AND v1.id = t2.metadata_id
WHERE v1.statistic_id = %(statistic_id_1)s AND t1.state IS NOT NULL AND t2.state IS NOT NULL AND t1.start_ts >= EXTRACT(epoch FROM to_timestamp(%(to_timestamp_1)s, %(to_timestamp_2)s)) - %(param_2)s AND t1.start_ts < EXTRACT(epoch FROM to_timestamp(%(to_timestamp_3)s, %(to_timestamp_4)s)) - %(param_3)s |