iobroker.senec 1.1.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/en/README.md DELETED
@@ -1,519 +0,0 @@
1
- ![Logo](/admin/senec.png)
2
- # ioBroker.senec
3
-
4
- ## senec adapter for ioBroker
5
- Targeted at the Senec Home V2.1 System.
6
- Other systems should work, as long as they use lala.cgi. Although datapoints may differ (missing, additional, changed).
7
-
8
- Systems that might work:
9
- * Senec Home 4.0 / Blei
10
- * Senec Home 6.0 Pb
11
- * Senec Home 8.0 / Blei
12
- * Senec Home 10.0 Pb
13
- * Senec Home 5.0/7.5/10.0 / Lithium
14
- * Senec Home 15.0 / Lithium
15
- * Senec Home V2 5.0/7.5/10.0
16
- * Senec Home V2 10.0 / Blei
17
- * Senec Home V2.1 1ph / Lithium
18
- * Senec.Home V3 Hybrid
19
- * Senec.Home V3 Hybrid duo
20
- * Senec Business 30.0 / Blei
21
- * Senec Business V2 30.0 / Blei
22
- * Senec Business 25.0 / Lithium
23
- * Senec Business V2_2ph / Lithium
24
- * Senec Business V2 3ph / Lithium
25
- * ADS Tec
26
- * OEM LG
27
- * Solarinvert Storage 10.0 / Blei,
28
-
29
- ## Installation
30
- You is facilitated via the ioBroker web interface and the configuration will auto-open once installation is completed.
31
-
32
- ## Setup
33
- In addition to the adapter installation you have to add an instance of the adapter.
34
-
35
- ### Configuration
36
- ![Main Settings](media/mainSettings.png "Main Settings")
37
-
38
- | Feld | Beschreibung |
39
- |:-------------|:-------------|
40
- |SENEC System |Type in the IP-address of your SENEC system (FQDN is also possible if you have a working local DNS).|
41
- |Polling Interval High Priority Data|You can change the polling interval for high priority data (how often the Adapter reads from your Senec System), too. (Default: 10 seconds)|
42
- |Polling Interval Low Priority Data|You can change the polling interval for low priority data (how often the Adapter reads from your Senec System), too. (Default: 60 minutes)<br>
43
- Please be careful with high-frequency polling because this can render your SENEC machine unable to connect to the SENEC server!|
44
- |Request-Timeout|If your network requires a higher timeout for requests sent to SENEC, please change the Request-Timeout in miliseconds accordingly. (Default: 5000 miliseconds)|
45
- |Polling Retries|In case there is an issue communicating with SENEC the adapter will retry several times. You can adjust how often it will try to read from SENEC. (Default: 10)<br>
46
- This does not apply to Adapter Start - if the System is unavailable to Adapter will stop.|
47
- |Polling Retry Factor|To space retries apart a bit more you can adjust the Polling Retry Factor. (Default: 2) - Example: Using default settings the 1st retry will happen 20 seconds after the initial try, the 2nd will happen 40 seconds after the 2nd try. After each successful connect to SENEC, the number of retries is reset.|
48
-
49
- Once finished setting up configuration, hit `SAVE AND CLOSE` to leave configuration dialogue. The adapter will automatically restart.
50
-
51
- ## Usage
52
- Here you can find a description of the states and how to use them. All states of this adapter are read-only states.
53
- Depending on the individual system states might not be available or additional states could be there.
54
- If a state is not documented (or only partially documented) and you know what it represents, please send a pull request (or open a ticket with the information).
55
-
56
- ### Example States (States differ per System and Version)
57
-
58
- #### Channel: info
59
-
60
- * info.connection
61
-
62
- |Data type|Permission|
63
- |:---:|:---:|
64
- |boolean|R|
65
-
66
- *Read-only boolean which is true if the adapter is connected to the senec system.*
67
-
68
- #### Channel: BMS
69
-
70
- * BL[0-3]
71
-
72
- |Data type|Permission|
73
- |:---:|:---:|
74
- |number|R|
75
-
76
- *Read-only number, which represents ? for each battery pack.*
77
-
78
- * CHARGED_ENERGY[0-3]
79
-
80
- |Data type|Permission|
81
- |:---:|:---:|
82
- |number|R|
83
-
84
- *Read-only number, which represents the amount of charged energy per battery pack in unit ?*
85
-
86
- * CHARGE_CURRENT_LIMIT[0-3]
87
-
88
- |Data type|Permission|
89
- |:---:|:---:|
90
- |number|R|
91
-
92
- *Read-only number, which represents the current charge limit in Ampere per battery pack.*
93
-
94
- * CURRENT[0-3]
95
-
96
- |Data type|Permission|
97
- |:---:|:---:|
98
- |number|R|
99
-
100
- *Read-only number, which represents each battery pack's current in Ampere.*
101
-
102
- * CYCLES[0-3]
103
-
104
- |Data type|Permission|
105
- |:---:|:---:|
106
- |number|R|
107
-
108
- *Read-only number, which represents each battery pack's current charching cycles.*
109
-
110
- * DISCHARGED_ENERGY[0-3]
111
-
112
- |Data type|Permission|
113
- |:---:|:---:|
114
- |number|R|
115
-
116
- *Read-only number, which represents the amount of energy discharged per battery in unit ?.*
117
-
118
- * DISCHARGE_CURRENT_LIMIT[0-3]
119
-
120
- |Data type|Permission|
121
- |:---:|:---:|
122
- |number|R|
123
-
124
- *Read-only number, which represents each battery pack's current discharge limit in Ampere.*
125
-
126
- * FW[0-3]
127
-
128
- |Data type|Permission|
129
- |:---:|:---:|
130
- |number|R|
131
-
132
- *Read-only number, which represents each battery pack's firmware version.*
133
-
134
- * HW_EXTENSION[0-3]
135
-
136
- |Data type|Permission|
137
- |:---:|:---:|
138
- |number|R|
139
-
140
- *Read-only number, which represents each battery pack's ?.*
141
-
142
- * HW_MAINBOARD[0-3]
143
-
144
- |Data type|Permission|
145
- |:---:|:---:|
146
- |number|R|
147
-
148
- *Read-only number, which represents each battery pack's mainboard version.*
149
-
150
- * MAX_CELL_VOTAGE[0-3]
151
-
152
- |Data type|Permission|
153
- |:---:|:---:|
154
- |number|R|
155
-
156
- *Read-only number, which represents each battery pack's maximum cell voltage in Volts.*
157
-
158
- * MIN_CELL_VOTAGE[0-3]
159
-
160
- |Data type|Permission|
161
- |:---:|:---:|
162
- |number|R|
163
-
164
- *Read-only number, which represents each battery pack's minimum cell voltage in Volts.*
165
-
166
- * SN[0-3]
167
-
168
- |Data type|Permission|
169
- |:---:|:---:|
170
- |number|R|
171
-
172
- *Read-only number, which represents each battery pack's serial number.*
173
-
174
- * SOC[0-3]
175
-
176
- |Data type|Permission|
177
- |:---:|:---:|
178
- |number|R|
179
-
180
- *Read-only number, which represents each battery pack's state of charge.*
181
-
182
- * SOH[0-3]
183
-
184
- |Data type|Permission|
185
- |:---:|:---:|
186
- |number|R|
187
-
188
- *Read-only number, which represents each battery pack's state of health.*
189
-
190
- * STATUS[0-3]
191
-
192
- |Data type|Permission|
193
- |:---:|:---:|
194
- |number|R|
195
-
196
- *Read-only number, which represents each battery pack's status.*
197
-
198
- * TEMP_MAX[0-3]
199
-
200
- |Data type|Permission|
201
- |:---:|:---:|
202
- |number|R|
203
-
204
- *Read-only number, which represents each battery pack's maximum temperature.*
205
-
206
- * TEMP_MIN[0-3]
207
-
208
- |Data type|Permission|
209
- |:---:|:---:|
210
- |number|R|
211
-
212
- *Read-only number, which represents each battery pack's minimum temperature.*
213
-
214
- * VOLTAGE[0-3]
215
-
216
- |Data type|Permission|
217
- |:---:|:---:|
218
- |number|R|
219
-
220
- *Read-only number, which represents each battery pack's voltage in Volts.*
221
-
222
- * BMS_READY_FLAG
223
-
224
- |Data type|Permission|
225
- |:---:|:---:|
226
- |boolean|R|
227
-
228
- *Read-only boolean, which represents if the BMS is ready.*
229
-
230
- * MODULES_CONFIGURED
231
-
232
- |Data type|Permission|
233
- |:---:|:---:|
234
- |number|R|
235
-
236
- *Read-only number, which represents the number of modules currently configured in the system.*
237
-
238
- * MODULE_COUNT
239
-
240
- |Data type|Permission|
241
- |:---:|:---:|
242
- |number|R|
243
-
244
- *Read-only number, which represents the number of modules currently known the system (incl. non-configured).*
245
-
246
- * START_UPDATE
247
-
248
- |Data type|Permission|
249
- |:---:|:---:|
250
- |boolean|R|
251
-
252
- *Read-only boolean, which represents if an update is to be started.*
253
-
254
- * WIZARD_ABORT
255
-
256
- |Data type|Permission|
257
- |:---:|:---:|
258
- |boolean|R|
259
-
260
- *Read-only boolean, which represents if the setup wizard was aborted.*
261
-
262
- * WIZARD_CONFIRM
263
-
264
- |Data type|Permission|
265
- |:---:|:---:|
266
- |boolean|R|
267
-
268
- *Read-only boolean, which represents if the setup wizard was confirmed.*
269
-
270
- * WIZARD_DCCONNECT
271
-
272
- |Data type|Permission|
273
- |:---:|:---:|
274
- |boolean|R|
275
-
276
- *Read-only boolean, which represents ?.*
277
-
278
- * WIZARD_START
279
-
280
- |Data type|Permission|
281
- |:---:|:---:|
282
- |number|R|
283
-
284
- *Read-only boolean, which represents if the setup wizard is to be started.*
285
-
286
- * WIZARD_STATE
287
-
288
- |Data type|Permission|
289
- |:---:|:---:|
290
- |boolean|R|
291
-
292
- *Read-only number, which represents the setup wizard's state.*
293
-
294
-
295
- #### Channel: ENERGY
296
-
297
- * GUI_BAT_DATA_CURRENT
298
-
299
- |Data type|Permission|
300
- |:---:|:---:|
301
- |number|R|
302
-
303
- *Read-only number, which represents the battery's current in Amps.*
304
-
305
- * GUI_BAT_DATA_FUEL_CHARGE
306
-
307
- |Data type|Permission|
308
- |:---:|:---:|
309
- |number|R|
310
-
311
- *Read-only number, which represents the current level of your battery system in %.*
312
-
313
- * GUI_BAT_DATA_VOLTAGE
314
-
315
- |Data type|Permission|
316
- |:---:|:---:|
317
- |number|R|
318
-
319
- *Read-only number, which represents the battery's current voltage in volt.*
320
-
321
- * GUI_BAT_DATA_POWER
322
-
323
- |Data type|Permission|
324
- |:---:|:---:|
325
- |number|R|
326
-
327
- *Read-only number, which represents how much power is coming from / going into the battery in Watts. Negative values are discharging.*
328
-
329
- * GUI_BOOSTING_INFO
330
-
331
- |Data type|Permission|
332
- |:---:|:---:|
333
- |boolean|R|
334
-
335
- *Read-only boolean, which we don't know the exact meaning of yet.*
336
-
337
- * GUI_CHARGING_INFO
338
-
339
- |Data type|Permission|
340
- |:---:|:---:|
341
- |boolean|R|
342
-
343
- *Read-only boolean, which represents if the battery is currently charging.*
344
-
345
- * GUI_GRID_POW
346
-
347
- |Data type|Permission|
348
- |:---:|:---:|
349
- |number|R|
350
-
351
- *Read-only number, which represents the power currenty coming from / going into the grid in Watts. Negative values are sending into the grid.*
352
-
353
- * GUI_HOUSE_POW
354
-
355
- |Data type|Permission|
356
- |:---:|:---:|
357
- |number|R|
358
-
359
- *Read-only number, which represents the power in Watts currently consumed by the house.*
360
-
361
- * GUI_INVERTER_POWER
362
-
363
- |Data type|Permission|
364
- |:---:|:---:|
365
- |number|R|
366
-
367
- *Read-only number, which represents the current power supplied by your PV system.*
368
-
369
- * STAT_HOURS_OF_OPERATION
370
-
371
- |Data type|Permission|
372
- |:---:|:---:|
373
- |number|R|
374
-
375
- *Read-only number, detailing the system's uptime in hours.*
376
-
377
- * STAT_MAINT_REQUIRED
378
-
379
- |Data type|Permission|
380
- |:---:|:---:|
381
- |boolean|R|
382
-
383
- *Read-only boolean, which represents if your senec system requires maintenance.*
384
-
385
- * STAT_STATE
386
-
387
- |Data type|Permission|
388
- |:---:|:---:|
389
- |number|R|
390
-
391
- *Read-only number, which represents the system's state.*
392
-
393
- * STAT_STATE_Text
394
-
395
- |Data type|Permission|
396
- |:---:|:---:|
397
- |string|R|
398
-
399
- *Read-only string, which represents the system's state in human readable format (sorry - we only have the german states from senec).*
400
-
401
- #### Channel: STATISTIC
402
-
403
- * STAT_DAY_BAT_CHARGE
404
-
405
- |Data type|Permission|
406
- |:---:|:---:|
407
- |number|R|
408
-
409
- *Read-only number, which represents the amount of power charged into the battery in kWh today.*
410
-
411
- * STAT_DAY_BAT_DISCHARGE
412
-
413
- |Data type|Permission|
414
- |:---:|:---:|
415
- |number|R|
416
-
417
- *Read-only number, which represents the amount of power drawn from the battery in kWh today.*
418
-
419
- * STAT_DAY_E_GRID_EXPORT
420
-
421
- |Data type|Permission|
422
- |:---:|:---:|
423
- |number|R|
424
-
425
- *Read-only number, which represents the amount of power in kWh delivered into the net today.*
426
-
427
- * STAT_DAY_E_GRID_IMPORT
428
-
429
- |Data type|Permission|
430
- |:---:|:---:|
431
- |number|R|
432
-
433
- *Read-only number, which represents the amount of power in kWh drawn from the net today.*
434
-
435
- * STAT_DAY_E_HOUSE
436
-
437
- |Data type|Permission|
438
- |:---:|:---:|
439
- |number|R|
440
-
441
- *Read-only number, which represents the amount of power in kWh consumed by the house today.*
442
-
443
- * STAT_DAY_E_PV
444
-
445
- |Data type|Permission|
446
- |:---:|:---:|
447
- |number|R|
448
-
449
- *Read-only number, which represents the amount of power in kWh generated by your PV today.*
450
-
451
-
452
- #### Channel: SYS_UPDATE
453
-
454
- * NPU_IMAGE_VERSION
455
-
456
- |Data type|Permission|
457
- |:---:|:---:|
458
- |number|R|
459
-
460
- *Read-only number, representing the Revision NPU-IMAGE*
461
-
462
- * NPU_VER
463
-
464
- |Data type|Permission|
465
- |:---:|:---:|
466
- |number|R|
467
-
468
- *Read-only number, representing the Revision NPU-REGS*
469
-
470
- * UPDATE_AVAILABLE
471
-
472
- |Data type|Permission|
473
- |:---:|:---:|
474
- |boolean|R|
475
-
476
- *boolean-value which is true if there is an update available (Updates happen automatically and are scheduled by SENEC).*
477
-
478
-
479
- #### Channel: WIZARD
480
-
481
- * APPLICATION_VERSION
482
-
483
- |Data type|Permission|
484
- |:---:|:---:|
485
- |string|R|
486
-
487
- *Read-only text, representing the Revision MCU*
488
-
489
- * CONFIG_LOADED
490
-
491
- |Data type|Permission|
492
- |:---:|:---:|
493
- |boolean|R|
494
-
495
- *boolean-value which is true if configuration is loaded. This being false is very unlikely and it shouldn't persist as false.*
496
-
497
- * INTERFACE_VERSION
498
-
499
- |Data type|Permission|
500
- |:---:|:---:|
501
- |string|R|
502
-
503
- *Read-only text, representing the Revision GUI*
504
-
505
- * SETUP_NUMBER_WALLBOXES
506
-
507
- |Data type|Permission|
508
- |:---:|:---:|
509
- |number|R|
510
-
511
- *Read-only number, which designates how many wallboxes are configured in the system.*
512
-
513
- * SETUP_WALLBOX_SERIAL[0..3]
514
-
515
- |Data type|Permission|
516
- |:---:|:---:|
517
- |string|R|
518
-
519
- *Read-only text, which designates the serial number of wallbox [0..3].*
Binary file
@@ -1,23 +0,0 @@
1
- /**
2
- * Translate senec numeric battery types to the official human readable representation.
3
- * Please report unknown values.
4
- */
5
- const batt_type_desc = {
6
- '0': {
7
- name: 'Studer Xtender (0)',
8
- },
9
- '1': {
10
- name: 'SenecBatt (1)',
11
- },
12
- '2': {
13
- name: 'Senec Inverter V2 (2)',
14
- },
15
- '3': {
16
- name: 'SENEC.Inverter V2.1 (3)',
17
- },
18
- '4': {
19
- name: 'SENEC.Inverter V3 LV (4)',
20
- },
21
- }
22
-
23
- module.exports = batt_type_desc;
@@ -1,20 +0,0 @@
1
- /**
2
- * Translate senec numeric country names to the official human readable representation.
3
- * Please report unknown values.
4
- */
5
- const country_desc = {
6
- '0': {
7
- name: 'DE (0)',
8
- },
9
- '1': {
10
- name: 'IT (1)',
11
- },
12
- '2': {
13
- name: 'AU (2)',
14
- },
15
- '3': {
16
- name: 'AT (3)',
17
- },
18
- }
19
-
20
- module.exports = country_desc;