-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModbus
360 lines (310 loc) · 9.21 KB
/
Modbus
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
modbus:
- name: "Wallbox"
type: tcp
host: 10.20.1.21
port: 502
sensors:
#1. Charger Specification
#1.1 OEM/Production
- name: "Wallbox - Manufacturer"
unique_id: wallbox_manufacturer
scan_interval: 10
address: 0
count: 5
data_type: string
- name: "Wallbox - Production Date"
unique_id: wallbox_prod_date
scan_interval: 10
address: 5
count: 2
data_type: uint16
- name: "Wallbox - Serial"
unique_id: wallbox_serial
scan_interval: 10
address: 7
count: 5
data_type: string
- name: "Wallbox - catalog"
unique_id: wallbox_catalog
scan_interval: 10
address: 12
count: 10
data_type: string
#1.2 Charger HW
- name: "Wallbox - Platform Type"
unique_id: wallbox_platform_type
scan_interval: 10
address: 22
count: 1
data_type: uint16
# Not Implemented by siemens
# - name: "Wallbox - Time Zone"
# unique_id: wallbox_time_zone
# scan_interval: 10
# address: 23
# count: 1
# data_type: uint16
- name: "Wallbox - Outlets"
unique_id: wallbox_outlets
scan_interval: 10
address: 24
count: 1
data_type: uint16
- name: "Wallbox - Outlet Type"
unique_id: wallbox_outlet_type
scan_interval: 10
address: 25
count: 1
data_type: uint16
- name: "Wallbox - Delay Button"
unique_id: wallbox_delay_button
scan_interval: 10
address: 26
count: 1
data_type: uint16
- name: "Wallbox - Connectivity"
unique_id: wallbox_connectivitiy
scan_interval: 10
address: 27
count: 1
data_type: uint16
- name: "Wallbox - Rated Current"
unique_id: wallbox_rated_current
scan_interval: 10
address: 28
count: 1
data_type: uint16
- name: "Wallbox - Installation Current"
unique_id: wallbox_installation_current
scan_interval: 10
address: 29
count: 1
data_type: uint16
- name: "Wallbox - Type of Meter"
unique_id: wallbox_type_of_meter
scan_interval: 10
address: 30
count: 1
data_type: uint16
#1.3 Charger SW
- name: "Wallbox - Firmware"
unique_id: wallbox_firmware
scan_interval: 10
address: 31
count: 5
data_type: string
- name: "Wallbox - Mo Version"
unique_id: wallbox_mo_version
scan_interval: 10
address: 36
count: 5
data_type: string
- name: "Wallbox - Modbus Table Version"
unique_id: wallbox_modbus_table_version
scan_interval: 10
address: 41
count: 1
data_type: uint16
#2. Authentication
- name: "Wallbox - RFID Activation"
unique_id: wallbox_rfid_activation
scan_interval: 10
address: 79
count: 1
data_type: uint16
#3. State of Charger
#3.1 Charger States
- name: "Wallbox - OCPP"
unique_id: wallbox_ocpp
scan_interval: 10
address: 1601
count: 1
data_type: int16
- name: "Wallbox - Temperature"
unique_id: wallbox_temp
scan_interval: 10
address: 1602
count: 1
data_type: int16
#4. Load Management & Charging Session Analysis
#4.1 Limit Charging Power & Energy Delivered
- name: "Wallbox - Pause"
unique_id: wallbox_pause
scan_interval: 10
address: 1629
count: 1
data_type: uint16
- name: "Wallbox - Max Charging current Sum"
unique_id: wallbox_max_charging_current_sum
scan_interval: 10
address: 1633
count: 1
data_type: uint16
#4.2 Switch between 1ph- & 3ph-charging
- name: "Wallbox - 1ph & 3ph charging"
unique_id: wallbox_1ph_3ph_charging
scan_interval: 10
address: 1642
count: 1
data_type: uint16
#4.3 Actual charging values
- name: "Wallbox - Charging current Phase L1"
unique_id: wallbox_charging_current_phase_l1
scan_interval: 10
address: 1647
count: 1
data_type: uint16
- name: "Wallbox - Charging current Phase L2"
unique_id: wallbox_charging_current_phase_l2
scan_interval: 10
address: 1648
count: 1
data_type: uint16
- name: "Wallbox - Charging current Phase L3"
unique_id: wallbox_charging_current_phase_l3
scan_interval: 10
address: 1649
count: 1
data_type: uint16
- name: "Wallbox - Charging Current Sum"
unique_id: wallbox_charging_current_sum
scan_interval: 10
address: 1650
count: 1
data_type: uint16
- name: "Wallbox - Charging Voltage Phase V(L1-N)"
unique_id: wallbox_charging_voltage_phase_l1
scan_interval: 10
address: 1651
count: 1
data_type: uint16
- name: "Wallbox - Charging Voltage Phase V(L2-N)"
unique_id: wallbox_charging_voltage_phase_l2
scan_interval: 10
address: 1652
count: 1
data_type: uint16
- name: "Wallbox - Charging Voltage Phase V(L3-N)"
unique_id: wallbox_charging_voltage_phase_l3
scan_interval: 10
address: 1653
count: 1
data_type: uint16
#4.4. Charging Fallback Settings
# not implemented by siemens
# - name: "Wallbox - Fallback Current Phase Sum"
# unique_id: wallbox_fallback_current_phase_sum
# scan_interval: 10
# address: 1660
# count: 1
# data_type: uint16
#
# - name: "Wallbox - Fallback Time"
# unique_id: wallbox_fallback_time
# scan_interval: 10
# address: 1661
# count: 1
# data_type: uint16
#4.5 Additional charging session information
- name: "Wallbox - Current Charging Speed L1"
unique_id: wallbox_fallback_current_charging_speed_l1
scan_interval: 10
address: 1662
count: 1
data_type: uint16
- name: "Wallbox - Current Charging Speed L2"
unique_id: wallbox_fallback_current_charging_speed_l2
scan_interval: 10
address: 1663
count: 1
data_type: uint16
- name: "Wallbox - Current Charging Speed L3"
unique_id: wallbox_fallback_current_charging_speed_l3
scan_interval: 10
address: 1664
count: 1
data_type: uint16
- name: "Wallbox - Current Charging Speed Sum"
unique_id: wallbox_fallback_current_charging_speed_sum
scan_interval: 10
address: 1665
count: 1
data_type: uint16
- name: "Wallbox - Power Factor Phase L1"
unique_id: wallbox_fallback_power_factor_phase_l1
scan_interval: 10
address: 1666
count: 1
data_type: uint16
- name: "Wallbox - Power Factor Phase L2"
unique_id: wallbox_fallback_power_factor_phase_l2
scan_interval: 10
address: 1667
count: 1
data_type: uint16
- name: "Wallbox - Power Factor Phase L3"
unique_id: wallbox_fallback_power_factor_phase_l3
scan_interval: 10
address: 1668
count: 1
data_type: uint16
- name: "Wallbox - Power Factor Phase Sum"
unique_id: wallbox_fallback_power_factor_phase_sum
scan_interval: 10
address: 1669
count: 1
data_type: uint16
- name: "Wallbox - Apparent Power Phase L1"
unique_id: wallbox_fallback_apparent_power_phase_l1
scan_interval: 10
address: 1670
count: 1
data_type: uint16
- name: "Wallbox - Apparent Power Phase L2"
unique_id: wallbox_fallback_apparent_power_phase_l2
scan_interval: 10
address: 1671
count: 1
data_type: uint16
- name: "Wallbox - Apparent Power Phase L3"
unique_id: wallbox_fallback_apparent_power_phase_l3
scan_interval: 10
address: 1672
count: 1
data_type: uint16
- name: "Wallbox - Apparent Power Phase Sum"
unique_id: wallbox_fallback_apparent_power_phase_sum
scan_interval: 10
address: 1673
count: 1
data_type: uint16
- name: "Wallbox - Reactive Power Phase L1"
unique_id: wallbox_reactive_power_phase_l1
scan_interval: 10
address: 1674
count: 1
data_type: uint16
- name: "Wallbox - Reactive Power Phase L2"
unique_id: wallbox_reactive_power_phase_l2
scan_interval: 10
address: 1675
count: 1
data_type: uint16
- name: "Wallbox - Reactive Power Phase L3"
unique_id: wallbox_reactive_power_phase_l3
scan_interval: 10
address: 1676
count: 1
data_type: uint16
- name: "Wallbox - Reactive Power Phase Sum"
unique_id: wallbox_reactive_power_phase_sum
scan_interval: 10
address: 1677
count: 1
data_type: uint16
- name: "Wallbox - Real Energy Consumed Phase Sum"
unique_id: wallbox_real_energy_consumed_phase_sum
scan_interval: 10
address: 1692
count: 2
data_type: uint32