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
| JSON Editor
{
"homeassistant": { },
"database ha": {
"engine": "sqlite",
"database": "home-assistant_v2.db",
"db_path": "/homeassistant"
},
"database da": {
"engine": "sqlite",
"db_path": "../data"
},
"meteoserver-key": "!secret meteoserver-key",
"prices": {
"source day ahead": "nordpool",
"regular high": 0.50,
"regular low": 0.40,
"switch to low": 23,
"energy taxes consumption": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
"energy taxes production": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
"cost supplier consumption": {
"2022-01-01": 0.002,
"2023-03-01": 0.018,
"2024-04-01": 0.0175,
"2025-10-07": 0.00826
},
"cost supplier production": {
"2022-01-01": 0.002,
"2023-03-01": 0.018,
"2024-04-01": 0.0175,
"2025-10-07": 0.00826
},
"vat consumption": {
"2022-01-01": 21,
"2022-07-01": 9,
"2025-01-01": 21
},
"vat production": {
"2022-01-01": 21,
"2022-07-01": 9,
"2023-01-01": 21
},
"last invoice": "2025-10-07",
"tax refund": "True"
},
"logging level" : "info",
"use_calc_baseload": "True",
"baseload calc periode": 14,
"baseload": [
0.386,
0.37,
0.368,
0.401,
0.396,
0.392,
0.409,
-0.211,
-1.958,
-3.805,
-5.983,
-7.363,
-7.054,
-7.484,
-6.718,
-6.189,
-5.222,
-3.589,
-1.74,
-0.547,
-0.052,
0.644,
0.482,
0.419
],
"graphical backend": "",
"graphics": {
"style": "Solarize_Light2",
"show" : "true",
"battery balance": "True",
"prices consumption": "True",
"prices production": "True",
"prices spot": "True",
"average consumption": "True"
},
"strategy": "minimize cost",
"notifications": {
"notification entity": "input_text.dao_notificatie",
"opstarten": "True",
"berekening": "False",
"last activity entity": "input_datetime.dao_laatste_activiteit"
},
"grid": {
"max_power": 17
},
"history": {
"save days": 7
},
"dashboard": {
"port": 5000
},
"boiler": {
"boiler present": "False",
"entity actual temp.": "",
"entity setpoint": "",
"entity hysterese": "",
"cop": 2.9,
"cooling rate": 0.4,
"volume": 180,
"heating allowed below": 44,
"elec. power": 1500,
"activate service": "press",
"activate entity": ""
},
"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": "",
"adjustment factor": 0.04
},
"battery": [
{
"name": "Thuisbatterij",
"entity actual level": "sensor.ss_battery_1_soc",
"capacity": 50,
"lower limit": 12,
"upper limit": 90,
"optimal lower level": 20,
"charge stages": [
{ "power": 0.0, "efficiency": 1.0 },
{ "power": 17000, "efficiency": 0.95 }
],
"discharge stages": [
{ "power": 0.0, "efficiency": 1.0 },
{ "power": 17000, "efficiency": 0.95 }
],
"minimum power": 500,
"dc_to_bat efficiency": 0.95,
"bat_to_dc efficiency": 0.95,
"cycle cost": 0.013,
"entity set power feedin": "input_number.batterij_power_feedin",
"entity calculated soc": "input_number.batterij_calculated_soc",
"entity set operating mode": "input_select.batterij_operation_mode",
"entity stop inverter": "input_datetime.batterij_stop_inverter",
"entity balance switch": "input_boolean.batterij_balance_switch",
"solar": []
} ],
"solar": [
{
"name": "pv woning",
"tilt": 35,
"orientation": 85,
"capacity": 4.8,
"yield": 0.010,
"entity pv switch": "input_boolean.pv_woning_aan_uit"
},
{
"name": "pv garage",
"tilt": 25,
"orientation": -5,
"capacity": 12.95,
"yield": 0.010,
"entity pv switch": "input_boolean.pv_garage_aan_uit"
},
{
"name": "pv tuinhuis",
"tilt": 5,
"orientation": -85,
"capacity": 0.42,
"yield": 0.010,
"entity pv switch": ""
}
],
"electric vehicle": [ ],
"machines" : [ ],
"tibber": {
"api_token": "!secret tibber_api_token"
},
"report": {
"entities grid consumption": [
"sensor.energy_consumption_tarif_1",
"sensor.energy_consumption_tarif_2"
],
"entities grid production": [
"sensor.energy_production_tarif_1",
"sensor.energy_production_tarif_2"
],
"entities solar production ac": [
"sensor.pv_productie"
],
"entities solar production dc": [],
"entities ev consumption" : ["sensor.peblar_ev_charger_lifetime_energy"],
"entities wp consumption" : ["sensor.kwh_meter_warmtepomp_1_total_power_import"],
"entities boiler consumption": [],
"entities battery consumption": ["sensor.ss_total_battery_charge"],
"entities battery production": ["sensor.ss_total_battery_discharge"]
},
"scheduler": {
"active": "True",
"0430": "get_meteo_data",
"1030": "get_meteo_data",
"1630": "get_meteo_data",
"2230": "get_meteo_data",
"1255": "get_day_ahead_prices",
"1355": "get_day_ahead_prices",
"1455": "get_day_ahead_prices",
"1554": "get_day_ahead_prices",
"1655": "get_day_ahead_prices",
"2230": "calc_baseloads",
"xx00": "calc_optimum",
"2359": "clean_data"
}
}
© 2025: Apache 2.0 Day Ahead Optimizer version: 2025.10.6 |