PieAr schreef op zaterdag 20 juni 2026 @ 14:54:
Bedankt voor de Dao, hij doet al een paar weken precies wat ik ervan verwacht. Alleen heb ik last van een BMS die de maximale ontlaadtstroom knijpt als de SOC onder de 20% zakt. Heeft iemand daar al een oplossing voor bedacht? Nu werkt de DAO dus niet optimaal omdat deze denkt altijd met 12kw te kunnen ontladen maar bij SOC 19% nog maar 7kw en bij SOC 9% nog maar 4kw. Zit in de batterij en niet in de omvormer en via HA kan ik alleen de omvormer aansturen. De kwartierprijzen zaten er nog niet helemaal goed in want de DOA draaide wel nog per uur. Dat was simpel op te lossen in de config bij de scheduler. Nu gaat dat goed.

Bij een hoge SOC, boven de 95%, wordt het trouwens ook verlaagd...
Heb je dit al gelezen:
https://github.com/cornee...-reduce-power-lowhigh-soc

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • diamanten
  • Registratie: Juli 2024
  • Laatst online: 18:19
Vanochtend zag ik deze fout in de DAO-log over een SSL certificaat van www.daggegevens.knmi.nl:
code:
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-06-21 09:05:00 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-21 09:05:00 info: Day Ahead Optimalisering gestart op: 21-06-2026 09:05:00
2026-06-21 09:05:00 info: Day Ahead Optimalisatie gestart: 21-06-2026 09:05:00 taak: train_ml_predictions
2026-06-21 09:05:00 info: KNMI-weerstation: XXX YYYY
2026-06-21 09:05:00 info: Er zijn knmi-data aanwezig vanaf 2023-01-17 01:00:00 tot 2026-06-19 01:00:00
2026-06-21 09:05:00 fout: Er is een fout opgetreden, zie de fout-tracering
Traceback (most recent call last):
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connectionpool.py", line 464, in _make_request
    self._validate_conn(conn)
    ~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connectionpool.py", line 1106, in _validate_conn
    conn.connect()
    ~~~~~~~~~~~~^^
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connection.py", line 796, in connect
    sock_and_verified = _ssl_wrap_socket_and_match_hostname(
        sock=sock,
    ...<14 lines>...
        assert_fingerprint=self.assert_fingerprint,
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connection.py", line 975, in _ssl_wrap_socket_and_match_hostname
    ssl_sock = ssl_wrap_socket(
        sock=sock,
    ...<8 lines>...
        tls_in_tls=tls_in_tls,
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/util/ssl_.py", line 433, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/util/ssl_.py", line 477, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        sock=sock,
        ^^^^^^^^^^
    ...<5 lines>...
        session=session
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/ssl.py", line 1076, in _create
    self.do_handshake()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/ssl.py", line 1372, in do_handshake
    self._sslobj.do_handshake()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.daggegevens.knmi.nl'. (_ssl.c:1029)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connectionpool.py", line 788, in urlopen
    response = self._make_request(
        conn,
    ...<10 lines>...
        **response_kw,
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connectionpool.py", line 488, in _make_request
    raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.daggegevens.knmi.nl'. (_ssl.c:1029)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/adapters.py", line 696, in send
    resp = conn.urlopen(
        method=request.method,
    ...<9 lines>...
        chunked=chunked,
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/connectionpool.py", line 842, in urlopen
    retries = retries.increment(
        method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/urllib3/util/retry.py", line 543, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.daggegevens.knmi.nl', port=443): Max retries exceeded with url: /klimatologie/uurgegevens (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.daggegevens.knmi.nl'. (_ssl.c:1029)")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/dao/prog/da_base.py", line 696, in run_task_function
    getattr(self, run_task["function"])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/root/dao/prog/da_base.py", line 646, in train_ml_predictions
    solar_predictor.run_train()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/root/dao/prog/solar_predictor.py", line 992, in run_train
    weather_data = self.get_weatherdata(start=start)
  File "/root/dao/prog/solar_predictor.py", line 899, in get_weatherdata
    self.import_knmi_df(start, end)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/root/dao/prog/solar_predictor.py", line 876, in import_knmi_df
    self.get_and_save_knmi_data(latest_dt, end)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/root/dao/prog/solar_predictor.py", line 792, in get_and_save_knmi_data
    knmi_df = knmi.get_hour_data_dataframe(
        [self.knmi_station],
    ...<2 lines>...
        variables=variables,
    )
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/knmi/knmi.py", line 193, in get_hour_data_dataframe
    disclaimer, stations, legend, data = get_hour_data_raw(
                                         ~~~~~~~~~~~~~~~~~^
        stations=stations, start=start, end=end, inseason=inseason, variables=variables
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/knmi/knmi.py", line 184, in get_hour_data_raw
    r = requests.post(url=url, data=params)
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/api.py", line 134, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/api.py", line 71, in request
    return session.request(method=method, url=url, **kwargs)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/sessions.py", line 651, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/sessions.py", line 784, in send
    r = adapter.send(request, **kwargs)
  File "/root/dao/venv/day_ahead/lib/python3.13/site-packages/requests/adapters.py", line 727, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.daggegevens.knmi.nl', port=443): Max retries exceeded with url: /klimatologie/uurgegevens (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.daggegevens.knmi.nl'. (_ssl.c:1029)")))
Wat is de impact hiervan op de optimalisaties?

  • thomvh
  • Registratie: September 2013
  • Laatst online: 19:30
PieAr schreef op zaterdag 20 juni 2026 @ 14:54:
Bedankt voor de Dao, hij doet al een paar weken precies wat ik ervan verwacht. Alleen heb ik last van een BMS die de maximale ontlaadtstroom knijpt als de SOC onder de 20% zakt. Heeft iemand daar al een oplossing voor bedacht? Nu werkt de DAO dus niet optimaal omdat deze denkt altijd met 12kw te kunnen ontladen maar bij SOC 19% nog maar 7kw en bij SOC 9% nog maar 4kw. Zit in de batterij en niet in de omvormer en via HA kan ik alleen de omvormer aansturen. De kwartierprijzen zaten er nog niet helemaal goed in want de DOA draaide wel nog per uur. Dat was simpel op te lossen in de config bij de scheduler. Nu gaat dat goed.

Bij een hoge SOC, boven de 95%, wordt het trouwens ook verlaagd...
Kun je dat niet extrapoleren door de efficiency omlaag te zetten onder de 20?

  • ljsquare
  • Registratie: April 2006
  • Laatst online: 21:09
Sinds de afgelopen 24u geeft DAO de opmerking dat hij geen oplossing kan vinden voor minimize costs. Ook niet als ik een apparaat (droger) instel om binnen een tijdsvenster ingezet te worden.
Ook heb ik de maximale gap zowel verhoogd als verlaagd, dit maakte ook niet uit

Dit is mijn config:
{
"config_version": 2,
"homeassistant": {
"ip_address": "supervisor",
"protocol_api": "http"
},
"database_ha": {
"engine": "sqlite",
"db_path": "/homeassistant",
"database": "home-assistant_v2.db"
},
"database_da": {
"engine": "sqlite",
"db_path": "../data",
"database": "day_ahead.db"
},
"meteoserver_key": "!secret meteoserver-key",
"meteoserver_model": "harmonie",
"meteoserver_attemps": 2,
"prices": {
"source_day_ahead": "nordpool",
"energy_taxes_consumption": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.1088,
"2025-01-01": 0.10154,
"2025-07-01": 0.12286,
"2026-01-01": 0.09239
},
"energy_taxes_production": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.1088,
"2025-01-01": 0.10154,
"2025-07-01": 0.12286,
"2026-01-01": 0.09239
},
"cost_supplier_consumption": {
"2022-01-01": 0.002,
"2023-03-01": 0.018,
"2024-04-01": 0.0175,
"2024-08-01": 0.020496,
"2025-07-01": 0.01815
},
"cost_supplier_production": {
"2022-01-01": 0.002,
"2023-03-01": 0.018,
"2024-04-01": 0.0175,
"2024-08-01": 0.020496,
"2025-07-01": -0.03509
},
"vat_consumption": {
"2022-01-01": 21.0,
"2022-07-01": 9.0,
"2023-01-01": 21.0
},
"vat_production": {
"2022-01-01": 21.0,
"2022-07-01": 9.0,
"2023-01-01": 21.0
},
"multiplier_consumption": {
"2000-01-01": 1.0
},
"multiplier_production": {
"2000-01-01": 1.0
},
"last_invoice": "2026-05-20",
"tax_refund": false,
"regular high": 0.5,
"regular low": 0.4,
"switch to low": 23
},
"logging_level": "info",
"use_calc_baseload": true,
"baseload_calc_periode": 56,
"baseload": [
0.23,
0.876,
0.285,
1.066,
0.38,
0.312,
0.294,
0.35,
0.252,
0.294,
0.178,
0.774,
0.901,
1.217,
1.146,
0.758,
0.301,
0.426,
0.466,
0.46,
0.457,
0.216,
0.225,
0.32
],
"graphical_backend": "",
"graphics": {
"style": "default",
"battery_balance": true,
"prices_consumption": true,
"prices_production": true,
"prices_spot": false,
"average_consumption": true,
"show": "False"
},
"interval": "15min",
"strategy": "minimize cost",
"max_gap": 0.005,
"notifications": {
"notification_entity": "input_text.dao_notification",
"opstarten": true,
"berekening": true
},
"grid": {
"max_power": 17.0,
"entity_balance_switch": "input_boolean.dao_balanceer_grid"
},
"history": {
"save_days": 30
},
"dashboard": {
"port": 5000
},
"battery": [
{
"name": "Indevolt",
"entity_actual_level": "sensor.indevolt_cms_sf2000_battery_soc",
"capacity": 6.0,
"upper_limit": 100,
"lower_limit": 10,
"optimal_lower_level": 10,
"penalty_low_soc": 0.0025,
"entity_min_soc_end_opt": "input_number.dao_min_soc_end_opt",
"entity_max_soc_end_opt": "input_number.dao_max_soc_end_opt",
"charge_stages": [
{
"power": 0.0,
"efficiency": 1.0
},
{
"power": 2400.0,
"efficiency": 0.8
}
],
"discharge_stages": [
{
"power": 0.0,
"efficiency": 1.0
},
{
"power": 1000.0,
"efficiency": 0.8
}
],
"reduce_power_low_soc": [],
"reduce_power_high_soc": [],
"minimum_power": 100,
"dc_to_bat_efficiency": 1.0,
"dc_to_bat_max_power": 2400.0,
"bat_to_dc_efficiency": 1.0,
"bat_to_dc_max_power": 2400.0,
"cycle_cost": 0.0,
"entity_set_power_feedin": "input_number.dao_feedin_grid",
"entity_set_operating_mode": "input_select.dao_operating_mode",
"entity_set_operating_mode_on": "Aan",
"entity_set_operating_mode_off": "Uit",
"entity_stop_inverter": "input_datetime.dao_stop_battery",
"entity_calculated_soc": "input_number.dao_calculated_soc",
"solar": [],
"cycle cost calculated": 0.03125
}
],
"solar": [
{
"name": "pv schuur",
"entity_pv_switch": "switch.zonnepanelen_schuurtje_switch_1",
"tilt": 25.0,
"orientation": -80.0,
"capacity": 0.92,
"yield_factor": 0.0011625,
"strings": [],
"ml_prediction": true,
"ml_training_start_date": "2000-01-01",
"entities_sensors": [
"sensor.zonnepanelen_opbrengst"
]
},
{
"name": "pv enphase",
"entity_pv_switch": "switch.enphase_aan_uit",
"tilt": 10.0,
"orientation": -80.0,
"capacity": 3.0,
"yield_factor": 0.0095,
"strings": [],
"ml_prediction": true,
"ml_training_start_date": "2000-01-01",
"entities_sensors": [
"sensor.envoy_122301002892_energy_production_today"
]
}
],
"electric_vehicle": [],
"machines": [
{
"name": "Vaatwasser",
"programs": [
{
"name": "off",
"power": []
},
{
"name": "eco",
"power": [
7.0,
400.0,
1300.0,
350.0,
35.0,
40.0,
50.0,
20.0,
1150.0,
20.0,
15.0
]
}
],
"entity_start_window": "input_datetime.start_window_vaatwasser",
"entity_end_window": "input_datetime.end_window_vaatwasser",
"entity_selected_program": "input_select.program_vaatwasser",
"entity_calculated_start": "input_datetime.calculated_start_vaatwasser",
"entity_calculated_end": "input_datetime.calculated_stop_vaatwasser",
"entity_instant_start": "input_boolean.instant_start_vaatwasser"
},
{
"name": "Wasmachine",
"programs": [
{
"name": "off",
"power": []
},
{
"name": "eco",
"power": [
20.0,
70.0,
2000.0,
70.0,
80.0,
80.0,
80.0,
80.0,
80.0,
80.0
]
},
{
"name": "katoen",
"power": [
150.0,
2100.0,
2100.0,
2100.0,
15.0,
80.0,
80.0,
100.0,
100.0
]
}
],
"entity_start_window": "input_datetime.start_window_wasmachine",
"entity_end_window": "input_datetime.end_window_wasmachine",
"entity_selected_program": "input_select.program_wasmachine",
"entity_calculated_start": "input_datetime.calculated_start_wasmachine",
"entity_calculated_end": "input_datetime.calculated_stop_wasmachine",
"entity_instant_start": "input_boolean.instant_start_wasmachine"
},
{
"name": "Droger",
"programs": [
{
"name": "off",
"power": []
},
{
"name": "katoen",
"power": [
300.0,
300.0,
300.0,
480.0,
420.0,
420.0,
420.0,
420.0,
420.0,
375.0,
320.0,
400.0,
400.0,
400.0,
400.0,
100.0,
15.0,
15.0,
15.0,
15.0
]
}
],
"entity_start_window": "input_datetime.start_window_droger",
"entity_end_window": "input_datetime.end_window_droger",
"entity_selected_program": "input_select.program_droger",
"entity_calculated_start": "input_datetime.calculated_start_droger",
"entity_calculated_end": "input_datetime.calculated_stop_droger",
"entity_instant_start": "input_boolean.instant_start_droger"
},
{
"name": "Cooker",
"programs": [
{
"name": "off",
"power": []
},
{
"name": "on",
"power": [
2200.0,
0.0,
2100.0,
0.0,
0.0,
2100.0,
0.0,
0.0,
2100.0,
0.0
]
}
],
"entity_start_window": "input_datetime.start_window_cooker",
"entity_end_window": "input_datetime.end_window_cooker",
"entity_selected_program": "input_select.program_cooker",
"entity_calculated_start": "input_datetime.calculated_start_cooker",
"entity_calculated_end": "input_datetime.calculated_stop_cooker",
"entity_instant_start": "input_boolean.instant_start_cooker"
}
],

"xgboost": {
"tune_hyperparameters": true
},
"report": {
"entities_grid_consumption": [
"sensor.electricity_meter_energieverbruik_tarief_2",
"sensor.electricity_meter_energieverbruik_tarief_1"
],
"entities_grid_production": [
"sensor.electricity_meter_energieproductie_tarief_2",
"sensor.electricity_meter_energieproductie_tarief_1"
],
"entities_solar_production_ac": [
"sensor.zonnepanelen_opbrengst",
"sensor.envoy_122301002892_energy_production_today"
],
"entities_solar_production_dc": [],
"entities_ev_consumption": [],
"entities_wp_consumption": [],
"entities_boiler_consumption": [],
"entities_battery_consumption": [
"sensor.indevolt_cms_sf2000_battery_total_charging_energy"
],
"entities_battery_production": [
"sensor.indevolt_cms_sf2000_battery_total_discharging_energy"
],
"entities_machine_consumption": [],
"entity co2-intensity": [
"sensor.co2_intensity"
]
},
"scheduler": {
"active": true,
"schedule": [
{
"time": "0431",
"action": "get_meteo_data"
},
{
"time": "1031",
"action": "get_meteo_data"
},
{
"time": "1131",
"action": "calc_baseloads"
},
{
"time": "1211",
"action": "train_ml_predictions"
},
{
"time": "1255",
"action": "get_day_ahead_prices"
},
{
"time": "1355",
"action": "get_day_ahead_prices"
},
{
"time": "1455",
"action": "get_day_ahead_prices"
},
{
"time": "1554",
"action": "get_day_ahead_prices"
},
{
"time": "1655",
"action": "get_day_ahead_prices"
},
{
"time": "1631",
"action": "get_meteo_data"
},
{
"time": "2231",
"action": "get_meteo_data"
},
{
"time": "2359",
"action": "clean_data"
}
]
},
"meteoserver_attempts": 2,
}
Wat kan de oorzaak zijn?

Laurens-Jan Merkx


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
Hoop dat iemand mij kan helpen. Heb DAO netjes geinstalleerd, weergegevens en kosten per kwartier opgehaald. Eerste berekening gaat prima maar als ik er solar inzet, dan stop hij ineens, dit zijn de laatste regels. Op basis van een eerder vergelijkbaar verhaal heb ik de minimal gap op 0.1 gezet maar resultaat blijft hetzelfde. Suggesties?
code:
1
2
3
4
5
6
7
8
9
Build Date: Mar 23 2026
Starting solution of the Linear programming relaxation problem using Dual Simplex

Coin0506I Presolve 248 (-485) rows, 248 (-1004) columns and 496 (-1660) elements
Clp0000I Optimal - objective value -8.148218
Coin0511I After Postsolve, objective -8.148218, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective -8.148218035 - 124 iterations time 0.012, Presolve 0.00

Starting MIP optimization
ljsquare schreef op zondag 21 juni 2026 @ 21:15:
Sinds de afgelopen 24u geeft DAO de opmerking dat hij geen oplossing kan vinden voor minimize costs. Ook niet als ik een apparaat (droger) instel om binnen een tijdsvenster ingezet te worden.
Ook heb ik de maximale gap zowel verhoogd als verlaagd, dit maakte ook niet uit

Dit is mijn config:
code:
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
{
  "config_version": 2,
  "homeassistant": {
    "ip_address": "supervisor",
    "protocol_api": "http"
  },
  "database_ha": {
    "engine": "sqlite",
    "db_path": "/homeassistant",
    "database": "home-assistant_v2.db"
  },
  "database_da": {
    "engine": "sqlite",
    "db_path": "../data",
    "database": "day_ahead.db"
  },
  "meteoserver_key": "!secret meteoserver-key",
  "meteoserver_model": "harmonie",
  "meteoserver_attemps": 2,
  "prices": {
    "source_day_ahead": "nordpool",
    "energy_taxes_consumption": {
      "2022-01-01": 0.06729,
      "2023-01-01": 0.12599,
      "2024-01-01": 0.1088,
      "2025-01-01": 0.10154,
      "2025-07-01": 0.12286,
      "2026-01-01": 0.09239
    },
    "energy_taxes_production": {
      "2022-01-01": 0.06729,
      "2023-01-01": 0.12599,
      "2024-01-01": 0.1088,
      "2025-01-01": 0.10154,
      "2025-07-01": 0.12286,
      "2026-01-01": 0.09239
    },
    "cost_supplier_consumption": {
      "2022-01-01": 0.002,
      "2023-03-01": 0.018,
      "2024-04-01": 0.0175,
      "2024-08-01": 0.020496,
      "2025-07-01": 0.01815
    },
    "cost_supplier_production": {
      "2022-01-01": 0.002,
      "2023-03-01": 0.018,
      "2024-04-01": 0.0175,
      "2024-08-01": 0.020496,
      "2025-07-01": -0.03509
    },
    "vat_consumption": {
      "2022-01-01": 21.0,
      "2022-07-01": 9.0,
      "2023-01-01": 21.0
    },
    "vat_production": {
      "2022-01-01": 21.0,
      "2022-07-01": 9.0,
      "2023-01-01": 21.0
    },
    "multiplier_consumption": {
      "2000-01-01": 1.0
    },
    "multiplier_production": {
      "2000-01-01": 1.0
    },
    "last_invoice": "2026-05-20",
    "tax_refund": false,
    "regular high": 0.5,
    "regular low": 0.4,
    "switch to low": 23
  },
  "logging_level": "info",
  "use_calc_baseload": true,
  "baseload_calc_periode": 56,
  "baseload": [
    0.23,
    0.876,
    0.285,
    1.066,
    0.38,
    0.312,
    0.294,
    0.35,
    0.252,
    0.294,
    0.178,
    0.774,
    0.901,
    1.217,
    1.146,
    0.758,
    0.301,
    0.426,
    0.466,
    0.46,
    0.457,
    0.216,
    0.225,
    0.32
  ],
  "graphical_backend": "",
  "graphics": {
    "style": "default",
    "battery_balance": true,
    "prices_consumption": true,
    "prices_production": true,
    "prices_spot": false,
    "average_consumption": true,
    "show": "False"
  },
  "interval": "15min",
  "strategy": "minimize cost",
  "max_gap": 0.005,
  "notifications": {
    "notification_entity": "input_text.dao_notification",
    "opstarten": true,
    "berekening": true
  },
  "grid": {
    "max_power": 17.0,
    "entity_balance_switch": "input_boolean.dao_balanceer_grid"
  },
  "history": {
    "save_days": 30
  },
  "dashboard": {
    "port": 5000
  },
  "battery": [
    {
      "name": "Indevolt",
      "entity_actual_level": "sensor.indevolt_cms_sf2000_battery_soc",
      "capacity": 6.0,
      "upper_limit": 100,
      "lower_limit": 10,
      "optimal_lower_level": 10,
      "penalty_low_soc": 0.0025,
      "entity_min_soc_end_opt": "input_number.dao_min_soc_end_opt",
      "entity_max_soc_end_opt": "input_number.dao_max_soc_end_opt",
      "charge_stages": [
        {
          "power": 0.0,
          "efficiency": 1.0
        },
        {
          "power": 2400.0,
          "efficiency": 0.8
        }
      ],
      "discharge_stages": [
        {
          "power": 0.0,
          "efficiency": 1.0
        },
        {
          "power": 1000.0,
          "efficiency": 0.8
        }
      ],
      "reduce_power_low_soc": [],
      "reduce_power_high_soc": [],
      "minimum_power": 100,
      "dc_to_bat_efficiency": 1.0,
      "dc_to_bat_max_power": 2400.0,
      "bat_to_dc_efficiency": 1.0,
      "bat_to_dc_max_power": 2400.0,
      "cycle_cost": 0.0,
      "entity_set_power_feedin": "input_number.dao_feedin_grid",
      "entity_set_operating_mode": "input_select.dao_operating_mode",
      "entity_set_operating_mode_on": "Aan",
      "entity_set_operating_mode_off": "Uit",
      "entity_stop_inverter": "input_datetime.dao_stop_battery",
      "entity_calculated_soc": "input_number.dao_calculated_soc",
      "solar": [],
      "cycle cost calculated": 0.03125
    }
  ],
  "solar": [
    {
      "name": "pv schuur",
      "entity_pv_switch": "switch.zonnepanelen_schuurtje_switch_1",
      "tilt": 25.0,
      "orientation": -80.0,
      "capacity": 0.92,
      "yield_factor": 0.0011625,
      "strings": [],
      "ml_prediction": true,
      "ml_training_start_date": "2000-01-01",
      "entities_sensors": [
        "sensor.zonnepanelen_opbrengst"
      ]
    },
    {
      "name": "pv enphase",
      "entity_pv_switch": "switch.enphase_aan_uit",
      "tilt": 10.0,
      "orientation": -80.0,
      "capacity": 3.0,
      "yield_factor": 0.0095,
      "strings": [],
      "ml_prediction": true,
      "ml_training_start_date": "2000-01-01",
      "entities_sensors": [
        "sensor.envoy_122301002892_energy_production_today"
      ]
    }
  ],
  "electric_vehicle": [],
  "machines": [
    {
      "name": "Vaatwasser",
      "programs": [
        {
          "name": "off",
          "power": []
        },
        {
          "name": "eco",
          "power": [
            7.0,
            400.0,
            1300.0,
            350.0,
            35.0,
            40.0,
            50.0,
            20.0,
            1150.0,
            20.0,
            15.0
          ]
        }
      ],
      "entity_start_window": "input_datetime.start_window_vaatwasser",
      "entity_end_window": "input_datetime.end_window_vaatwasser",
      "entity_selected_program": "input_select.program_vaatwasser",
      "entity_calculated_start": "input_datetime.calculated_start_vaatwasser",
      "entity_calculated_end": "input_datetime.calculated_stop_vaatwasser",
      "entity_instant_start": "input_boolean.instant_start_vaatwasser"
    },
    {
      "name": "Wasmachine",
      "programs": [
        {
          "name": "off",
          "power": []
        },
        {
          "name": "eco",
          "power": [
            20.0,
            70.0,
            2000.0,
            70.0,
            80.0,
            80.0,
            80.0,
            80.0,
            80.0,
            80.0
          ]
        },
        {
          "name": "katoen",
          "power": [
            150.0,
            2100.0,
            2100.0,
            2100.0,
            15.0,
            80.0,
            80.0,
            100.0,
            100.0
          ]
        }
      ],
      "entity_start_window": "input_datetime.start_window_wasmachine",
      "entity_end_window": "input_datetime.end_window_wasmachine",
      "entity_selected_program": "input_select.program_wasmachine",
      "entity_calculated_start": "input_datetime.calculated_start_wasmachine",
      "entity_calculated_end": "input_datetime.calculated_stop_wasmachine",
      "entity_instant_start": "input_boolean.instant_start_wasmachine"
    },
    {
      "name": "Droger",
      "programs": [
        {
          "name": "off",
          "power": []
        },
        {
          "name": "katoen",
          "power": [
            300.0,
            300.0,
            300.0,
            480.0,
            420.0,
            420.0,
            420.0,
            420.0,
            420.0,
            375.0,
            320.0,
            400.0,
            400.0,
            400.0,
            400.0,
            100.0,
            15.0,
            15.0,
            15.0,
            15.0
          ]
        }
      ],
      "entity_start_window": "input_datetime.start_window_droger",
      "entity_end_window": "input_datetime.end_window_droger",
      "entity_selected_program": "input_select.program_droger",
      "entity_calculated_start": "input_datetime.calculated_start_droger",
      "entity_calculated_end": "input_datetime.calculated_stop_droger",
      "entity_instant_start": "input_boolean.instant_start_droger"
    },
    {
      "name": "Cooker",
      "programs": [
        {
          "name": "off",
          "power": []
        },
        {
          "name": "on",
          "power": [
            2200.0,
            0.0,
            2100.0,
            0.0,
            0.0,
            2100.0,
            0.0,
            0.0,
            2100.0,
            0.0
          ]
        }
      ],
      "entity_start_window": "input_datetime.start_window_cooker",
      "entity_end_window": "input_datetime.end_window_cooker",
      "entity_selected_program": "input_select.program_cooker",
      "entity_calculated_start": "input_datetime.calculated_start_cooker",
      "entity_calculated_end": "input_datetime.calculated_stop_cooker",
      "entity_instant_start": "input_boolean.instant_start_cooker"
    }
  ],
  
  "xgboost": {
    "tune_hyperparameters": true
  },
  "report": {
    "entities_grid_consumption": [
      "sensor.electricity_meter_energieverbruik_tarief_2",
      "sensor.electricity_meter_energieverbruik_tarief_1"
    ],
    "entities_grid_production": [
      "sensor.electricity_meter_energieproductie_tarief_2",
      "sensor.electricity_meter_energieproductie_tarief_1"
    ],
    "entities_solar_production_ac": [
      "sensor.zonnepanelen_opbrengst",
      "sensor.envoy_122301002892_energy_production_today"
    ],
    "entities_solar_production_dc": [],
    "entities_ev_consumption": [],
    "entities_wp_consumption": [],
    "entities_boiler_consumption": [],
    "entities_battery_consumption": [
      "sensor.indevolt_cms_sf2000_battery_total_charging_energy"
    ],
    "entities_battery_production": [
      "sensor.indevolt_cms_sf2000_battery_total_discharging_energy"
    ],
    "entities_machine_consumption": [],
    "entity co2-intensity": [
      "sensor.co2_intensity"
    ]
  },
  "scheduler": {
    "active": true,
    "schedule": [
      {
        "time": "0431",
        "action": "get_meteo_data"
      },
      {
        "time": "1031",
        "action": "get_meteo_data"
      },
      {
        "time": "1131",
        "action": "calc_baseloads"
      },
      {
        "time": "1211",
        "action": "train_ml_predictions"
      },
      {
        "time": "1255",
        "action": "get_day_ahead_prices"
      },
      {
        "time": "1355",
        "action": "get_day_ahead_prices"
      },
      {
        "time": "1455",
        "action": "get_day_ahead_prices"
      },
      {
        "time": "1554",
        "action": "get_day_ahead_prices"
      },
      {
        "time": "1655",
        "action": "get_day_ahead_prices"
      },
      {
        "time": "1631",
        "action": "get_meteo_data"
      },
      {
        "time": "2231",
        "action": "get_meteo_data"
      },
      {
        "time": "2359",
        "action": "clean_data"
      }
    ]
  },
  "meteoserver_attempts": 2,
 }
Wat kan de oorzaak zijn?
Heb je ook de logging van een "foute" berekening, graag tussen quote- en code-tags.

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer

stat schreef op zondag 21 juni 2026 @ 21:49:
Hoop dat iemand mij kan helpen. Heb DAO netjes geinstalleerd, weergegevens en kosten per kwartier opgehaald. Eerste berekening gaat prima maar als ik er solar inzet, dan stop hij ineens, dit zijn de laatste regels. Op basis van een eerder vergelijkbaar verhaal heb ik de minimal gap op 0.1 gezet maar resultaat blijft hetzelfde. Suggesties?
code:
1
2
3
4
5
6
7
8
9
Build Date: Mar 23 2026
Starting solution of the Linear programming relaxation problem using Dual Simplex

Coin0506I Presolve 248 (-485) rows, 248 (-1004) columns and 496 (-1660) elements
Clp0000I Optimal - objective value -8.148218
Coin0511I After Postsolve, objective -8.148218, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective -8.148218035 - 124 iterations time 0.012, Presolve 0.00

Starting MIP optimization
Heb je ook de logging vanaf het begin en je solar-instelling(en). Beide liefst tussen quote en code -tags.

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer

thomvh schreef op zondag 21 juni 2026 @ 12:36:
[...]

Kun je dat niet extrapoleren door de efficiency omlaag te zetten onder de 20?
Daarvoor is juist deze oplossing bedacht:
https://github.com/cornee...-reduce-power-lowhigh-soc

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • ljsquare
  • Registratie: April 2006
  • Laatst online: 21:09
KC27 schreef op zondag 21 juni 2026 @ 21:59:
[...]

Heb je ook de logging van een "foute" berekening, graag tussen quote- en code-tags.
Natuurlijk, in mijn eerste bericht mocht ik deze niet plaatsen (bericht te lang)
2026-06-21 22:02:34 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-21 22:02:34 info: Day Ahead Optimalisering gestart op: 21-06-2026 22:02:34
2026-06-21 22:02:34 info: Day Ahead Optimalisatie gestart: 21-06-2026 22:02:34 taak: calc_optimum_met_debug
2026-06-21 22:02:34 info: Debug = True
2026-06-21 22:02:36 info: Zelf berekende baseload
2026-06-21 22:02:37 info: ML prediction pv_schuur
date_time prediction
0 2026-06-21 22:00:00+02:00 0.000
1 2026-06-21 23:00:00+02:00 0.003
2 2026-06-22 00:00:00+02:00 0.003
3 2026-06-22 01:00:00+02:00 0.003
4 2026-06-22 02:00:00+02:00 0.001
5 2026-06-22 03:00:00+02:00 0.001
6 2026-06-22 04:00:00+02:00 0.001
7 2026-06-22 05:00:00+02:00 0.002
8 2026-06-22 06:00:00+02:00 0.022
9 2026-06-22 07:00:00+02:00 0.050
10 2026-06-22 08:00:00+02:00 0.120
11 2026-06-22 09:00:00+02:00 0.224
12 2026-06-22 10:00:00+02:00 0.263
13 2026-06-22 11:00:00+02:00 0.273
14 2026-06-22 12:00:00+02:00 0.322
15 2026-06-22 13:00:00+02:00 0.306
16 2026-06-22 14:00:00+02:00 0.304
17 2026-06-22 15:00:00+02:00 0.262
18 2026-06-22 16:00:00+02:00 0.232
19 2026-06-22 17:00:00+02:00 0.177
20 2026-06-22 18:00:00+02:00 0.114
21 2026-06-22 19:00:00+02:00 0.076
22 2026-06-22 20:00:00+02:00 0.050
23 2026-06-22 21:00:00+02:00 0.009
24 2026-06-22 22:00:00+02:00 0.005
25 2026-06-22 23:00:00+02:00 0.003
2026-06-21 22:02:37 info: ML prediction pv_enphase
date_time prediction
0 2026-06-21 22:00:00+02:00 0.009
1 2026-06-21 23:00:00+02:00 0.009
2 2026-06-22 00:00:00+02:00 0.002
3 2026-06-22 01:00:00+02:00 0.000
4 2026-06-22 02:00:00+02:00 0.005
5 2026-06-22 03:00:00+02:00 0.005
6 2026-06-22 04:00:00+02:00 0.005
7 2026-06-22 05:00:00+02:00 0.019
8 2026-06-22 06:00:00+02:00 0.222
9 2026-06-22 07:00:00+02:00 0.596
10 2026-06-22 08:00:00+02:00 1.050
11 2026-06-22 09:00:00+02:00 1.399
12 2026-06-22 10:00:00+02:00 1.708
13 2026-06-22 11:00:00+02:00 1.876
14 2026-06-22 12:00:00+02:00 1.930
15 2026-06-22 13:00:00+02:00 1.986
16 2026-06-22 14:00:00+02:00 1.894
17 2026-06-22 15:00:00+02:00 1.729
18 2026-06-22 16:00:00+02:00 1.535
19 2026-06-22 17:00:00+02:00 1.191
20 2026-06-22 18:00:00+02:00 0.673
21 2026-06-22 19:00:00+02:00 0.252
22 2026-06-22 20:00:00+02:00 0.174
23 2026-06-22 21:00:00+02:00 0.069
24 2026-06-22 22:00:00+02:00 0.009
25 2026-06-22 23:00:00+02:00 0.009
2026-06-21 22:02:37 info: Start waarden:
uur tijd spot p_l p_t base pv_ac pv_dc
0 22:00 2026-06-21 22:00:00 0.149 0.315 0.138 0.100 0.002 0
1 22:15 2026-06-21 22:15:00 0.149 0.314 0.138 0.101 0.002 0
2 22:30 2026-06-21 22:30:00 0.146 0.310 0.134 0.101 0.002 0
3 22:45 2026-06-21 22:45:00 0.138 0.301 0.125 0.100 0.003 0
4 23:00 2026-06-21 23:00:00 0.143 0.306 0.130 0.097 0.003 0
5 23:15 2026-06-21 23:15:00 0.136 0.298 0.122 0.096 0.003 0
6 23:30 2026-06-21 23:30:00 0.132 0.294 0.118 0.094 0.003 0
7 23:45 2026-06-21 23:45:00 0.123 0.282 0.106 0.090 0.003 0
8 00:00 2026-06-22 00:00:00 0.136 0.299 0.122 0.084 0.002 0
9 00:15 2026-06-22 00:15:00 0.128 0.289 0.113 0.081 0.001 0
10 00:30 2026-06-22 00:30:00 0.123 0.283 0.107 0.077 0.001 0
11 00:45 2026-06-22 00:45:00 0.120 0.279 0.103 0.075 0.001 0
12 01:00 2026-06-22 01:00:00 0.122 0.282 0.105 0.075 0.001 0
13 01:15 2026-06-22 01:15:00 0.121 0.280 0.103 0.074 0.001 0
14 01:30 2026-06-22 01:30:00 0.119 0.277 0.101 0.073 0.001 0
15 01:45 2026-06-22 01:45:00 0.117 0.275 0.099 0.072 0.001 0
16 02:00 2026-06-22 02:00:00 0.119 0.277 0.101 0.071 0.001 0
17 02:15 2026-06-22 02:15:00 0.114 0.272 0.095 0.070 0.002 0
18 02:30 2026-06-22 02:30:00 0.110 0.267 0.091 0.070 0.002 0
19 02:45 2026-06-22 02:45:00 0.107 0.263 0.087 0.070 0.002 0
20 03:00 2026-06-22 03:00:00 0.112 0.269 0.093 0.070 0.002 0
21 03:15 2026-06-22 03:15:00 0.111 0.268 0.092 0.070 0.002 0
22 03:30 2026-06-22 03:30:00 0.111 0.268 0.091 0.070 0.002 0
23 03:45 2026-06-22 03:45:00 0.111 0.268 0.092 0.070 0.002 0
24 04:00 2026-06-22 04:00:00 0.111 0.268 0.092 0.072 0.001 0
25 04:15 2026-06-22 04:15:00 0.113 0.271 0.095 0.072 0.001 0
26 04:30 2026-06-22 04:30:00 0.113 0.271 0.094 0.073 0.001 0
27 04:45 2026-06-22 04:45:00 0.117 0.275 0.099 0.072 0.002 0
28 05:00 2026-06-22 05:00:00 0.115 0.273 0.097 0.069 0.000 0
29 05:15 2026-06-22 05:15:00 0.118 0.277 0.101 0.069 0.001 0
30 05:30 2026-06-22 05:30:00 0.121 0.280 0.104 0.068 0.002 0
31 05:45 2026-06-22 05:45:00 0.130 0.291 0.114 0.068 0.016 0
32 06:00 2026-06-22 06:00:00 0.133 0.294 0.118 0.069 0.037 0
33 06:15 2026-06-22 06:15:00 0.138 0.301 0.125 0.070 0.051 0
34 06:30 2026-06-22 06:30:00 0.139 0.302 0.126 0.071 0.065 0
35 06:45 2026-06-22 06:45:00 0.139 0.302 0.126 0.075 0.090 0
36 07:00 2026-06-22 07:00:00 0.152 0.318 0.142 0.083 0.122 0
37 07:15 2026-06-22 07:15:00 0.148 0.312 0.136 0.087 0.147 0
38 07:30 2026-06-22 07:30:00 0.146 0.310 0.134 0.092 0.172 0
39 07:45 2026-06-22 07:45:00 0.134 0.296 0.120 0.093 0.205 0
40 08:00 2026-06-22 08:00:00 0.146 0.311 0.135 0.087 0.245 0
41 08:15 2026-06-22 08:15:00 0.134 0.295 0.119 0.088 0.277 0
42 08:30 2026-06-22 08:30:00 0.125 0.285 0.109 0.090 0.310 0
43 08:45 2026-06-22 08:45:00 0.108 0.264 0.088 0.110 0.338 0
44 09:00 2026-06-22 09:00:00 0.125 0.284 0.108 0.153 0.365 0
45 09:15 2026-06-22 09:15:00 0.119 0.278 0.102 0.173 0.393 0
46 09:30 2026-06-22 09:30:00 0.106 0.262 0.086 0.193 0.422 0
47 09:45 2026-06-22 09:45:00 0.094 0.248 0.072 0.176 0.443 0
48 10:00 2026-06-22 10:00:00 0.112 0.269 0.093 0.121 0.463 0
49 10:15 2026-06-22 10:15:00 0.092 0.245 0.069 0.104 0.485 0
50 10:30 2026-06-22 10:30:00 0.081 0.232 0.056 0.087 0.506 0
51 10:45 2026-06-22 10:45:00 0.065 0.212 0.036 0.109 0.517 0
52 11:00 2026-06-22 11:00:00 0.071 0.220 0.043 0.169 0.522 0
53 11:15 2026-06-22 11:15:00 0.061 0.208 0.032 0.191 0.533 0
54 11:30 2026-06-22 11:30:00 0.051 0.195 0.019 0.213 0.544 0
55 11:45 2026-06-22 11:45:00 0.046 0.189 0.013 0.200 0.550 0
56 12:00 2026-06-22 12:00:00 0.050 0.194 0.018 0.155 0.554 0
57 12:15 2026-06-22 12:15:00 0.041 0.183 0.007 0.141 0.561 0
58 12:30 2026-06-22 12:30:00 0.038 0.180 0.003 0.128 0.567 0
59 12:45 2026-06-22 12:45:00 0.030 0.170 -0.006 0.134 0.570 0
60 13:00 2026-06-22 13:00:00 0.036 0.177 0.001 0.157 0.571 0
61 13:15 2026-06-22 13:15:00 0.033 0.174 -0.002 0.162 0.574 0
62 13:30 2026-06-22 13:30:00 0.030 0.170 -0.006 0.168 0.576 0
63 13:45 2026-06-22 13:45:00 0.030 0.170 -0.006 0.163 0.571 0
64 14:00 2026-06-22 14:00:00 0.018 0.155 -0.021 0.148 0.560 0
65 14:15 2026-06-22 14:15:00 0.033 0.174 -0.002 0.143 0.554 0
66 14:30 2026-06-22 14:30:00 0.037 0.179 0.002 0.138 0.548 0
67 14:45 2026-06-22 14:45:00 0.040 0.182 0.006 0.134 0.535 0
68 15:00 2026-06-22 15:00:00 0.047 0.191 0.015 -8.817 0.517 0
69 15:15 2026-06-22 15:15:00 0.057 0.202 0.026 -8.820 0.504 0
70 15:30 2026-06-22 15:30:00 0.066 0.213 0.037 -8.824 0.492 0
71 15:45 2026-06-22 15:45:00 0.081 0.232 0.056 26.965 0.478 0
72 16:00 2026-06-22 16:00:00 0.072 0.221 0.045 107.497 0.466 0
73 16:15 2026-06-22 16:15:00 0.084 0.236 0.060 143.286 0.452 0
74 16:30 2026-06-22 16:30:00 0.094 0.247 0.071 179.075 0.438 0
75 16:45 2026-06-22 16:45:00 0.113 0.270 0.094 143.275 0.413 0
76 17:00 2026-06-22 17:00:00 0.092 0.245 0.069 44.830 0.382 0
77 17:15 2026-06-22 17:15:00 0.111 0.268 0.092 9.030 0.357 0
78 17:30 2026-06-22 17:30:00 0.120 0.279 0.102 -26.769 0.332 0
79 17:45 2026-06-22 17:45:00 0.132 0.294 0.117 -26.753 0.296 0
80 18:00 2026-06-22 18:00:00 0.115 0.273 0.097 0.129 0.249 0
81 18:15 2026-06-22 18:15:00 0.130 0.291 0.115 0.145 0.213 0
82 18:30 2026-06-22 18:30:00 0.149 0.314 0.138 0.160 0.177 0
83 18:45 2026-06-22 18:45:00 0.182 0.354 0.177 0.158 0.148 0
84 19:00 2026-06-22 19:00:00 0.150 0.315 0.139 0.141 0.120 0
85 19:15 2026-06-22 19:15:00 0.166 0.334 0.158 0.139 0.091 0
86 19:30 2026-06-22 19:30:00 0.207 0.384 0.208 0.137 0.062 0
87 19:45 2026-06-22 19:45:00 0.261 0.450 0.274 0.137 0.056 0
88 20:00 2026-06-22 20:00:00 0.220 0.400 0.224 0.141 0.067 0
89 20:15 2026-06-22 20:15:00 0.259 0.447 0.270 0.142 0.060 0
90 20:30 2026-06-22 20:30:00 0.293 0.488 0.312 0.142 0.054 0
91 20:45 2026-06-22 20:45:00 0.300 0.497 0.321 0.131 0.044 0
92 21:00 2026-06-22 21:00:00 0.300 0.497 0.321 0.108 0.032 0
93 21:15 2026-06-22 21:15:00 0.280 0.473 0.297 0.097 0.023 0
94 21:30 2026-06-22 21:30:00 0.249 0.435 0.258 0.086 0.014 0
95 21:45 2026-06-22 21:45:00 0.207 0.384 0.208 0.086 0.010 0
96 22:00 2026-06-22 22:00:00 0.234 0.417 0.241 0.095 0.009 0
97 22:15 2026-06-22 22:15:00 0.208 0.386 0.210 0.095 0.005 0
98 22:30 2026-06-22 22:30:00 0.171 0.340 0.164 0.095 0.001 0
99 22:45 2026-06-22 22:45:00 0.153 0.319 0.143 0.095 0.001 0
100 23:00 2026-06-22 23:00:00 0.164 0.333 0.157 0.095 0.003 0
101 23:15 2026-06-22 23:15:00 0.167 0.336 0.160 0.095 0.003 0
102 23:30 2026-06-22 23:30:00 0.160 0.328 0.151 0.094 0.003 0
103 23:45 2026-06-22 23:45:00 0.148 0.313 0.137 0.094 0.003 0
2026-06-21 22:02:41 info: No reduced hours applied for Indevolt
2026-06-21 22:02:41 info: No reduced power applied during discharging at low soc
2026-06-21 22:02:41 info: No reduced power applied during charging at high soc
2026-06-21 22:02:41 info: Startwaarde SoC Indevolt: 87.0%

2026-06-21 22:02:41 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2026-06-21 22:02:41 info: Warmtepomp niet aanwezig - warmtepomp wordt niet ingepland
2026-06-21 22:02:41 info: Apparaat Vaatwasser direct starten staat uit
2026-06-21 22:02:41 info: Apparaat Vaatwasser met programma 'eco' wordt ingepland tussen 2026-06-21 22:02 en 2026-06-22 05:00.
2026-06-21 22:02:41 info: Apparaat Wasmachine direct starten staat uit
2026-06-21 22:02:42 info: Machine Wasmachine wordt niet ingepland, want er is gekozen voor off
2026-06-21 22:02:42 info: Apparaat Droger direct starten staat uit
2026-06-21 22:02:42 info: Machine Droger wordt niet ingepland, want er is gekozen voor off
2026-06-21 22:02:42 info: Apparaat Cooker direct starten staat uit
2026-06-21 22:02:42 info: Apparaat Cooker met programma 'on' wordt ingepland tussen 2026-06-22 16:00 en 2026-06-22 19:00.
2026-06-21 22:02:43 info: Strategie: minimale kosten
2026-06-21 22:02:43 info: Maximale fout (maximal gap): 0.005000 euro
2026-06-21 22:02:43 info: Rekentijd: 0.08 sec
2026-06-21 22:02:43 waarschuwing: Geen oplossing voor: minimize cost

Laurens-Jan Merkx

diamanten schreef op zondag 21 juni 2026 @ 09:17:
Vanochtend zag ik deze fout in de DAO-log over een SSL certificaat van www.daggegevens.knmi.nl:

[...]

Wat is de impact hiervan op de optimalisaties?
Bij mij treedt de fout niet op tijdens het trainen van het ml-model.
Misschien was het een eenmalige fout aan de kant van KNMI.
Wil je het nog eens proberen?

De fout heeft niet direct invloed op de werking van DAO. Alleen wordt het trainen overgeslagen en wordt het laatste berekende model gebruikt voor de voorspelling van je pv-productie.

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer

ljsquare schreef op zondag 21 juni 2026 @ 22:05:
[...]

Natuurlijk, in mijn eerste bericht mocht ik deze niet plaatsen (bericht te lang)
code:
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
 2026-06-21 22:02:34 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-21 22:02:34 info: Day Ahead Optimalisering gestart op: 21-06-2026 22:02:34
2026-06-21 22:02:34 info: Day Ahead Optimalisatie gestart: 21-06-2026 22:02:34 taak: calc_optimum_met_debug
2026-06-21 22:02:34 info: Debug = True
2026-06-21 22:02:36 info: Zelf berekende baseload
2026-06-21 22:02:37 info: ML prediction pv_schuur
                   date_time  prediction
0  2026-06-21 22:00:00+02:00       0.000
1  2026-06-21 23:00:00+02:00       0.003
2  2026-06-22 00:00:00+02:00       0.003
3  2026-06-22 01:00:00+02:00       0.003
4  2026-06-22 02:00:00+02:00       0.001
5  2026-06-22 03:00:00+02:00       0.001
6  2026-06-22 04:00:00+02:00       0.001
7  2026-06-22 05:00:00+02:00       0.002
8  2026-06-22 06:00:00+02:00       0.022
9  2026-06-22 07:00:00+02:00       0.050
10 2026-06-22 08:00:00+02:00       0.120
11 2026-06-22 09:00:00+02:00       0.224
12 2026-06-22 10:00:00+02:00       0.263
13 2026-06-22 11:00:00+02:00       0.273
14 2026-06-22 12:00:00+02:00       0.322
15 2026-06-22 13:00:00+02:00       0.306
16 2026-06-22 14:00:00+02:00       0.304
17 2026-06-22 15:00:00+02:00       0.262
18 2026-06-22 16:00:00+02:00       0.232
19 2026-06-22 17:00:00+02:00       0.177
20 2026-06-22 18:00:00+02:00       0.114
21 2026-06-22 19:00:00+02:00       0.076
22 2026-06-22 20:00:00+02:00       0.050
23 2026-06-22 21:00:00+02:00       0.009
24 2026-06-22 22:00:00+02:00       0.005
25 2026-06-22 23:00:00+02:00       0.003
2026-06-21 22:02:37 info: ML prediction pv_enphase
                   date_time  prediction
0  2026-06-21 22:00:00+02:00       0.009
1  2026-06-21 23:00:00+02:00       0.009
2  2026-06-22 00:00:00+02:00       0.002
3  2026-06-22 01:00:00+02:00       0.000
4  2026-06-22 02:00:00+02:00       0.005
5  2026-06-22 03:00:00+02:00       0.005
6  2026-06-22 04:00:00+02:00       0.005
7  2026-06-22 05:00:00+02:00       0.019
8  2026-06-22 06:00:00+02:00       0.222
9  2026-06-22 07:00:00+02:00       0.596
10 2026-06-22 08:00:00+02:00       1.050
11 2026-06-22 09:00:00+02:00       1.399
12 2026-06-22 10:00:00+02:00       1.708
13 2026-06-22 11:00:00+02:00       1.876
14 2026-06-22 12:00:00+02:00       1.930
15 2026-06-22 13:00:00+02:00       1.986
16 2026-06-22 14:00:00+02:00       1.894
17 2026-06-22 15:00:00+02:00       1.729
18 2026-06-22 16:00:00+02:00       1.535
19 2026-06-22 17:00:00+02:00       1.191
20 2026-06-22 18:00:00+02:00       0.673
21 2026-06-22 19:00:00+02:00       0.252
22 2026-06-22 20:00:00+02:00       0.174
23 2026-06-22 21:00:00+02:00       0.069
24 2026-06-22 22:00:00+02:00       0.009
25 2026-06-22 23:00:00+02:00       0.009
2026-06-21 22:02:37 info: Start waarden: 
       uur                tijd  spot   p_l    p_t    base  pv_ac  pv_dc
0    22:00 2026-06-21 22:00:00 0.149 0.315  0.138   0.100  0.002      0
1    22:15 2026-06-21 22:15:00 0.149 0.314  0.138   0.101  0.002      0
2    22:30 2026-06-21 22:30:00 0.146 0.310  0.134   0.101  0.002      0
3    22:45 2026-06-21 22:45:00 0.138 0.301  0.125   0.100  0.003      0
4    23:00 2026-06-21 23:00:00 0.143 0.306  0.130   0.097  0.003      0
5    23:15 2026-06-21 23:15:00 0.136 0.298  0.122   0.096  0.003      0
6    23:30 2026-06-21 23:30:00 0.132 0.294  0.118   0.094  0.003      0
7    23:45 2026-06-21 23:45:00 0.123 0.282  0.106   0.090  0.003      0
8    00:00 2026-06-22 00:00:00 0.136 0.299  0.122   0.084  0.002      0
9    00:15 2026-06-22 00:15:00 0.128 0.289  0.113   0.081  0.001      0
10   00:30 2026-06-22 00:30:00 0.123 0.283  0.107   0.077  0.001      0
11   00:45 2026-06-22 00:45:00 0.120 0.279  0.103   0.075  0.001      0
12   01:00 2026-06-22 01:00:00 0.122 0.282  0.105   0.075  0.001      0
13   01:15 2026-06-22 01:15:00 0.121 0.280  0.103   0.074  0.001      0
14   01:30 2026-06-22 01:30:00 0.119 0.277  0.101   0.073  0.001      0
15   01:45 2026-06-22 01:45:00 0.117 0.275  0.099   0.072  0.001      0
16   02:00 2026-06-22 02:00:00 0.119 0.277  0.101   0.071  0.001      0
17   02:15 2026-06-22 02:15:00 0.114 0.272  0.095   0.070  0.002      0
18   02:30 2026-06-22 02:30:00 0.110 0.267  0.091   0.070  0.002      0
19   02:45 2026-06-22 02:45:00 0.107 0.263  0.087   0.070  0.002      0
20   03:00 2026-06-22 03:00:00 0.112 0.269  0.093   0.070  0.002      0
21   03:15 2026-06-22 03:15:00 0.111 0.268  0.092   0.070  0.002      0
22   03:30 2026-06-22 03:30:00 0.111 0.268  0.091   0.070  0.002      0
23   03:45 2026-06-22 03:45:00 0.111 0.268  0.092   0.070  0.002      0
24   04:00 2026-06-22 04:00:00 0.111 0.268  0.092   0.072  0.001      0
25   04:15 2026-06-22 04:15:00 0.113 0.271  0.095   0.072  0.001      0
26   04:30 2026-06-22 04:30:00 0.113 0.271  0.094   0.073  0.001      0
27   04:45 2026-06-22 04:45:00 0.117 0.275  0.099   0.072  0.002      0
28   05:00 2026-06-22 05:00:00 0.115 0.273  0.097   0.069  0.000      0
29   05:15 2026-06-22 05:15:00 0.118 0.277  0.101   0.069  0.001      0
30   05:30 2026-06-22 05:30:00 0.121 0.280  0.104   0.068  0.002      0
31   05:45 2026-06-22 05:45:00 0.130 0.291  0.114   0.068  0.016      0
32   06:00 2026-06-22 06:00:00 0.133 0.294  0.118   0.069  0.037      0
33   06:15 2026-06-22 06:15:00 0.138 0.301  0.125   0.070  0.051      0
34   06:30 2026-06-22 06:30:00 0.139 0.302  0.126   0.071  0.065      0
35   06:45 2026-06-22 06:45:00 0.139 0.302  0.126   0.075  0.090      0
36   07:00 2026-06-22 07:00:00 0.152 0.318  0.142   0.083  0.122      0
37   07:15 2026-06-22 07:15:00 0.148 0.312  0.136   0.087  0.147      0
38   07:30 2026-06-22 07:30:00 0.146 0.310  0.134   0.092  0.172      0
39   07:45 2026-06-22 07:45:00 0.134 0.296  0.120   0.093  0.205      0
40   08:00 2026-06-22 08:00:00 0.146 0.311  0.135   0.087  0.245      0
41   08:15 2026-06-22 08:15:00 0.134 0.295  0.119   0.088  0.277      0
42   08:30 2026-06-22 08:30:00 0.125 0.285  0.109   0.090  0.310      0
43   08:45 2026-06-22 08:45:00 0.108 0.264  0.088   0.110  0.338      0
44   09:00 2026-06-22 09:00:00 0.125 0.284  0.108   0.153  0.365      0
45   09:15 2026-06-22 09:15:00 0.119 0.278  0.102   0.173  0.393      0
46   09:30 2026-06-22 09:30:00 0.106 0.262  0.086   0.193  0.422      0
47   09:45 2026-06-22 09:45:00 0.094 0.248  0.072   0.176  0.443      0
48   10:00 2026-06-22 10:00:00 0.112 0.269  0.093   0.121  0.463      0
49   10:15 2026-06-22 10:15:00 0.092 0.245  0.069   0.104  0.485      0
50   10:30 2026-06-22 10:30:00 0.081 0.232  0.056   0.087  0.506      0
51   10:45 2026-06-22 10:45:00 0.065 0.212  0.036   0.109  0.517      0
52   11:00 2026-06-22 11:00:00 0.071 0.220  0.043   0.169  0.522      0
53   11:15 2026-06-22 11:15:00 0.061 0.208  0.032   0.191  0.533      0
54   11:30 2026-06-22 11:30:00 0.051 0.195  0.019   0.213  0.544      0
55   11:45 2026-06-22 11:45:00 0.046 0.189  0.013   0.200  0.550      0
56   12:00 2026-06-22 12:00:00 0.050 0.194  0.018   0.155  0.554      0
57   12:15 2026-06-22 12:15:00 0.041 0.183  0.007   0.141  0.561      0
58   12:30 2026-06-22 12:30:00 0.038 0.180  0.003   0.128  0.567      0
59   12:45 2026-06-22 12:45:00 0.030 0.170 -0.006   0.134  0.570      0
60   13:00 2026-06-22 13:00:00 0.036 0.177  0.001   0.157  0.571      0
61   13:15 2026-06-22 13:15:00 0.033 0.174 -0.002   0.162  0.574      0
62   13:30 2026-06-22 13:30:00 0.030 0.170 -0.006   0.168  0.576      0
63   13:45 2026-06-22 13:45:00 0.030 0.170 -0.006   0.163  0.571      0
64   14:00 2026-06-22 14:00:00 0.018 0.155 -0.021   0.148  0.560      0
65   14:15 2026-06-22 14:15:00 0.033 0.174 -0.002   0.143  0.554      0
66   14:30 2026-06-22 14:30:00 0.037 0.179  0.002   0.138  0.548      0
67   14:45 2026-06-22 14:45:00 0.040 0.182  0.006   0.134  0.535      0
68   15:00 2026-06-22 15:00:00 0.047 0.191  0.015  -8.817  0.517      0
69   15:15 2026-06-22 15:15:00 0.057 0.202  0.026  -8.820  0.504      0
70   15:30 2026-06-22 15:30:00 0.066 0.213  0.037  -8.824  0.492      0
71   15:45 2026-06-22 15:45:00 0.081 0.232  0.056  26.965  0.478      0
72   16:00 2026-06-22 16:00:00 0.072 0.221  0.045 107.497  0.466      0
73   16:15 2026-06-22 16:15:00 0.084 0.236  0.060 143.286  0.452      0
74   16:30 2026-06-22 16:30:00 0.094 0.247  0.071 179.075  0.438      0
75   16:45 2026-06-22 16:45:00 0.113 0.270  0.094 143.275  0.413      0
76   17:00 2026-06-22 17:00:00 0.092 0.245  0.069  44.830  0.382      0
77   17:15 2026-06-22 17:15:00 0.111 0.268  0.092   9.030  0.357      0
78   17:30 2026-06-22 17:30:00 0.120 0.279  0.102 -26.769  0.332      0
79   17:45 2026-06-22 17:45:00 0.132 0.294  0.117 -26.753  0.296      0
80   18:00 2026-06-22 18:00:00 0.115 0.273  0.097   0.129  0.249      0
81   18:15 2026-06-22 18:15:00 0.130 0.291  0.115   0.145  0.213      0
82   18:30 2026-06-22 18:30:00 0.149 0.314  0.138   0.160  0.177      0
83   18:45 2026-06-22 18:45:00 0.182 0.354  0.177   0.158  0.148      0
84   19:00 2026-06-22 19:00:00 0.150 0.315  0.139   0.141  0.120      0
85   19:15 2026-06-22 19:15:00 0.166 0.334  0.158   0.139  0.091      0
86   19:30 2026-06-22 19:30:00 0.207 0.384  0.208   0.137  0.062      0
87   19:45 2026-06-22 19:45:00 0.261 0.450  0.274   0.137  0.056      0
88   20:00 2026-06-22 20:00:00 0.220 0.400  0.224   0.141  0.067      0
89   20:15 2026-06-22 20:15:00 0.259 0.447  0.270   0.142  0.060      0
90   20:30 2026-06-22 20:30:00 0.293 0.488  0.312   0.142  0.054      0
91   20:45 2026-06-22 20:45:00 0.300 0.497  0.321   0.131  0.044      0
92   21:00 2026-06-22 21:00:00 0.300 0.497  0.321   0.108  0.032      0
93   21:15 2026-06-22 21:15:00 0.280 0.473  0.297   0.097  0.023      0
94   21:30 2026-06-22 21:30:00 0.249 0.435  0.258   0.086  0.014      0
95   21:45 2026-06-22 21:45:00 0.207 0.384  0.208   0.086  0.010      0
96   22:00 2026-06-22 22:00:00 0.234 0.417  0.241   0.095  0.009      0
97   22:15 2026-06-22 22:15:00 0.208 0.386  0.210   0.095  0.005      0
98   22:30 2026-06-22 22:30:00 0.171 0.340  0.164   0.095  0.001      0
99   22:45 2026-06-22 22:45:00 0.153 0.319  0.143   0.095  0.001      0
100  23:00 2026-06-22 23:00:00 0.164 0.333  0.157   0.095  0.003      0
101  23:15 2026-06-22 23:15:00 0.167 0.336  0.160   0.095  0.003      0
102  23:30 2026-06-22 23:30:00 0.160 0.328  0.151   0.094  0.003      0
103  23:45 2026-06-22 23:45:00 0.148 0.313  0.137   0.094  0.003      0
2026-06-21 22:02:41 info: No reduced hours applied for Indevolt
2026-06-21 22:02:41 info: No reduced power applied during discharging at low soc
2026-06-21 22:02:41 info: No reduced power applied during charging at high soc
2026-06-21 22:02:41 info: Startwaarde SoC Indevolt: 87.0%

2026-06-21 22:02:41 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2026-06-21 22:02:41 info: Warmtepomp niet aanwezig - warmtepomp wordt niet ingepland
2026-06-21 22:02:41 info: Apparaat Vaatwasser direct starten staat uit
2026-06-21 22:02:41 info: Apparaat Vaatwasser met programma 'eco' wordt ingepland tussen 2026-06-21 22:02 en 2026-06-22 05:00.
2026-06-21 22:02:41 info: Apparaat Wasmachine direct starten staat uit
2026-06-21 22:02:42 info: Machine Wasmachine wordt niet ingepland, want er is gekozen voor off
2026-06-21 22:02:42 info: Apparaat Droger direct starten staat uit
2026-06-21 22:02:42 info: Machine Droger wordt niet ingepland, want er is gekozen voor off
2026-06-21 22:02:42 info: Apparaat Cooker direct starten staat uit
2026-06-21 22:02:42 info: Apparaat Cooker met programma 'on' wordt ingepland tussen 2026-06-22 16:00 en 2026-06-22 19:00.
2026-06-21 22:02:43 info: Strategie: minimale kosten
2026-06-21 22:02:43 info: Maximale fout (maximal gap): 0.005000 euro
2026-06-21 22:02:43 info: Rekentijd: 0.08  sec
2026-06-21 22:02:43 waarschuwing: Geen oplossing voor: minimize cost
Ik ga ernaar kijken maar waarom zet je het niet tussen quote-tags. Scheelt veel scroll-werk. Kun je alsnog doen door te "wijzigen" (ook je vorige).

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • ljsquare
  • Registratie: April 2006
  • Laatst online: 21:09
KC27 schreef op zondag 21 juni 2026 @ 22:13:
[...]

Ik ga ernaar kijken maar waarom zet je het niet tussen quote-tags. Scheelt veel scroll-werk. Kun je alsnog doen door te "wijzigen" (ook je vorige).
Top dankjewel. En ook voor de tip, ik heb het nu in quote tags gezet.

Laurens-Jan Merkx


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
KC27 schreef op zondag 21 juni 2026 @ 22:00:
[...]

Heb je ook de logging vanaf het begin en je solar-instelling(en). Beide liefst tussen quote en code -tags.
Sure, dank voor het meekijken:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"solar": [
    {
      "name": "woning",
      "entity pv switch": "input_boolean.pv_woning_aan_uit",
      "ml_prediction": "false",
      "entities sensors": "sensor.solaredge_ac_energy_kwh",
      "strings": [
        {
          "tilt": 40,
          "orientation": 5,
          "capacity": 3.3,
          "yield": 0.0065
        },
        {
          "tilt": 15,
          "orientation": 5,
          "capacity": 0.9,
          "yield": 0.0025
        }
      ]
    }],
code:
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
2026-06-22 07:49:26 INFO: Loaded 6 secrets from ../data/secrets.json
2026-06-22 07:49:26 INFO: Validating configuration with ConfigurationV2
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/ HTTP/1.1" 200 26
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/config HTTP/1.1" 200 6372
2026-06-22 07:49:26 debug: hass/api/config: {"allowlist_external_dirs":["/tmp","/config/www","/media"],"allowlist_external_urls":[],"components":["XXXXXXXX":{"length":"km","accumulated_precipitation":"mm","area":"m²","mass":"g","pressure":"Pa","temperature":"°C","volume":"L","wind_speed":"m/s"},"version":"2026.6.4","whitelist_external_dirs":["/tmp","/config/www","/media"]}
2026-06-22 07:49:26 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 200 in /root/dao/prog/da_base.py
2026-06-22 07:49:26 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-06-22 07:49:26 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-22 07:49:26 info: Day Ahead Optimalisering gestart op: 22-06-2026 07:49:26
2026-06-22 07:49:26 debug: Locatie: latitude XXX
2026-06-22 07:49:26 info: Day Ahead Optimalisatie gestart: 22-06-2026 07:49:26 taak: calc_optimum_met_debug
2026-06-22 07:49:26 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 695 in /root/dao/prog/da_base.py
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/ HTTP/1.1" 200 26
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/config HTTP/1.1" 200 6372
2026-06-22 07:49:26 debug: hass/api/config: {XXXXX","whitelist_external_dirs":["/tmp","/config/www","/media"]}
2026-06-22 07:49:26 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 200 in /root/dao/prog/da_base.py
2026-06-22 07:49:26 info: Debug = True
2026-06-22 07:49:26 debug: Memory used/free:
MemTotal:        3897492 kB
MemFree:          254008 kB
MemAvailable:    1780048 kB
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/ HTTP/1.1" 200 26
2026-06-22 07:49:26 debug: Starting new HTTP connection (1): supervisor:80
2026-06-22 07:49:26 debug: http://supervisor:80 "GET /core/api/config HTTP/1.1" 200 6372
2026-06-22 07:49:26 debug: hass/api/config: {"XXXX]}
2026-06-22 07:49:26 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 200 in /root/dao/prog/da_base.py
2026-06-22 07:49:26 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(?, ?, ?) ORDER BY time
2026-06-22 07:49:26 debug: Prognose data:
                  tijd     temp  glob_rad       time    da_ex   da_cons   da_prod
0  2026-06-22 07:45:00  19.3750   62.8750  1782114.0  0.13406  0.297812  0.273012
1  2026-06-22 08:00:00  19.6250   73.1875  1782115.0  0.14635  0.312683  0.287883
2  2026-06-22 08:15:00  19.8750   84.4375  1782116.0  0.13350  0.297135  0.272335
3  2026-06-22 08:30:00  20.1250   95.6875  1782117.0  0.12496  0.286801  0.262001
4  2026-06-22 08:45:00  20.3750  110.6875  1782117.0  0.10776  0.265989  0.241189
5  2026-06-22 09:00:00  20.6250  127.9375  1782118.0  0.12455  0.286305  0.261505
6  2026-06-22 09:15:00  20.8750  142.9375  1782119.0  0.11906  0.279662  0.254862
7  2026-06-22 09:30:00  21.1250  157.9375  1782120.0  0.10635  0.264283  0.239483
8  2026-06-22 09:45:00  21.3750  175.1875  1782121.0  0.09421  0.249594  0.224794
9  2026-06-22 10:00:00  21.5625  197.0000  1782122.0  0.11173  0.270793  0.245993
10 2026-06-22 10:15:00  21.8125  214.2500  1782123.0  0.09213  0.247077  0.222277
11 2026-06-22 10:30:00  22.0625  231.5000  1782124.0  0.08132  0.233997  0.209197
12 2026-06-22 10:45:00  22.5625  237.2500  1782125.0  0.06500  0.214250  0.189450
13 2026-06-22 11:00:00  23.3125  237.0625  1782126.0  0.07101  0.221522  0.196722
14 2026-06-22 11:15:00  23.8125  242.8125  1782126.0  0.06120  0.209652  0.184852
15 2026-06-22 11:30:00  24.3125  248.5625  1782127.0  0.05100  0.197310  0.172510
16 2026-06-22 11:45:00  24.5625  243.5625  1782128.0  0.04600  0.191260  0.166460
17 2026-06-22 12:00:00  24.6250  226.3125  1782129.0  0.04966  0.195688  0.170888
18 2026-06-22 12:15:00  24.8750  221.3125  1782130.0  0.04050  0.184605  0.159805
19 2026-06-22 12:30:00  25.1250  216.3125  1782131.0  0.03790  0.181459  0.156659
20 2026-06-22 12:45:00  25.3750  228.0625  1782132.0  0.03001  0.171912  0.147112
21 2026-06-22 13:00:00  25.6250  256.3750  1782133.0  0.03568  0.178773  0.153972
22 2026-06-22 13:15:00  25.8750  268.1250  1782134.0  0.03319  0.175760  0.150960
23 2026-06-22 13:30:00  26.1250  279.8750  1782135.0  0.03024  0.172190  0.147390
24 2026-06-22 13:45:00  26.3750  275.6250  1782135.0  0.03011  0.172033  0.147233
25 2026-06-22 14:00:00  26.6250  257.1875  1782136.0  0.01760  0.156896  0.132096
26 2026-06-22 14:15:00  26.8750  252.9375  1782137.0  0.03305  0.175590  0.150790
27 2026-06-22 14:30:00  27.1250  248.6875  1782138.0  0.03703  0.180406  0.155606
28 2026-06-22 14:45:00  27.3750  253.1875  1782139.0  0.04000  0.184000  0.159200
29 2026-06-22 15:00:00  27.6875  268.9375  1782140.0  0.04738  0.192930  0.168130
30 2026-06-22 15:15:00  27.9375  273.4375  1782141.0  0.05660  0.204086  0.179286
31 2026-06-22 15:30:00  28.1875  277.9375  1782142.0  0.06551  0.214867  0.190067
32 2026-06-22 15:45:00  28.1875  263.6875  1782143.0  0.08112  0.233755  0.208955
33 2026-06-22 16:00:00  28.0000  234.3750  1782144.0  0.07230  0.223083  0.198283
34 2026-06-22 16:15:00  28.0000  220.1250  1782144.0  0.08433  0.237639  0.212839
35 2026-06-22 16:30:00  28.0000  205.8750  1782145.0  0.09400  0.249340  0.224540
36 2026-06-22 16:45:00  28.0000  195.6250  1782146.0  0.11292  0.272233  0.247433
37 2026-06-22 17:00:00  28.0000  188.1875  1782147.0  0.09207  0.247005  0.222204
38 2026-06-22 17:15:00  28.0000  177.9375  1782148.0  0.11125  0.270212  0.245412
39 2026-06-22 17:30:00  28.0000  167.6875  1782149.0  0.11974  0.280485  0.255685
40 2026-06-22 17:45:00  28.0000  158.1875  1782150.0  0.13208  0.295417  0.270617
41 2026-06-22 18:00:00  28.0625  149.6250  1782151.0  0.11490  0.274629  0.249829
42 2026-06-22 18:15:00  28.0625  140.1250  1782152.0  0.13011  0.293033  0.268233
43 2026-06-22 18:30:00  28.0625  130.6250  1782153.0  0.14914  0.316059  0.291259
44 2026-06-22 18:45:00  27.8125  119.6250  1782153.0  0.18161  0.355348  0.330548
45 2026-06-22 19:00:00  27.4375  107.5625  1782154.0  0.15006  0.317172  0.292372
46 2026-06-22 19:15:00  27.1875   96.5625  1782155.0  0.16589  0.336327  0.311527
47 2026-06-22 19:30:00  26.9375   85.5625  1782156.0  0.20720  0.386312  0.361512
48 2026-06-22 19:45:00  26.4375   74.3125  1782157.0  0.26119  0.451640  0.426840
49 2026-06-22 20:00:00  25.6875   62.2500  1782158.0  0.21985  0.401618  0.376818
50 2026-06-22 20:15:00  25.1875   51.0000  1782159.0  0.25851  0.448397  0.423597
51 2026-06-22 20:30:00  24.6875   39.7500  1782160.0  0.29253  0.489561  0.464761
52 2026-06-22 20:45:00  24.4375   31.0000  1782161.0  0.30007  0.498685  0.473884
53 2026-06-22 21:00:00  24.4375   22.6250  1782162.0  0.30004  0.498648  0.473848
54 2026-06-22 21:15:00  24.1875   13.8750  1782162.0  0.28021  0.474654  0.449854
55 2026-06-22 21:30:00  23.9375    5.1250  1782163.0  0.24871  0.436539  0.411739
56 2026-06-22 21:45:00  23.4375    2.3750  1782164.0  0.20683  0.385864  0.361064
57 2026-06-22 22:00:00  22.6875    3.4375  1782165.0  0.23442  0.419248  0.394448
58 2026-06-22 22:15:00  22.1875    0.6875  1782166.0  0.20845  0.387824  0.363024
59 2026-06-22 22:30:00  21.6875   -2.0625  1782167.0  0.17060  0.342026  0.317226
60 2026-06-22 22:45:00  21.4375   -2.0625  1782168.0  0.15346  0.321286  0.296486
61 2026-06-22 23:00:00  21.3750    0.0000  1782169.0  0.16449  0.334633  0.309833
62 2026-06-22 23:15:00  21.1250    0.0000  1782170.0  0.16745  0.338214  0.313414
63 2026-06-22 23:30:00  20.8750    0.0000  1782171.0  0.16021  0.329454  0.304654
64 2026-06-22 23:45:00  20.6250    0.0000  1782171.0  0.14829  0.315031  0.290231
2026-06-22 07:49:26 info: Baseload uit instellingen
2026-06-22 07:49:27 info: Start waarden: 
      uur                tijd  spot   p_l   p_t  base  pv_ac  pv_dc
0   07:45 2026-06-22 07:45:00 0.134 0.298 0.273 0.042  0.188      0
1   08:00 2026-06-22 08:00:00 0.146 0.313 0.288 0.051  0.311      0
2   08:15 2026-06-22 08:15:00 0.134 0.297 0.272 0.056  0.359      0
3   08:30 2026-06-22 08:30:00 0.125 0.287 0.262 0.061  0.407      0
4   08:45 2026-06-22 08:45:00 0.108 0.266 0.241 0.063  0.470      0
5   09:00 2026-06-22 09:00:00 0.125 0.286 0.262 0.062  0.544      0
6   09:15 2026-06-22 09:15:00 0.119 0.280 0.255 0.064  0.607      0
7   09:30 2026-06-22 09:30:00 0.106 0.264 0.239 0.066  0.671      0
8   09:45 2026-06-22 09:45:00 0.094 0.250 0.225 0.069  0.744      0
9   10:00 2026-06-22 10:00:00 0.112 0.271 0.246 0.073  0.837      0
10  10:15 2026-06-22 10:15:00 0.092 0.247 0.222 0.077  0.910      0
11  10:30 2026-06-22 10:30:00 0.081 0.234 0.209 0.080  0.984      0
12  10:45 2026-06-22 10:45:00 0.065 0.214 0.189 0.080  1.008      0
13  11:00 2026-06-22 11:00:00 0.071 0.222 0.197 0.079  1.007      0
14  11:15 2026-06-22 11:15:00 0.061 0.210 0.185 0.080  1.032      0
15  11:30 2026-06-22 11:30:00 0.051 0.197 0.173 0.081  1.056      0
16  11:45 2026-06-22 11:45:00 0.046 0.191 0.166 0.080  1.035      0
17  12:00 2026-06-22 12:00:00 0.050 0.196 0.171 0.080  0.962      0
18  12:15 2026-06-22 12:15:00 0.041 0.185 0.160 0.079  0.940      0
19  12:30 2026-06-22 12:30:00 0.038 0.181 0.157 0.078  0.919      0
20  12:45 2026-06-22 12:45:00 0.030 0.172 0.147 0.073  0.969      0
21  13:00 2026-06-22 13:00:00 0.036 0.179 0.154 0.063  1.089      0
22  13:15 2026-06-22 13:15:00 0.033 0.176 0.151 0.058  1.139      0
23  13:30 2026-06-22 13:30:00 0.030 0.172 0.147 0.053  1.189      0
24  13:45 2026-06-22 13:45:00 0.030 0.172 0.147 0.055  1.171      0
25  14:00 2026-06-22 14:00:00 0.018 0.157 0.132 0.063  1.093      0
26  14:15 2026-06-22 14:15:00 0.033 0.176 0.151 0.065  1.075      0
27  14:30 2026-06-22 14:30:00 0.037 0.180 0.156 0.067  1.057      0
28  14:45 2026-06-22 14:45:00 0.040 0.184 0.159 0.064  1.076      0
29  15:00 2026-06-22 15:00:00 0.047 0.193 0.168 0.056  1.143      0
30  15:15 2026-06-22 15:15:00 0.057 0.204 0.179 0.053  1.162      0
31  15:30 2026-06-22 15:30:00 0.066 0.215 0.190 0.050  1.181      0
32  15:45 2026-06-22 15:45:00 0.081 0.234 0.209 0.050  1.120      0
33  16:00 2026-06-22 16:00:00 0.072 0.223 0.198 0.047  0.996      0
34  16:15 2026-06-22 16:15:00 0.084 0.238 0.213 0.047  0.935      0
35  16:30 2026-06-22 16:30:00 0.094 0.249 0.225 0.047  0.875      0
36  16:45 2026-06-22 16:45:00 0.113 0.272 0.247 0.068  0.831      0
37  17:00 2026-06-22 17:00:00 0.092 0.247 0.222 0.114  0.800      0
38  17:15 2026-06-22 17:15:00 0.111 0.270 0.245 0.134  0.756      0
39  17:30 2026-06-22 17:30:00 0.120 0.280 0.256 0.155  0.713      0
40  17:45 2026-06-22 17:45:00 0.132 0.295 0.271 0.137  0.672      0
41  18:00 2026-06-22 18:00:00 0.115 0.275 0.250 0.087  0.636      0
42  18:15 2026-06-22 18:15:00 0.130 0.293 0.268 0.069  0.595      0
43  18:30 2026-06-22 18:30:00 0.149 0.316 0.291 0.052  0.555      0
44  18:45 2026-06-22 18:45:00 0.182 0.355 0.331 0.052  0.508      0
45  19:00 2026-06-22 19:00:00 0.150 0.317 0.292 0.066  0.457      0
46  19:15 2026-06-22 19:15:00 0.166 0.336 0.312 0.066  0.410      0
47  19:30 2026-06-22 19:30:00 0.207 0.386 0.362 0.066  0.364      0
48  19:45 2026-06-22 19:45:00 0.261 0.452 0.427 0.063  0.316      0
49  20:00 2026-06-22 20:00:00 0.220 0.402 0.377 0.059  0.265      0
50  20:15 2026-06-22 20:15:00 0.259 0.448 0.424 0.056  0.217      0
51  20:30 2026-06-22 20:30:00 0.293 0.490 0.465 0.054  0.169      0
52  20:45 2026-06-22 20:45:00 0.300 0.499 0.474 0.052  0.132      0
53  21:00 2026-06-22 21:00:00 0.300 0.499 0.474 0.050  0.089      0
54  21:15 2026-06-22 21:15:00 0.280 0.475 0.450 0.048  0.045      0
55  21:30 2026-06-22 21:30:00 0.249 0.437 0.412 0.046  0.013      0
56  21:45 2026-06-22 21:45:00 0.207 0.386 0.361 0.046  0.005      0
57  22:00 2026-06-22 22:00:00 0.234 0.419 0.394 0.046  0.008      0
58  22:15 2026-06-22 22:15:00 0.208 0.388 0.363 0.045  0.002      0
59  22:30 2026-06-22 22:30:00 0.171 0.342 0.317 0.045  0.000      0
60  22:45 2026-06-22 22:45:00 0.153 0.321 0.296 0.044  0.000      0
61  23:00 2026-06-22 23:00:00 0.164 0.335 0.310 0.042  0.000      0
62  23:15 2026-06-22 23:15:00 0.167 0.338 0.313 0.041  0.000      0
63  23:30 2026-06-22 23:30:00 0.160 0.329 0.305 0.039  0.000      0
64  23:45 2026-06-22 23:45:00 0.148 0.315 0.290 0.038  0.000      0
2026-06-22 07:49:28 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2026-06-22 07:49:28 info: Warmtepomp niet aanwezig - warmtepomp wordt niet ingepland
2026-06-22 07:49:28 info: Strategie: minimale kosten
2026-06-22 07:49:28 info: Maximale fout (maximal gap): 0.100000 euro
Welcome to the CBC MILP Solver 
Version: devel 
Build Date: Mar 23 2026
Starting solution of the Linear programming relaxation problem using Dual Simplex

Coin0506I Presolve 216 (-244) rows, 216 (-568) columns and 432 (-932) elements
Clp0000I Optimal - objective value -7.4693629
Coin0511I After Postsolve, objective -7.4693629, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective -7.469362864 - 108 iterations time 0.012, Presolve 0.00

Starting MIP optimization

  • tomvandepoel3
  • Registratie: Januari 2026
  • Laatst online: 22:12
Er zit vermoedelijk nog een foutje in het gebruik van "reduce_power_low_soc" (reduced power during discharging). Het vermogen wordt helaas niet gereduceerd. Bij het gebruik van "reduce_power_high_soc" (reduced power during charging) werkt de vermogensreductie wel zoals ik het verwacht.

Afbeeldingslocatie: https://tweakers.net/i/sotJO-MuRBCcJH6b5igG3CmndkE=/fit-in/4000x4000/filters:no_upscale():strip_exif()/f/image/pflOiZQCoFnYvaGIAm1vy04M.png?f=user_large
Hierboven de test situatie van gisteravond en vanochtend:
- charging met reduced power tussen 16:00 en 17:00 (batterij SoC loopt op van 85% naar 97%)
- discharging met reduced power o.a tussen 22:00 en 23:00 (SoC loopt terug van 54% naar 35%)
- discharging met reduced power tussen 6:15 - 7:15 (SoC loopt verder terug naar 3%)

De batterij configuratie:
code:
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
  "battery": [
    {
      "name": "Sessy",
      "entity_actual_level": "sensor.sessy_soc",
      "capacity": 15.6,
      "upper_limit": 100,
      "lower_limit": 0,
      "penalty_low_soc": 0.0025,
      "charge_stages": [
        {
          "power": 0.0,
          "efficiency": 1.0
        },
        {
          "power": 6600.0,
          "efficiency": 0.875
        }
      ],
      "discharge_stages": [
        {
          "power": 0.0,
          "efficiency": 1.0
        },
        {
          "power": 5100.0,
          "efficiency": 0.875
        }
      ],
      "reduce_power_low_soc": [
        { "soc": 0, "power": 1500},
        { "soc": 10, "power": 2000},
        { "soc": 20, "power": 3000},
        { "soc": 30, "power": 4000},
        { "soc": 40, "power": 5000},
        { "soc": 50, "power": 5100},
        { "soc": 100, "power": 5100}
      ],
      "reduce_power_high_soc": [
        { "soc": 0, "power": 6600},
        { "soc": 50, "power": 6600},
        { "soc": 60, "power": 6000},
        { "soc": 70, "power": 5000},
        { "soc": 80, "power": 4000},
        { "soc": 90, "power": 3000},
        { "soc": 100, "power": 1500}
      ],
      "minimum_power": 500,
      "dc_to_bat_efficiency": 0.975,
      "bat_to_dc_efficiency": 0.975,
      "cycle_cost": 0.0,
      "entity_set_power_feedin": "input_number.dao_battery_set_power_feedin",
      "entity_set_operating_mode": "input_select.dao_battery_set_operating_mode",
      "entity_set_operating_mode_on": "Aan",
      "entity_set_operating_mode_off": "Uit",
      "entity_from_battery": "input_number.dao_battery_from_battery",
      "entity_from_pv": "input_number.dao_battery_from_pv",
      "entity_from_ac": "input_number.dao_battery_from_ac",
      "entity_calculated_soc": "input_number.dao_battery_calculated_soc",
      "solar": []
    }
De relevante statements uit de log files voor charging met reduced power:
code:
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
CHARGING (OK) - Netto vermogen wordt correct gereduceert:

2026-06-21 16:15:13 info: Startwaarde SoC Sessy: 85.0%
2026-06-21 16:15:31 info: Doorzetten van alle settings naar HA
2026-06-21 16:15:31 info: Grid balanceren: off
2026-06-21 16:15:32 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 3712 W 

2026-06-21 16:30:11 info: Startwaarde SoC Sessy: 88.6666666666667%
2026-06-21 16:30:34 info: Doorzetten van alle settings naar HA
2026-06-21 16:30:34 info: Grid balanceren: off
2026-06-21 16:30:34 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 3276 W

2026-06-21 16:45:04 info: Startwaarde SoC Sessy: 92.3333333333333%
2026-06-21 16:45:30 info: Doorzetten van alle settings naar HA
2026-06-21 16:45:30 info: Grid balanceren: off
2026-06-21 16:45:30 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 2710 W 

2026-06-21 17:00:04 info: Startwaarde SoC Sessy: 96.3333333333333%
2026-06-21 17:00:24 info: Doorzetten van alle settings naar HA
2026-06-21 17:00:24 info: Grid balanceren: off
2026-06-21 17:00:24 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 2097 W

2026-06-21 17:15:03 info: Startwaarde SoC Sessy: 97.3333333333333%
2026-06-21 17:15:24 info: Doorzetten van alle settings naar HA
2026-06-21 17:15:24 info: Grid balanceren: off
2026-06-21 17:15:24 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 1943 W
En tenslotte de relevante statements uit de log files voor discharging met reduced power:
code:
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
DISCHARGING (Not OK) - Netto vermogen wordt niet gereduceert:

---- gisteravond ---

2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 0% and 10% power is reduced from 1500W until 2000W
2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 10% and 20% power is reduced from 2000W until 3000W
2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 20% and 30% power is reduced from 3000W until 4000W
2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 30% and 40% power is reduced from 4000W until 5000W
2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 40% and 50% power is reduced from 5000W until 5100W
2026-06-21 20:15:03 info: Reduced power applied during discharging at low soc, between 50% and 100% power is reduced from 5100W until 5100W

2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 0% and 50% power is reduced from 6600W until 6600W
2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 50% and 60% power is reduced from 6600W until 6000W
2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 60% and 70% power is reduced from 6000W until 5000W
2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 70% and 80% power is reduced from 5000W until 4000W
2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 80% and 90% power is reduced from 4000W until 3000W
2026-06-21 20:15:03 info: Reduced power applied during charging at high soc, between 90% and 100% power is reduced from 3000W until 1500W

2026-06-21 22:15:03 info: Startwaarde SoC Sessy: 54.3333333333333%
2026-06-21 22:15:18 info: Doorzetten van alle settings naar HA
2026-06-21 22:15:18 info: Grid balanceren: off
2026-06-21 22:15:19 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-21 22:25

2026-06-21 22:30:02 info: Startwaarde SoC Sessy: 50.0%
2026-06-21 22:30:17 info: Doorzetten van alle settings naar HA
2026-06-21 22:30:17 info: Grid balanceren: off
2026-06-21 22:30:17 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-21 22:39

2026-06-21 22:45:02 info: Startwaarde SoC Sessy: 45.0%
2026-06-21 22:45:16 info: Doorzetten van alle settings naar HA
2026-06-21 22:45:16 info: Grid balanceren: off
2026-06-21 22:45:16 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-21 22:54

2026-06-21 23:00:03 info: Startwaarde SoC Sessy: 40.0%
2026-06-21 23:00:17 info: Doorzetten van alle settings naar HA
2026-06-21 23:00:17 info: Grid balanceren: off
2026-06-21 23:00:18 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-21 23:08

2026-06-21 23:15:03 info: Startwaarde SoC Sessy: 34.6666666666667%
2026-06-21 23:15:17 info: Doorzetten van alle settings naar HA
2026-06-21 23:15:17 info: Grid balanceren: off
2026-06-21 23:15:17 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: 0 W 

---- vanochtend ---

2026-06-22 06:15:03 info: Startwaarde SoC Sessy: 32.3333333333333%
2026-06-22 06:15:13 info: Doorzetten van alle settings naar HA
2026-06-22 06:15:13 info: Grid balanceren: off
2026-06-22 06:15:13 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-22 06:22

2026-06-22 06:30:03 info: Startwaarde SoC Sessy: 24.6666666666667%
2026-06-22 06:30:13 info: Doorzetten van alle settings naar HA
2026-06-22 06:30:13 info: Grid balanceren: off
2026-06-22 06:30:13 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-22 06:36

2026-06-22 07:15:03 info: Startwaarde SoC Sessy: 3.0%
2026-06-22 07:15:12 info: Doorzetten van alle settings naar HA
2026-06-22 07:15:12 info: Grid balanceren: off
2026-06-22 07:15:12 info: Netto vermogen naar(+)/uit(-) omvormer Sessy: -5100 W  tot: 2026-06-22 07:18
Helaas blijft het Netto vermogen uit de Sessy omvormer constant op -5100 W en vindt er geen reductie plaats.

  • manusjevanalles
  • Registratie: Januari 2009
  • Laatst online: 01:58
Ik probeer DAO werkend te krijgen. Ik heb nu mijn zonnepanelen erin zitten en probeer als eerste apparaat de wasmachine toe te voegen. Ik krijg het niet goed werkend.

Afbeeldingslocatie: https://tweakers.net/i/iQzOX6dRWKxYxH2TdJKvmdu1bAc=/fit-in/4000x4000/filters:no_upscale():strip_exif()/f/image/N2iyiZKru6sCKckxGfdOFDAP.png?f=user_large
"config_version": 2,

"homeassistant": {

"ip_address": "10.0.0.11",

"ip_port": 8123,

"hasstoken": "",

"protocol_api": "http"

},

"database_ha": {

"engine": "sqlite",

"db_path": "/homeassistant",

"database": "home-assistant_v2.db"

},

"database_da": {

"engine": "sqlite",

"db_path": "../data",

"database": "day_ahead.db"

},

"meteoserver_key": "",

"meteoserver_model": "harmonie",

"meteoserver_attemps": 2,

"prices": {

"source_day_ahead": "nordpool",

"energy_taxes_consumption": {

"2025-01-01": 0.10154,

"2026-01-01": 0.09161

},

"energy_taxes_production": {

"2025-01-01": 0.10154,

"2026-01-01": 0.09161

},

"cost_supplier_consumption": {

"2024-08-01": 0.0165

},

"cost_supplier_production": {

"2024-08-01": 0.0165

},

"vat_consumption": {

"2023-01-01": 21.0

},

"vat_production": {

"2023-01-01": 21.0

},

"multiplier_consumption": {

"2000-01-01": 1.0

},

"multiplier_production": {

"2000-01-01": 1.0

},

"last_invoice": "2025-07-01",

"tax_refund": true,

"regular high": 0.5,

"regular low": 0.4,

"switch to low": 23

},

"logging_level": "info",

"use_calc_baseload": false,

"baseload_calc_periode": 56,

"baseload": [

0.14,

0.38,

0.26,

0.42,

0.15,

0.12,

0.13,

0.15,

0.23,

0.26,

0.31,

0.32,

0.31,

0.23,

0.26,

0.21,

0.21,

0.54,

0.26,

0.26,

0.22,

0.19,

0.18,

0.16

],

"graphical_backend": "",

"graphics": {

"style": "Solarize_Light2",

"battery_balance": true,

"prices_consumption": true,

"prices_production": false,

"prices_spot": true,

"average_consumption": true,

"show": "true"

},

"interval": "15min",

"strategy": "minimize cost",

"max_gap": 0.005,

"notifications": {

"opstarten": false,

"berekening": false

},

"grid": {

"max_power": 17.0

},

"history": {

"save_days": 7

},

"dashboard": {

"port": 5000

},

"battery": [],

"solar": [

{

"name": "Dak zuid",

"tilt": 45.0,

"orientation": 73.0,

"capacity": 6.44,

"yield_factor": 0.0125,

"strings": [],

"ml_prediction": true,

"ml_training_start_date": "2000-01-01",

"entities_sensors": [

"sensor.saj_total_yield"

],

"max_power": 6.0

}

],

"electric_vehicle": [],

"machines": [

{

"name": "Wasmachine",

"programs": [

{

"name": "Uit",

"power": []

},

{

"name": "30 graden",

"power": [

2480.0,

1430.0,

51.0,

52.0,

52.0,

52.0,

55.0,

85.0

]

}

],

"entity_start_window": "input_datetime.helper_dao_wasmachine_range_start",

"entity_end_window": "input_datetime.helper_dao_wasmachine_range_eind",

"entity_selected_program": "input_select.helper_dao_wasmachine_programma",

"entity_calculated_start": "input_datetime.helper_dao_wasmachine_start",

"entity_calculated_end": "input_datetime.helper_dao_wasmachine_eindtijd"

}

],

"boiler": {

"boiler_present": false,

"entity actual temp.": "sensor.boiler_gemeten",

"entity setpoint": "sensor.boiler_ingesteld",

"entity hysterese": "sensor.hysterese_hot_water",

"cop": 2.9,

"cooling rate": 0.4,

"volume": 180,

"heating allowed below": 44,

"elec. power": 1500,

"activate service": "press",

"activate entity": "input_button.hw_trigger"

},

"heating": {

"heater_present": false,

"degree days factor": 3.6,

"stages": [

{

"max_power": 225,

"cop": 7.1

},

{

"max_power": 300,

"cop": 7.0

},

{

"max_power": 400,

"cop": 6.5

},

{

"max_power": 500,

"cop": 6.0

},

{

"max_power": 600,

"cop": 5.5

},

{

"max_power": 750,

"cop": 5.0

},

{

"max_power": 1000,

"cop": 4.5

},

{

"max_power": 1250,

"cop": 4.0

}

],

"entity adjust heating curve": "input_number.stooklijn_verschuiving_day_ahead",

"adjustment factor": 0.04

},

"tibber": {

"api_token": "!secret tibber_api_token",

"api_url": "https://api.tibber.com/v1-beta/gql"

},

"xgboost": {

"tune_hyperparameters": true

},

"report": {

"entities_grid_consumption": [

"sensor.grid_consumption_low",

"sensor.grid_consumption_high"

],

"entities_grid_production": [

"sensor.grid_production_low",

"sensor.grid_production_high"

],

"entities_solar_production_ac": [

"sensor.solaredge_woning_ac_energy_kwh"

],

"entities_solar_production_dc": [],

"entities_ev_consumption": [

"sensor.laadpunt_total_energy"

],

"entities_wp_consumption": [],

"entities_boiler_consumption": [],

"entities_battery_consumption": [

"sensor.ess_grid_consumption"

],

"entities_battery_production": [

"sensor.ess_grid_production"

],

"entities_machine_consumption": []

},

"scheduler": {

"active": true,

"schedule": [

{

"time": "0435",

"action": "get_meteo_data"

},

{

"time": "1035",

"action": "get_meteo_data"

},

{

"time": "1635",

"action": "get_meteo_data"

},

{

"time": "2235",

"action": "get_meteo_data"

},

{

"time": "1255",

"action": "get_day_ahead_prices"

},

{

"time": "1355",

"action": "get_day_ahead_prices"

},

{

"time": "1455",

"action": "get_day_ahead_prices"

},

{

"time": "1554",

"action": "get_day_ahead_prices"

},

{

"time": "1655",

"action": "get_day_ahead_prices"

},

{

"time": "xx00",

"action": "calc_optimum"

},

{

"time": "xx15",

"action": "calc_optimum"

},

{

"time": "xx30",

"action": "calc_optimum"

},

{

"time": "xx45",

"action": "calc_optimum"

},

{

"time": "2359",

"action": "clean_data"

}

]

},

"meteoserver_attempts": 2

}
Output:
2026-06-22 20:57:36 INFO: Loaded 6 secrets from ../data/secrets.json
2026-06-22 20:57:36 INFO: Validating configuration with ConfigurationV2
2026-06-22 20:57:36 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-22 20:57:36 info: Day Ahead Optimalisering gestart op: 22-06-2026 20:57:36
2026-06-22 20:57:36 info: Day Ahead Optimalisatie gestart: 22-06-2026 20:57:36 taak: calc_optimum_met_debug
2026-06-22 20:57:36 info: Debug = True
2026-06-22 20:57:36 info: Baseload uit instellingen
2026-06-22 20:57:37 info: ML prediction Dak_zuid
date_time prediction
0 2026-06-22 20:00:00+02:00 0.304
1 2026-06-22 21:00:00+02:00 0.041
2 2026-06-22 22:00:00+02:00 0.000
3 2026-06-22 23:00:00+02:00 0.000
4 2026-06-23 00:00:00+02:00 0.000
5 2026-06-23 01:00:00+02:00 0.000
6 2026-06-23 02:00:00+02:00 0.003
7 2026-06-23 03:00:00+02:00 0.003
8 2026-06-23 04:00:00+02:00 0.003
9 2026-06-23 05:00:00+02:00 0.027
10 2026-06-23 06:00:00+02:00 0.318
11 2026-06-23 07:00:00+02:00 1.104
12 2026-06-23 08:00:00+02:00 1.896
13 2026-06-23 09:00:00+02:00 2.731
14 2026-06-23 10:00:00+02:00 3.419
15 2026-06-23 11:00:00+02:00 3.685
16 2026-06-23 12:00:00+02:00 3.952
17 2026-06-23 13:00:00+02:00 4.132
18 2026-06-23 14:00:00+02:00 3.848
19 2026-06-23 15:00:00+02:00 3.563
20 2026-06-23 16:00:00+02:00 3.023
21 2026-06-23 17:00:00+02:00 2.140
22 2026-06-23 18:00:00+02:00 1.297
23 2026-06-23 19:00:00+02:00 0.568
24 2026-06-23 20:00:00+02:00 0.299
25 2026-06-23 21:00:00+02:00 0.041
26 2026-06-23 22:00:00+02:00 0.000
27 2026-06-23 23:00:00+02:00 0.000
2026-06-22 20:57:37 info: Start waarden:
uur tijd spot p_l p_t base pv_ac pv_dc
0 20:45 2026-06-22 20:45:00 0.300 0.494 0.494 0.052 0.008 0
1 21:00 2026-06-22 21:00:00 0.300 0.494 0.494 0.050 0.031 0
2 21:15 2026-06-22 21:15:00 0.280 0.470 0.470 0.048 0.015 0
3 21:30 2026-06-22 21:30:00 0.249 0.432 0.432 0.046 0.000 0
4 21:45 2026-06-22 21:45:00 0.207 0.381 0.381 0.046 0.000 0
5 22:00 2026-06-22 22:00:00 0.234 0.414 0.414 0.046 0.003 0
6 22:15 2026-06-22 22:15:00 0.208 0.383 0.383 0.045 0.001 0
7 22:30 2026-06-22 22:30:00 0.171 0.337 0.337 0.045 0.000 0
8 22:45 2026-06-22 22:45:00 0.153 0.316 0.316 0.044 0.000 0
9 23:00 2026-06-22 23:00:00 0.164 0.330 0.330 0.042 0.000 0
10 23:15 2026-06-22 23:15:00 0.167 0.333 0.333 0.041 0.000 0
11 23:30 2026-06-22 23:30:00 0.160 0.325 0.325 0.039 0.000 0
12 23:45 2026-06-22 23:45:00 0.148 0.310 0.310 0.038 0.000 0
13 00:00 2026-06-23 00:00:00 0.154 0.317 0.317 0.033 0.000 0
14 00:15 2026-06-23 00:15:00 0.149 0.311 0.311 0.032 0.000 0
15 00:30 2026-06-23 00:30:00 0.142 0.303 0.303 0.030 0.000 0
16 00:45 2026-06-23 00:45:00 0.138 0.298 0.298 0.045 0.000 0
17 01:00 2026-06-23 01:00:00 0.142 0.303 0.303 0.078 0.000 0
18 01:15 2026-06-23 01:15:00 0.138 0.298 0.298 0.093 0.000 0
19 01:30 2026-06-23 01:30:00 0.137 0.296 0.296 0.108 0.000 0
20 01:45 2026-06-23 01:45:00 0.135 0.294 0.294 0.101 0.000 0
21 02:00 2026-06-23 02:00:00 0.136 0.296 0.296 0.072 0.001 0
22 02:15 2026-06-23 02:15:00 0.134 0.293 0.293 0.064 0.001 0
23 02:30 2026-06-23 02:30:00 0.133 0.292 0.292 0.057 0.001 0
24 02:45 2026-06-23 02:45:00 0.134 0.292 0.292 0.067 0.001 0
25 03:00 2026-06-23 03:00:00 0.134 0.293 0.293 0.097 0.001 0
26 03:15 2026-06-23 03:15:00 0.135 0.294 0.294 0.107 0.001 0
27 03:30 2026-06-23 03:30:00 0.133 0.292 0.292 0.117 0.001 0
28 03:45 2026-06-23 03:45:00 0.135 0.295 0.295 0.100 0.001 0
29 04:00 2026-06-23 04:00:00 0.135 0.295 0.295 0.059 0.000 0
30 04:15 2026-06-23 04:15:00 0.135 0.294 0.294 0.042 0.000 0
31 04:30 2026-06-23 04:30:00 0.136 0.296 0.296 0.025 0.000 0
32 04:45 2026-06-23 04:45:00 0.141 0.301 0.301 0.023 0.002 0
33 05:00 2026-06-23 05:00:00 0.134 0.294 0.294 0.032 0.000 0
34 05:15 2026-06-23 05:15:00 0.136 0.295 0.295 0.030 0.002 0
35 05:30 2026-06-23 05:30:00 0.142 0.303 0.303 0.028 0.003 0
36 05:45 2026-06-23 05:45:00 0.152 0.315 0.315 0.029 0.021 0
37 06:00 2026-06-23 06:00:00 0.155 0.318 0.318 0.031 0.044 0
38 06:15 2026-06-23 06:15:00 0.167 0.332 0.332 0.032 0.063 0
39 06:30 2026-06-23 06:30:00 0.178 0.346 0.346 0.033 0.081 0
40 06:45 2026-06-23 06:45:00 0.192 0.363 0.363 0.034 0.130 0
41 07:00 2026-06-23 07:00:00 0.191 0.362 0.362 0.035 0.202 0
42 07:15 2026-06-23 07:15:00 0.173 0.341 0.341 0.036 0.251 0
43 07:30 2026-06-23 07:30:00 0.162 0.327 0.327 0.037 0.300 0
44 07:45 2026-06-23 07:45:00 0.141 0.301 0.301 0.042 0.350 0
45 08:00 2026-06-23 08:00:00 0.173 0.340 0.340 0.051 0.399 0
46 08:15 2026-06-23 08:15:00 0.150 0.313 0.313 0.056 0.449 0
47 08:30 2026-06-23 08:30:00 0.123 0.280 0.280 0.061 0.498 0
48 08:45 2026-06-23 08:45:00 0.113 0.267 0.267 0.063 0.550 0
49 09:00 2026-06-23 09:00:00 0.126 0.283 0.283 0.062 0.607 0
50 09:15 2026-06-23 09:15:00 0.116 0.271 0.271 0.064 0.659 0
51 09:30 2026-06-23 09:30:00 0.108 0.262 0.262 0.066 0.711 0
52 09:45 2026-06-23 09:45:00 0.101 0.253 0.253 0.069 0.754 0
53 10:00 2026-06-23 10:00:00 0.114 0.269 0.269 0.073 0.797 0
54 10:15 2026-06-23 10:15:00 0.100 0.252 0.252 0.077 0.840 0
55 10:30 2026-06-23 10:30:00 0.090 0.240 0.240 0.080 0.883 0
56 10:45 2026-06-23 10:45:00 0.082 0.231 0.231 0.080 0.900 0
57 11:00 2026-06-23 11:00:00 0.087 0.236 0.236 0.079 0.896 0
58 11:15 2026-06-23 11:15:00 0.079 0.227 0.227 0.080 0.913 0
59 11:30 2026-06-23 11:30:00 0.070 0.216 0.216 0.081 0.930 0
60 11:45 2026-06-23 11:45:00 0.069 0.214 0.214 0.080 0.946 0
61 12:00 2026-06-23 12:00:00 0.077 0.224 0.224 0.080 0.964 0
62 12:15 2026-06-23 12:15:00 0.061 0.205 0.205 0.079 0.981 0
63 12:30 2026-06-23 12:30:00 0.052 0.194 0.194 0.078 0.998 0
64 12:45 2026-06-23 12:45:00 0.048 0.189 0.189 0.073 1.009 0
65 13:00 2026-06-23 13:00:00 0.047 0.187 0.187 0.063 1.023 0
66 13:15 2026-06-23 13:15:00 0.046 0.187 0.187 0.058 1.035 0
67 13:30 2026-06-23 13:30:00 0.040 0.179 0.179 0.053 1.046 0
68 13:45 2026-06-23 13:45:00 0.041 0.181 0.181 0.055 1.028 0
69 14:00 2026-06-23 14:00:00 0.032 0.169 0.169 0.063 0.989 0
70 14:15 2026-06-23 14:15:00 0.036 0.175 0.175 0.065 0.971 0
71 14:30 2026-06-23 14:30:00 0.040 0.179 0.179 0.067 0.953 0
72 14:45 2026-06-23 14:45:00 0.057 0.200 0.200 0.064 0.935 0
73 15:00 2026-06-23 15:00:00 0.000 0.131 0.131 0.056 0.922 0
74 15:15 2026-06-23 15:15:00 0.054 0.197 0.197 0.053 0.904 0
75 15:30 2026-06-23 15:30:00 0.072 0.218 0.218 0.050 0.886 0
76 15:45 2026-06-23 15:45:00 0.093 0.244 0.244 0.050 0.852 0
77 16:00 2026-06-23 16:00:00 0.077 0.224 0.224 0.047 0.812 0
78 16:15 2026-06-23 16:15:00 0.092 0.242 0.242 0.047 0.778 0
79 16:30 2026-06-23 16:30:00 0.109 0.262 0.262 0.047 0.744 0
80 16:45 2026-06-23 16:45:00 0.121 0.277 0.277 0.068 0.689 0
81 17:00 2026-06-23 17:00:00 0.104 0.256 0.256 0.114 0.617 0
82 17:15 2026-06-23 17:15:00 0.118 0.273 0.273 0.134 0.562 0
83 17:30 2026-06-23 17:30:00 0.124 0.281 0.281 0.155 0.507 0
84 17:45 2026-06-23 17:45:00 0.142 0.303 0.303 0.137 0.454 0
85 18:00 2026-06-23 18:00:00 0.120 0.276 0.276 0.087 0.401 0
86 18:15 2026-06-23 18:15:00 0.147 0.309 0.309 0.069 0.349 0
87 18:30 2026-06-23 18:30:00 0.179 0.347 0.347 0.052 0.296 0
88 18:45 2026-06-23 18:45:00 0.233 0.413 0.413 0.052 0.251 0
89 19:00 2026-06-23 19:00:00 0.181 0.350 0.350 0.066 0.203 0
90 19:15 2026-06-23 19:15:00 0.244 0.426 0.426 0.066 0.158 0
91 19:30 2026-06-23 19:30:00 0.424 0.643 0.643 0.066 0.112 0
92 19:45 2026-06-23 19:45:00 0.500 0.736 0.736 0.063 0.095 0
93 20:00 2026-06-23 20:00:00 0.481 0.713 0.713 0.059 0.100 0
94 20:15 2026-06-23 20:15:00 0.561 0.809 0.809 0.056 0.083 0
95 20:30 2026-06-23 20:30:00 0.614 0.874 0.874 0.054 0.066 0
96 20:45 2026-06-23 20:45:00 0.657 0.926 0.926 0.052 0.050 0
97 21:00 2026-06-23 21:00:00 0.599 0.856 0.856 0.050 0.031 0
98 21:15 2026-06-23 21:15:00 0.591 0.846 0.846 0.048 0.015 0
99 21:30 2026-06-23 21:30:00 0.586 0.840 0.840 0.046 0.000 0
100 21:45 2026-06-23 21:45:00 0.478 0.709 0.709 0.046 0.000 0
101 22:00 2026-06-23 22:00:00 0.487 0.721 0.721 0.046 0.003 0
102 22:15 2026-06-23 22:15:00 0.445 0.669 0.669 0.045 0.001 0
103 22:30 2026-06-23 22:30:00 0.271 0.459 0.459 0.045 0.000 0
104 22:45 2026-06-23 22:45:00 0.197 0.369 0.369 0.044 0.000 0
105 23:00 2026-06-23 23:00:00 0.219 0.396 0.396 0.042 0.000 0
106 23:15 2026-06-23 23:15:00 0.248 0.431 0.431 0.041 0.000 0
107 23:30 2026-06-23 23:30:00 0.196 0.368 0.368 0.039 0.000 0
108 23:45 2026-06-23 23:45:00 0.171 0.338 0.338 0.038 0.000 0
2026-06-22 20:57:38 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2026-06-22 20:57:38 info: Warmtepomp niet aanwezig - warmtepomp wordt niet ingepland
2026-06-22 20:57:38 info: Apparaat Wasmachine direct starten staat uit
2026-06-22 20:57:38 info: Apparaat Wasmachine met programma '30 graden' wordt ingepland tussen 2026-06-22 21:00 en 2026-06-22 23:59.
2026-06-22 20:57:38 info: Strategie: minimale kosten
2026-06-22 20:57:38 info: Maximale fout (maximal gap): 0.005000 euro
Ik krijg telkens de melding: Opdracht 'Optimaliseringsberekening met debug' geëindigd met fout.

Welk window ik ook instel, deze foutmelding ontstaat. Ik zie de oplossing even niet meer, wat doe ik fout?

☀️ 6440 Wp zuid | 🌡️ Stiebel Eltron WPL 15 ACS, HM Trend | Home Assistant


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
Dit is precies wat ik heb. Hoe eindigt je log als je "logging_level": "debug" zet in je config? Toevallig net als bij mij (paar posts hierboven)?
@manusjevanalles en anderen:
  • Ik krijg een lamme vinger/muis van die lange logging s en configuraties: graag alles tussen quote-tags (ook reeds geposte bijdragen wijzigen)
  • Lees even een paar bladzijden terug: veel van jullie vragen zijn al eens beantwoord. Zoals die fout na een berekening via het run-menu

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
Ik begrijp niet helemaal wat je bedoelt. Ik waardeer je inzet enorm en het lijkt me een hele krachtige benadering, dat sowieso.
Enige pagina's terug staat dat de error geen error is, maar ik krijg een gewoon resultaat met plaatjes en al als ik solar leeg laat, zodra ik iets toevoeg (ook al komt het direct uit het voorbeeld) krijg ik de error, en alleen maar het weerplaatje.

  • ljsquare
  • Registratie: April 2006
  • Laatst online: 21:09
KC27 schreef op zondag 21 juni 2026 @ 22:13:
[...]

Ik ga ernaar kijken maar waarom zet je het niet tussen quote-tags. Scheelt veel scroll-werk. Kun je alsnog doen door te "wijzigen" (ook je vorige).
Uit zichzelf (ik heb geen instelling veranderd) berekent DAO alles weer en krijg ik de melding geen berekening mogelijk niet meer bij minimize costs.
Maar kan dit een (situatie afhankelijke) bug zijn?

Laurens-Jan Merkx


  • wmc
  • Registratie: November 2012
  • Laatst online: 20:04

wmc

Het is weer heet, dus de discussie over koelen start weer :).

Ik koel met een L/W warmtepomp en praktisch gezien laat ik hem bijna 24/7 lopen. Dit kan ik dus afvangen door de baseload te verhogen met het de energie die de warmtepomp in 15 minuten gebruikt. Echter, stel dat ik de warmte pomp 12 van de 24 uur wil laten draaien, dan zie ik een aantal opties:
- Een complete overhaul van DAO, waarbij koel energie op dezelfde manier wordt geimplementeerd als het opwarmen van het huis (onrealistische vraag)
- Implementatie als machine. Het vermogen is redelijk constant, echter ik zou graag willen kunnen werken in blokken. De implementatie die ik in gedachte heb is een machine aanmaken voor een blok van 2 uur, dat vervolgens ergens op de dag gepland kan worden. Als dit blok loopt moet er een nieuw blok gepland worden, totdat voldaan is aan het totaal aantal uren dat is ingesteld (in het voorbeeld dus 6 blokken van 2 uur). Het grootste probleem dat ik hier zie is dat DAO zich niet bewust is van het aantal blokken dat ingepland moet worden, en er dus geen rekening gehouden wordt met de totalen duur.

Hoe kijken jullie hier tegenaan?

  • manusjevanalles
  • Registratie: Januari 2009
  • Laatst online: 01:58
stat schreef op maandag 22 juni 2026 @ 22:44:
Ik begrijp niet helemaal wat je bedoelt. Ik waardeer je inzet enorm en het lijkt me een hele krachtige benadering, dat sowieso.
Enige pagina's terug staat dat de error geen error is, maar ik krijg een gewoon resultaat met plaatjes en al als ik solar leeg laat, zodra ik iets toevoeg (ook al komt het direct uit het voorbeeld) krijg ik de error, en alleen maar het weerplaatje.
Ik heb hetzelfde. Ik kom er helaas niet uit. Window voor wasmachine staat tussen 7-13 uur, maar hij wordt gewoon niet ingepland.

☀️ 6440 Wp zuid | 🌡️ Stiebel Eltron WPL 15 ACS, HM Trend | Home Assistant


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
Heb het net op kunnen lossen, mijn probleem bleek veroorzaakt door oude hardware waarop proxmox draait. Met processor=host deed 1 van mijn servers het wel, maar een andere niet. Die nu ook opgelost door eea zelf te compileren (kwartiertje ofzo) zoals hier beschreven:
JohnnyDune schreef op vrijdag 15 mei 2026 @ 13:49:
[...]

Hierbij nog even een bevestiging van het bovenstaande: ik had exact dezelfde problemen als @eagle73 (DAO en HA in afzonderlijke docker containers. Bij mij draait Docker onder Fedora, met als hardware een Mac mini 2011 Server met een Pentium i7 quad core). Een uitstapje in de Docker manager gaf mij de miplib, deze heb ik laten compileren en DAO draait nu weer perfect. Enorm bedankt voor de tip, @eagle73!
Ik ga weer verder uitproberen!

  • tomvandepoel3
  • Registratie: Januari 2026
  • Laatst online: 22:12
manusjevanalles schreef op dinsdag 23 juni 2026 @ 07:36:
[...]


Ik heb hetzelfde. Ik kom er helaas niet uit. Window voor wasmachine staat tussen 7-13 uur, maar hij wordt gewoon niet ingepland.
In de log file van je eerste post (maandagavond rond 20:00) staat:
code:
1
2
3
4
5
2026-06-22 20:57:36 info: Day Ahead Optimalisering gestart op: 22-06-2026 20:57:36
2026-06-22 20:57:36 info: Day Ahead Optimalisatie gestart: 22-06-2026 20:57:36 taak: calc_optimum_met_debug
2026-06-22 20:57:36 info: Debug = True
...
2026-06-22 20:57:38 info: Apparaat Wasmachine met programma '30 graden' wordt ingepland tussen 2026-06-22 21:00 en 2026-06-22 23:59.
Mijn conclusie is dat de wasmachine keurig tussen de "range start" en "range eind" tijdstippen wordt ingepland door DAO.
Omdat je "Run - Optimaliseringsberekening met debug" gebruikt wordt het planningsresultaat echter nog NIET naar je HA entiteiten doorgezet (die veranderen dus niet).
code:
1
2
"entity_calculated_start": "input_datetime.helper_dao_wasmachine_start",
"entity_calculated_end": "input_datetime.helper_dao_wasmachine_eindtijd"
Als volgende stap zou je "Run - Optimaliseringsberekening zonder debug" moeten kunnen proberen om daarna te zien of DAO de planningsresultaten goed doorzet. Tenslotte heb je nog een HA automation nodig die op op de calculated_start tijd ook echt de wasmachine aanzet.

Success.

  • manusjevanalles
  • Registratie: Januari 2009
  • Laatst online: 01:58
tomvandepoel3 schreef op dinsdag 23 juni 2026 @ 10:40:
[...]


In de log file van je eerste post (maandagavond rond 20:00) staat:
code:
1
2
3
4
5
2026-06-22 20:57:36 info: Day Ahead Optimalisering gestart op: 22-06-2026 20:57:36
2026-06-22 20:57:36 info: Day Ahead Optimalisatie gestart: 22-06-2026 20:57:36 taak: calc_optimum_met_debug
2026-06-22 20:57:36 info: Debug = True
...
2026-06-22 20:57:38 info: Apparaat Wasmachine met programma '30 graden' wordt ingepland tussen 2026-06-22 21:00 en 2026-06-22 23:59.
Mijn conclusie is dat de wasmachine keurig tussen de "range start" en "range eind" tijdstippen wordt ingepland door DAO.
Omdat je "Run - Optimaliseringsberekening met debug" gebruikt wordt het planningsresultaat echter nog NIET naar je HA entiteiten doorgezet (die veranderen dus niet).
code:
1
2
"entity_calculated_start": "input_datetime.helper_dao_wasmachine_start",
"entity_calculated_end": "input_datetime.helper_dao_wasmachine_eindtijd"
Als volgende stap zou je "Run - Optimaliseringsberekening zonder debug" moeten kunnen proberen om daarna te zien of DAO de planningsresultaten goed doorzet. Tenslotte heb je nog een HA automation nodig die op op de calculated_start tijd ook echt de wasmachine aanzet.

Success.
Ook zonder debug worden er geen tijden naar HA gestuurd en het dashboard in DAO laat alleen weersinfo zien.

☀️ 6440 Wp zuid | 🌡️ Stiebel Eltron WPL 15 ACS, HM Trend | Home Assistant


  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
@manusjevanalles op wat voor hardware / omgeving draai jij? Zou het iets vergelijkbaars kunnen zijn? Compileren van miplib is een kleine moeite.

  • sMoKeFiSh
  • Registratie: Februari 2003
  • Laatst online: 18:44
DAO wil de Tesla weer niet laden. Direct Laden staat aan, maar wordt niet ingepland omdat er niet voldoende tijd is om tot 100% te laden? Een laadopdracht moet toch gewoon altijd gestart worden ongeacht het eindpercentage dat haalbaar is?

Edit: Ik heb een beetje het gevoel dat hij de 2 auto's door elkaar haalt. Ik heb net de stekker uit de EV6 gehaald en de volgende run begon DAO de Tesla wel in te plannen.
[code2026-06-23 12:52:20 INFO: Loaded 6 secrets from ../data/secrets.json
2026-06-23 12:52:20 INFO: Validating configuration with ConfigurationV2
2026-06-23 12:52:20 info: Day Ahead Optimalisering versie: 2026.6.0
2026-06-23 12:52:20 info: Day Ahead Optimalisering gestart op: 23-06-2026 12:52:20
2026-06-23 12:52:20 info: Day Ahead Optimalisatie gestart: 23-06-2026 12:52:20 taak: calc_optimum
2026-06-23 12:52:20 info: Debug = False
2026-06-23 12:52:20 info: Baseload uit instellingen
2026-06-23 12:52:21 info: Start waarden:
uur tijd spot p_l p_t base pv_ac pv_dc
0 12:45 2026-06-23 12:45:00 0.048 0.201 0.201 0.275 0 2.353
1 13:00 2026-06-23 13:00:00 0.047 0.199 0.199 0.275 0 4.477
2 13:15 2026-06-23 13:15:00 0.046 0.199 0.199 0.275 0 4.399
3 13:30 2026-06-23 13:30:00 0.040 0.191 0.191 0.275 0 4.321
4 13:45 2026-06-23 13:45:00 0.041 0.193 0.193 0.275 0 4.436
5 14:00 2026-06-23 14:00:00 0.032 0.181 0.181 0.275 0 4.743
6 14:15 2026-06-23 14:15:00 0.036 0.187 0.187 0.275 0 4.858
7 14:30 2026-06-23 14:30:00 0.040 0.191 0.191 0.275 0 4.972
8 14:45 2026-06-23 14:45:00 0.057 0.212 0.212 0.275 0 4.886
9 15:00 2026-06-23 15:00:00 0.000 0.143 0.143 0.270 0 4.662
10 15:15 2026-06-23 15:15:00 0.054 0.209 0.209 0.270 0 4.576
11 15:30 2026-06-23 15:30:00 0.072 0.230 0.230 0.270 0 4.490
12 15:45 2026-06-23 15:45:00 0.093 0.256 0.256 0.289 0 4.358
13 16:00 2026-06-23 16:00:00 0.077 0.236 0.236 0.327 0 4.209
14 16:15 2026-06-23 16:15:00 0.092 0.254 0.254 0.345 0 4.078
15 16:30 2026-06-23 16:30:00 0.109 0.274 0.274 0.364 0 3.947
16 16:45 2026-06-23 16:45:00 0.121 0.289 0.289 0.364 0 3.760
17 17:00 2026-06-23 17:00:00 0.104 0.268 0.268 0.350 0 3.537
18 17:15 2026-06-23 17:15:00 0.118 0.285 0.285 0.350 0 3.349
19 17:30 2026-06-23 17:30:00 0.124 0.293 0.293 0.350 0 3.162
20 17:45 2026-06-23 17:45:00 0.142 0.315 0.315 0.350 0 2.941
21 18:00 2026-06-23 18:00:00 0.120 0.288 0.288 0.350 0 2.695
22 18:15 2026-06-23 18:15:00 0.147 0.321 0.321 0.350 0 2.475
23 18:30 2026-06-23 18:30:00 0.179 0.359 0.359 0.350 0 2.255
24 18:45 2026-06-23 18:45:00 0.233 0.425 0.425 0.350 0 2.034
25 19:00 2026-06-23 19:00:00 0.181 0.362 0.362 0.350 0 1.807
26 19:15 2026-06-23 19:15:00 0.244 0.438 0.438 0.350 0 1.586
27 19:30 2026-06-23 19:30:00 0.424 0.655 0.655 0.350 0 1.366
28 19:45 2026-06-23 19:45:00 0.500 0.748 0.748 0.350 0 1.179
29 20:00 2026-06-23 20:00:00 0.481 0.725 0.725 0.355 0 1.004
30 20:15 2026-06-23 20:15:00 0.561 0.821 0.821 0.355 0 0.817
31 20:30 2026-06-23 20:30:00 0.614 0.886 0.886 0.355 0 0.629
32 20:45 2026-06-23 20:45:00 0.657 0.938 0.938 0.336 0 0.486
33 21:00 2026-06-23 21:00:00 0.599 0.868 0.868 0.298 0 0.344
34 21:15 2026-06-23 21:15:00 0.591 0.858 0.858 0.280 0 0.196
35 21:30 2026-06-23 21:30:00 0.586 0.852 0.852 0.261 0 0.061
36 21:45 2026-06-23 21:45:00 0.478 0.721 0.721 0.261 0 0.023
37 22:00 2026-06-23 22:00:00 0.487 0.733 0.733 0.275 0 0.048
38 22:15 2026-06-23 22:15:00 0.445 0.681 0.681 0.275 0 0.010
39 22:30 2026-06-23 22:30:00 0.271 0.471 0.471 0.275 0 0.000
40 22:45 2026-06-23 22:45:00 0.197 0.381 0.381 0.275 0 0.000
41 23:00 2026-06-23 23:00:00 0.219 0.408 0.408 0.275 0 0.000
42 23:15 2026-06-23 23:15:00 0.248 0.443 0.443 0.275 0 0.000
43 23:30 2026-06-23 23:30:00 0.196 0.381 0.381 0.275 0 0.000
44 23:45 2026-06-23 23:45:00 0.171 0.350 0.350 0.275 0 0.000
2026-06-23 12:52:22 info: No reduced hours applied for Accu
2026-06-23 12:52:22 info: No reduced power applied during discharging at low soc
2026-06-23 12:52:22 info: No reduced power applied during charging at high soc
2026-06-23 12:52:22 info: Startwaarde SoC Accu: 23.0%

2026-06-23 12:52:22 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2026-06-23 12:52:22 info: Instellingen voor laden van EV: Tesla Model 3
2026-06-23 12:52:22 info: Direct laden is aan
2026-06-23 12:52:22 info: Ampere Effic. Grid kW Accu kW
2026-06-23 12:52:22 info: 0.00 1.00 0.00 0.00
2026-06-23 12:52:22 info: 16.00 0.99 11.04 10.93
2026-06-23 12:52:22 info: Capaciteit accu: 75.0 kWh
2026-06-23 12:52:22 info: Maximaal laadvermogen: 11.04 kW
2026-06-23 12:52:22 info: Klaar met laden op: 24-06-2026 16:00:00
2026-06-23 12:52:22 info: Huidig laadniveau: 61.0 %
2026-06-23 12:52:22 info: Gewenst laadniveau:100.0 %
2026-06-23 12:52:22 info: Marge voor het laden: 0 %
2026-06-23 12:52:22 info: Locatie: home
2026-06-23 12:52:22 info: Ingeplugged:True
2026-06-23 12:52:22 info: Benodigde netto energie: 29.250 kWh
2026-06-23 12:52:22 info: Tijd nodig om te laden: 2:41 uur
2026-06-23 12:52:22 info: Afgerond naar hele intervallen: 11 kwartier
2026-06-23 12:52:22 info: Stand laden schakelaar: off
2026-06-23 12:52:22 info: Stand aantal ampere laden: 0.0 A
2026-06-23 12:52:22 info: Opladen wordt ingepland.
2026-06-23 12:52:22 info: Instellingen voor laden van EV: Kia EV6
2026-06-23 12:52:22 info: Direct laden is uit
2026-06-23 12:52:22 info: Ampere Effic. Grid kW Accu kW
2026-06-23 12:52:22 info: 0.00 1.00 0.00 0.00
2026-06-23 12:52:22 info: 10.00 1.00 6.90 6.90
2026-06-23 12:52:22 info: 12.00 1.00 8.28 8.28
2026-06-23 12:52:22 info: 14.00 1.00 9.66 9.66
2026-06-23 12:52:22 info: 16.00 0.99 11.04 10.93
2026-06-23 12:52:22 info: Capaciteit accu: 80.0 kWh
2026-06-23 12:52:22 info: Maximaal laadvermogen: 11.04 kW
2026-06-23 12:52:22 info: Klaar met laden op: 20-06-2026 16:00:00
2026-06-23 12:52:22 info: Huidig laadniveau: 59.0 %
2026-06-23 12:52:22 info: Gewenst laadniveau:100.0 %
2026-06-23 12:52:22 info: Marge voor het laden: 0 %
2026-06-23 12:52:22 info: Locatie: home
2026-06-23 12:52:22 info: Ingeplugged:True
2026-06-23 12:52:22 waarschuwing: Er is te weinig tijd om tot 100.0% te laden
2026-06-23 12:52:22 info: Bijgesteld gewenst laadniveau:59.0 %
2026-06-23 12:52:22 info: Benodigde netto energie: 0.000 kWh
2026-06-23 12:52:22 info: Tijd nodig om te laden: 0:0 uur
2026-06-23 12:52:22 info: Afgerond naar hele intervallen: 0 kwartier
2026-06-23 12:52:22 info: Stand laden schakelaar: off
2026-06-23 12:52:22 info: Stand aantal ampere laden: 0.0 A
2026-06-23 12:52:22 info: Opladen wordt niet ingepland, omdat werkelijk niveau (59.0%) hoger is of gelijk aan gewenst niveau (59.0% minus de marge 0%), opgegeven tijdstip (2026-06-20 16:00:00) is verouderd.
2026-06-23 12:52:22 info: Warmtepomp niet aanwezig - warmtepomp wordt niet ingepland
2026-06-23 12:52:22 info: Strategie: minimale kosten
2026-06-23 12:52:22 info: Maximale fout (maximal gap): 0.005000 euro
2026-06-23 12:52:22 info: Rekentijd: 0.02 sec
2026-06-23 12:52:22 waarschuwing: Geen oplossing voor: minimize cost][/code]

Full Electric | 2x Deye 12KSG04LP3 met 1.680Ah LFP 51,2V (4x Seplos Mason 280, 2x Seplos vertical 280) | 23,3 kWp PV


  • manusjevanalles
  • Registratie: Januari 2009
  • Laatst online: 01:58
stat schreef op dinsdag 23 juni 2026 @ 12:12:
@manusjevanalles op wat voor hardware / omgeving draai jij? Zou het iets vergelijkbaars kunnen zijn? Compileren van miplib is een kleine moeite.
Odroid H4+, met proxmox, daarin vm met Ubuntu server. HA en DAO draaien in docker containers.
Ik ga naar miplib kijken!

Miplib nu zelf gecompileerd via het script in de container. Hopelijk werkt het nu.

[ Voor 13% gewijzigd door manusjevanalles op 23-06-2026 13:56 ]

☀️ 6440 Wp zuid | 🌡️ Stiebel Eltron WPL 15 ACS, HM Trend | Home Assistant


  • tomvandepoel3
  • Registratie: Januari 2026
  • Laatst online: 22:12
manusjevanalles schreef op dinsdag 23 juni 2026 @ 11:39:
[...]


Ook zonder debug worden er geen tijden naar HA gestuurd en het dashboard in DAO laat alleen weersinfo zien.
Kan je aub nog een keer de log delen van de "Optimaliseringsberekening zonder debug" ?

  • manusjevanalles
  • Registratie: Januari 2009
  • Laatst online: 01:58
tomvandepoel3 schreef op dinsdag 23 juni 2026 @ 14:07:
[...]


Kan je aub nog een keer de log delen van de "Optimaliseringsberekening zonder debug" ?
Ik heb hem nu werkend met gecomplieerde miplib!

Is het mogelijk om DAO te gebruiken voor het “affakkelen” van overtollige zonnestroom? Ik zou in de winter de radiator in de badkamer aan kunnen zetten als er overtollige productie is. Uiteraard kan het in Home Assistant, maar ik wil het iets geavanceerder dan alleen het actuele moment (er moet bv komende uur voldoende opwek verwacht worden), en niet de planning van andere apparaten doorkruisen. Het is dus een optionele machine, die niet per se hoeft te draaien itt een wasmachine.

[ Voor 49% gewijzigd door manusjevanalles op 23-06-2026 14:56 ]

☀️ 6440 Wp zuid | 🌡️ Stiebel Eltron WPL 15 ACS, HM Trend | Home Assistant


  • Deikke
  • Registratie: Juni 2004
  • Laatst online: 17:12
Mijn DAO is kapot, ik krijg de volgende melding, enig idee?:
code:
1
2
3
4
5
6
7
8
9
 2026-06-23 15:00:00 INFO: Day Ahead Optimalisering versie: 2026.6.0
2026-06-23 15:00:00 INFO: Day Ahead Optimalisering gestart op: 23-06-2026 15:00:00
2026-06-23 15:00:00 INFO: Day Ahead Optimalisatie gestart: 23-06-2026 15:00:00 taak: calc_optimum
2026-06-23 15:00:00 ERROR: Er is een fout opgetreden, zie de fout-tracering
Traceback (most recent call last):
  File "/root/dao/prog/da_base.py", line 695, in run_task_function
    self.db_da.log_pool_status()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'log_pool_status'
Deikke schreef op dinsdag 23 juni 2026 @ 15:11:
Mijn DAO is kapot, ik krijg de volgende melding, enig idee?:
code:
1
2
3
4
5
6
7
8
9
 2026-06-23 15:00:00 INFO: Day Ahead Optimalisering versie: 2026.6.0
2026-06-23 15:00:00 INFO: Day Ahead Optimalisering gestart op: 23-06-2026 15:00:00
2026-06-23 15:00:00 INFO: Day Ahead Optimalisatie gestart: 23-06-2026 15:00:00 taak: calc_optimum
2026-06-23 15:00:00 ERROR: Er is een fout opgetreden, zie de fout-tracering
Traceback (most recent call last):
  File "/root/dao/prog/da_base.py", line 695, in run_task_function
    self.db_da.log_pool_status()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'log_pool_status'
Fout in je database voor DAO. Welke engine heb je? Kun je hem herstellen?

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • Deikke
  • Registratie: Juni 2004
  • Laatst online: 17:12
KC27 schreef op dinsdag 23 juni 2026 @ 15:31:
[...]

Fout in je database voor DAO. Welke engine heb je? Kun je hem herstellen?
Ik gebruik postgres/timescaledb addon in home assistant. Ik zie daar de volgende logging:
code:
1
2
3
4
5
2026-06-23 13:18:54.182 UTC [448] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "dao", no encryption
2026-06-23 13:18:54.189 UTC [449] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "postgres", no encryption
2026-06-23 13:18:54.196 UTC [450] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "template1", no encryption
2026-06-23 13:18:54.202 UTC [451] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "template0", no encryption
2026-06-23 13:18:54.208 UTC [452] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "dao", no encryption
Die vereist kennelijk sinds gisteren encryptie. Hoe kan ik de encryptie aanzetten?
Deikke schreef op dinsdag 23 juni 2026 @ 15:36:
[...]

Ik gebruik postgres/timescaledb addon in home assistant. Ik zie daar de volgende logging:
code:
1
2
3
4
5
2026-06-23 13:18:54.182 UTC [448] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "dao", no encryption
2026-06-23 13:18:54.189 UTC [449] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "postgres", no encryption
2026-06-23 13:18:54.196 UTC [450] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "template1", no encryption
2026-06-23 13:18:54.202 UTC [451] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "template0", no encryption
2026-06-23 13:18:54.208 UTC [452] FATAL:  no pg_hba.conf entry for host "fd0c:ac1e:2100::f", user "dao", database "dao", no encryption
Die vereist kennelijk sinds gisteren encryptie. Hoe kan ik de encryptie aanzetten?
Ik zou het niet weten, ik ben geen PostgreSQL kenner.
Heb je een update van PostgreSQL geïnstalleerd? Wat stond er in de changelog?
Kun je het niet uitzetten in de configuratie van PostgreSQL zelf?
Hij mist ook een configuratie voor user DAO en database DAO.

WP: Alpha Innotec MSW2-6S | PV: 20 x 300 Wp AEG | ACCU: 2x16x280Ah LiFePO4 3 x Multiplus II 48/3000 | DYN: Tibber | Gasloos | Day Ahead Optimizer


  • Deikke
  • Registratie: Juni 2004
  • Laatst online: 17:12
KC27 schreef op dinsdag 23 juni 2026 @ 16:43:
[...]

Ik zou het niet weten, ik ben geen PostgreSQL kenner.
Heb je een update van PostgreSQL geïnstalleerd? Wat stond er in de changelog?
Kun je het niet uitzetten in de configuratie van PostgreSQL zelf?
Hij mist ook een configuratie voor user DAO en database DAO.
Het bleek te komen omdat er nu vanaf een ipv6 adres ingelogd werd en de pg_hba.conf regels waren alleen gewhitelist voor ipv4 adressen. Zal te maken hebben met de laatste upgrade van HaOS/docker denk ik.

  • stat
  • Registratie: Mei 2005
  • Laatst online: 21:31
Vraagje van een DAO-beginneling: ik zou het volgende willen bereiken:
- Boiler op het gunstigste moment tot 43 graden opwarmen als de temp onder de 41 is
- Behalve als er zonnestroom over blijft, dan opwarmen tot 60 graden.

Co-pilot stelt voor om het bovenste met DAO in te stellen, en het onderste met home-assistant: als er voldoende stroomoverschot is --> opwarmen boiler naar 60 graden

Dat klinkt mij wel als een goed plan, zien jullie dat ook zo of denken copilot en ik helemaal de verkeerde kant op?
Pagina: 1 ... 43 44 Laatste