Waarom worden de gegevens in de home assistant niet bijgewerkt?
>> tijdens het schrijven ben ik door de gehele configuratie heen gelopen. Ik had wel een foto gemaakt van het modbus adres wat er in stond, maar blijkbaar niet goed de nieuwe waarde opgeslagen. deze stond dus nog op 21

Dom, maar simpel op te lossen.
Als newbie mbt home assistant heb ik zitten zoeken naar wat logging, maar kan deze niet zo makkelijk vinden. Heb ik iets overgeslagen tijdens de configuratie?
>> Ja, Modbus adres was fout!
De volgende stappen zijn gezet om the ModBus werkend te krijgen:
Als eerste op de klemmen 26 en 27 de aders aangesloten en aarde vastgezet met een bout, moer en ring in het gat net onder de kabel (moer is zelfborgende moer).
Dan de dipswitches aangepast:
Daarna de WAVESHARE op dezelfde manier aangesloten:
Vervolgens via de web interface op de waveshare ingelogd en de volgende parameters ingesteld:
in de controller heb ik de modbus interface op 01 gezet:
waarna ik home assistant geinstalleerd heb op een raspberry pi4. Daarna de add-on geinstalleerd 'file editor' geinstalleerd
en de yaml configuratie aangepast
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
| modbus:
- type: tcp
host: 192.168.0.68
port: 26
name: "lg_modbus"
retry_on_empty: true
retries: 10
sensors:
##input
- name: error_code
scan_interval: 10
address: 0
slave: 1
input_type: input
- name: ODU_operation_cycle
scan_interval: 10
address: 1
slave: 1
input_type: input
- name: water_inlet_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 2
slave: 1
unit_of_measurement: °C
input_type: input
- name: water_outlet_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 3
slave: 1
unit_of_measurement: °C
input_type: input
- name: backup_heater_outlet_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 4
slave: 1
unit_of_measurement: °C
input_type: input
- name: dhw_water_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 5
slave: 1
unit_of_measurement: °C
input_type: input
- name: solar_collector_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 6
slave: 1
unit_of_measurement: °C
input_type: input
- name: room_air_temp_circuit1
scale: 0.1
precision: 1
scan_interval: 5
address: 7
slave: 1
unit_of_measurement: °C
input_type: input
- name: current_flow_rate
scale: 0.1
precision: 1
scan_interval: 5
address: 8
slave: 1
unit_of_measurement: l/min
input_type: input
- name: flow_temp_circuit2
scale: 0.1
precision: 1
scan_interval: 5
address: 9
slave: 1
unit_of_measurement: °C
input_type: input
- name: room_air_temp_circuit2
scale: 0.1
precision: 1
scan_interval: 5
address: 10
slave: 1
unit_of_measurement: °C
input_type: input
- name: energy_state_input
scan_interval: 5
address: 11
slave: 1
input_type: input
- name: outdoor_air_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 12
slave: 1
unit_of_measurement: °C
input_type: input
- name: product_group
scan_interval: 60
address: 9997
slave: 1
input_type: input
- name: product_info
scan_interval: 60
address: 9998
slave: 1
input_type: input
##holding
- name: operation_mode
scan_interval: 5
address: 0
slave: 1
input_type: holding
- name: control_method
scan_interval: 5
address: 1
slave: 1
input_type: holding
- name: target_temp_circuit1
scale: 0.1
precision: 1
scan_interval: 5
address: 2
slave: 1
unit_of_measurement: °C
input_type: holding
- name: room_air_temp_circuit1_holding
scale: 0.1
precision: 1
scan_interval: 5
address: 3
slave: 1
unit_of_measurement: °C
input_type: holding
- name: shift_value_in_auto_mode_circuit1
scan_interval: 5
address: 4
slave: 1
input_type: holding
- name: target_temp_circuit2
scale: 0.1
precision: 1
scan_interval: 5
address: 5
slave: 1
unit_of_measurement: °C
input_type: holding
- name: room_air_temp_circuit2_holding
scale: 0.1
precision: 1
scan_interval: 5
address: 6
slave: 1
unit_of_measurement: °C
input_type: holding
- name: shift_value_in_auto_mode_circuit2
scan_interval: 5
address: 7
slave: 1
input_type: holding
- name: dhw_target_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 8
slave: 1
unit_of_measurement: °C
input_type: holding
- name: energy_state_input_holding
scan_interval: 5
address: 9
slave: 1
input_type: holding
binary_sensors:
##coil
- name: enable_disable_heating/cooling
scan_interval: 5
address: 0
slave: 1
- name: enable_disable_dhw
scan_interval: 5
address: 1
slave: 1
- name: silent_mode_set
scan_interval: 5
address: 2
slave: 1
- name: trigger_desinfection_operation
scan_interval: 5
address: 3
slave: 1
- name: emergency_stop
scan_interval: 5
address: 4
slave: 1
- name: trigger_emergency_operation
scan_interval: 5
address: 5
slave: 1
## discrete
- name: water_flow_status
scan_interval: 5
address: 0
slave: 1
input_type: discrete_input
- name: water_pump_status
scan_interval: 5
address: 1
slave: 1
input_type: discrete_input
- name: ext_water_pump_status
scan_interval: 5
address: 2
slave: 1
input_type: discrete_input
- name: compressor_status
scan_interval: 5
address: 3
slave: 1
input_type: discrete_input
- name: defrosting_status
scan_interval: 5
address: 4
slave: 1
input_type: discrete_input
- name: dhw_heating_status
scan_interval: 5
address: 5
slave: 1
input_type: discrete_input
- name: dhw_tank_disinfection_status
scan_interval: 5
address: 6
slave: 1
input_type: discrete_input
- name: silent_mode_status
scan_interval: 5
address: 7
slave: 1
input_type: discrete_input
- name: cooling_status
scan_interval: 5
address: 8
slave: 1
input_type: discrete_input
- name: solar_pump_status
scan_interval: 5
address: 9
slave: 1
input_type: discrete_input
- name: backup_heater_step1_status
scan_interval: 5
address: 10
slave: 1
input_type: discrete_input
- name: backup_heater_step2_status
scan_interval: 5
address: 11
slave: 1
input_type: discrete_input
- name: dhw_boost_heater_status
scan_interval: 5
address: 12
slave: 1
input_type: discrete_input
- name: error_status
scan_interval: 5
address: 13
slave: 1
input_type: discrete_input
- name: emergency_operation_available_space_heating/cooling
scan_interval: 5
address: 14
slave: 1
input_type: discrete_input
- name: emergency_operation_available_dhw
scan_interval: 5
address: 15
slave: 1
input_type: discrete_input
- name: mix_pump_status
scan_interval: 5
address: 16
slave: 1
input_type: discrete_input |
In home assistant zie ik nu het volgende:
en in de waveshare:
Het lijkt er op dat de home assistant met de waveshare communiceerd, maar dat de status van de warmtepomp niet wordt bijgewerkt.
Na het aanpassen van het modbus adres hebben waardes in home assistant:
OK - verder met het fine tunen van de installatie....
[
Voor 6% gewijzigd door
MartinusMaximus op 10-11-2022 16:01
]