iobroker.senec 1.3.0 → 1.3.4
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/LICENSE +3 -1
- package/README.md +17 -3
- package/io-package.json +67 -194
- package/lib/adapter-config.d.ts +18 -18
- package/lib/state_attr.js +848 -136
- package/lib/state_trans.js +282 -0
- package/lib/tools.js +99 -98
- package/main.js +104 -36
- package/package.json +34 -24
- package/CHANGELOG_old.md +0 -68
- package/admin/admin.d.ts +0 -93
- package/docs/de/README.md +0 -574
- package/docs/de/media/mainSettings.png +0 -0
- package/docs/en/README.md +0 -554
- package/docs/en/media/mainSettings.png +0 -0
- package/main.test.js +0 -30
package/docs/en/README.md
DELETED
|
@@ -1,554 +0,0 @@
|
|
|
1
|
-

|
|
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
|
-

|
|
37
|
-
|
|
38
|
-
| Field | Description |
|
|
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: _calc
|
|
69
|
-
This channel contains calculated values. Currently these are day/week/month/year values at specific data points.
|
|
70
|
-
|
|
71
|
-
* xxx.refDay/Week/Month/Year
|
|
72
|
-
|
|
73
|
-
|Data type|Permission|
|
|
74
|
-
|:---:|:---:|
|
|
75
|
-
|number|W|
|
|
76
|
-
|
|
77
|
-
*Modifiable number indicating for which day/week/month/year the data is valid.
|
|
78
|
-
|
|
79
|
-
* xxx.refValue/Week/Mont/Year
|
|
80
|
-
|
|
81
|
-
|Data type|Permission|
|
|
82
|
-
|:---:|:---:|
|
|
83
|
-
|number|W|
|
|
84
|
-
|
|
85
|
-
*Modifiable number indicating what the reference value is for calculating the current value.
|
|
86
|
-
|
|
87
|
-
* xxx.today/week/month/year
|
|
88
|
-
|
|
89
|
-
|Data type|Permission|
|
|
90
|
-
|:---:|:---:|
|
|
91
|
-
|number|W|
|
|
92
|
-
|
|
93
|
-
*Modifiable number representing the current value for day/week/month/year of the corresponding data point.
|
|
94
|
-
|
|
95
|
-
* xxx.yesterday/lastWeek/lastMonth/lastYear
|
|
96
|
-
|
|
97
|
-
|Data type|Permission|
|
|
98
|
-
|:---:|:---:|
|
|
99
|
-
|number|W|
|
|
100
|
-
|
|
101
|
-
*Modifiable number representing the previous value for day/week/month/year of the corresponding data point.
|
|
102
|
-
|
|
103
|
-
#### Channel: BMS
|
|
104
|
-
|
|
105
|
-
* BL[0-3]
|
|
106
|
-
|
|
107
|
-
|Data type|Permission|
|
|
108
|
-
|:---:|:---:|
|
|
109
|
-
|number|R|
|
|
110
|
-
|
|
111
|
-
*Read-only number, which represents ? for each battery pack.*
|
|
112
|
-
|
|
113
|
-
* CHARGED_ENERGY[0-3]
|
|
114
|
-
|
|
115
|
-
|Data type|Permission|
|
|
116
|
-
|:---:|:---:|
|
|
117
|
-
|number|R|
|
|
118
|
-
|
|
119
|
-
*Read-only number, which represents the amount of charged energy per battery pack in unit ?*
|
|
120
|
-
|
|
121
|
-
* CHARGE_CURRENT_LIMIT[0-3]
|
|
122
|
-
|
|
123
|
-
|Data type|Permission|
|
|
124
|
-
|:---:|:---:|
|
|
125
|
-
|number|R|
|
|
126
|
-
|
|
127
|
-
*Read-only number, which represents the current charge limit in Ampere per battery pack.*
|
|
128
|
-
|
|
129
|
-
* CURRENT[0-3]
|
|
130
|
-
|
|
131
|
-
|Data type|Permission|
|
|
132
|
-
|:---:|:---:|
|
|
133
|
-
|number|R|
|
|
134
|
-
|
|
135
|
-
*Read-only number, which represents each battery pack's current in Ampere.*
|
|
136
|
-
|
|
137
|
-
* CYCLES[0-3]
|
|
138
|
-
|
|
139
|
-
|Data type|Permission|
|
|
140
|
-
|:---:|:---:|
|
|
141
|
-
|number|R|
|
|
142
|
-
|
|
143
|
-
*Read-only number, which represents each battery pack's current charching cycles.*
|
|
144
|
-
|
|
145
|
-
* DISCHARGED_ENERGY[0-3]
|
|
146
|
-
|
|
147
|
-
|Data type|Permission|
|
|
148
|
-
|:---:|:---:|
|
|
149
|
-
|number|R|
|
|
150
|
-
|
|
151
|
-
*Read-only number, which represents the amount of energy discharged per battery in unit ?.*
|
|
152
|
-
|
|
153
|
-
* DISCHARGE_CURRENT_LIMIT[0-3]
|
|
154
|
-
|
|
155
|
-
|Data type|Permission|
|
|
156
|
-
|:---:|:---:|
|
|
157
|
-
|number|R|
|
|
158
|
-
|
|
159
|
-
*Read-only number, which represents each battery pack's current discharge limit in Ampere.*
|
|
160
|
-
|
|
161
|
-
* FW[0-3]
|
|
162
|
-
|
|
163
|
-
|Data type|Permission|
|
|
164
|
-
|:---:|:---:|
|
|
165
|
-
|number|R|
|
|
166
|
-
|
|
167
|
-
*Read-only number, which represents each battery pack's firmware version.*
|
|
168
|
-
|
|
169
|
-
* HW_EXTENSION[0-3]
|
|
170
|
-
|
|
171
|
-
|Data type|Permission|
|
|
172
|
-
|:---:|:---:|
|
|
173
|
-
|number|R|
|
|
174
|
-
|
|
175
|
-
*Read-only number, which represents each battery pack's ?.*
|
|
176
|
-
|
|
177
|
-
* HW_MAINBOARD[0-3]
|
|
178
|
-
|
|
179
|
-
|Data type|Permission|
|
|
180
|
-
|:---:|:---:|
|
|
181
|
-
|number|R|
|
|
182
|
-
|
|
183
|
-
*Read-only number, which represents each battery pack's mainboard version.*
|
|
184
|
-
|
|
185
|
-
* MAX_CELL_VOTAGE[0-3]
|
|
186
|
-
|
|
187
|
-
|Data type|Permission|
|
|
188
|
-
|:---:|:---:|
|
|
189
|
-
|number|R|
|
|
190
|
-
|
|
191
|
-
*Read-only number, which represents each battery pack's maximum cell voltage in Volts.*
|
|
192
|
-
|
|
193
|
-
* MIN_CELL_VOTAGE[0-3]
|
|
194
|
-
|
|
195
|
-
|Data type|Permission|
|
|
196
|
-
|:---:|:---:|
|
|
197
|
-
|number|R|
|
|
198
|
-
|
|
199
|
-
*Read-only number, which represents each battery pack's minimum cell voltage in Volts.*
|
|
200
|
-
|
|
201
|
-
* SN[0-3]
|
|
202
|
-
|
|
203
|
-
|Data type|Permission|
|
|
204
|
-
|:---:|:---:|
|
|
205
|
-
|number|R|
|
|
206
|
-
|
|
207
|
-
*Read-only number, which represents each battery pack's serial number.*
|
|
208
|
-
|
|
209
|
-
* SOC[0-3]
|
|
210
|
-
|
|
211
|
-
|Data type|Permission|
|
|
212
|
-
|:---:|:---:|
|
|
213
|
-
|number|R|
|
|
214
|
-
|
|
215
|
-
*Read-only number, which represents each battery pack's state of charge.*
|
|
216
|
-
|
|
217
|
-
* SOH[0-3]
|
|
218
|
-
|
|
219
|
-
|Data type|Permission|
|
|
220
|
-
|:---:|:---:|
|
|
221
|
-
|number|R|
|
|
222
|
-
|
|
223
|
-
*Read-only number, which represents each battery pack's state of health.*
|
|
224
|
-
|
|
225
|
-
* STATUS[0-3]
|
|
226
|
-
|
|
227
|
-
|Data type|Permission|
|
|
228
|
-
|:---:|:---:|
|
|
229
|
-
|number|R|
|
|
230
|
-
|
|
231
|
-
*Read-only number, which represents each battery pack's status.*
|
|
232
|
-
|
|
233
|
-
* TEMP_MAX[0-3]
|
|
234
|
-
|
|
235
|
-
|Data type|Permission|
|
|
236
|
-
|:---:|:---:|
|
|
237
|
-
|number|R|
|
|
238
|
-
|
|
239
|
-
*Read-only number, which represents each battery pack's maximum temperature.*
|
|
240
|
-
|
|
241
|
-
* TEMP_MIN[0-3]
|
|
242
|
-
|
|
243
|
-
|Data type|Permission|
|
|
244
|
-
|:---:|:---:|
|
|
245
|
-
|number|R|
|
|
246
|
-
|
|
247
|
-
*Read-only number, which represents each battery pack's minimum temperature.*
|
|
248
|
-
|
|
249
|
-
* VOLTAGE[0-3]
|
|
250
|
-
|
|
251
|
-
|Data type|Permission|
|
|
252
|
-
|:---:|:---:|
|
|
253
|
-
|number|R|
|
|
254
|
-
|
|
255
|
-
*Read-only number, which represents each battery pack's voltage in Volts.*
|
|
256
|
-
|
|
257
|
-
* BMS_READY_FLAG
|
|
258
|
-
|
|
259
|
-
|Data type|Permission|
|
|
260
|
-
|:---:|:---:|
|
|
261
|
-
|boolean|R|
|
|
262
|
-
|
|
263
|
-
*Read-only boolean, which represents if the BMS is ready.*
|
|
264
|
-
|
|
265
|
-
* MODULES_CONFIGURED
|
|
266
|
-
|
|
267
|
-
|Data type|Permission|
|
|
268
|
-
|:---:|:---:|
|
|
269
|
-
|number|R|
|
|
270
|
-
|
|
271
|
-
*Read-only number, which represents the number of modules currently configured in the system.*
|
|
272
|
-
|
|
273
|
-
* MODULE_COUNT
|
|
274
|
-
|
|
275
|
-
|Data type|Permission|
|
|
276
|
-
|:---:|:---:|
|
|
277
|
-
|number|R|
|
|
278
|
-
|
|
279
|
-
*Read-only number, which represents the number of modules currently known the system (incl. non-configured).*
|
|
280
|
-
|
|
281
|
-
* START_UPDATE
|
|
282
|
-
|
|
283
|
-
|Data type|Permission|
|
|
284
|
-
|:---:|:---:|
|
|
285
|
-
|boolean|R|
|
|
286
|
-
|
|
287
|
-
*Read-only boolean, which represents if an update is to be started.*
|
|
288
|
-
|
|
289
|
-
* WIZARD_ABORT
|
|
290
|
-
|
|
291
|
-
|Data type|Permission|
|
|
292
|
-
|:---:|:---:|
|
|
293
|
-
|boolean|R|
|
|
294
|
-
|
|
295
|
-
*Read-only boolean, which represents if the setup wizard was aborted.*
|
|
296
|
-
|
|
297
|
-
* WIZARD_CONFIRM
|
|
298
|
-
|
|
299
|
-
|Data type|Permission|
|
|
300
|
-
|:---:|:---:|
|
|
301
|
-
|boolean|R|
|
|
302
|
-
|
|
303
|
-
*Read-only boolean, which represents if the setup wizard was confirmed.*
|
|
304
|
-
|
|
305
|
-
* WIZARD_DCCONNECT
|
|
306
|
-
|
|
307
|
-
|Data type|Permission|
|
|
308
|
-
|:---:|:---:|
|
|
309
|
-
|boolean|R|
|
|
310
|
-
|
|
311
|
-
*Read-only boolean, which represents ?.*
|
|
312
|
-
|
|
313
|
-
* WIZARD_START
|
|
314
|
-
|
|
315
|
-
|Data type|Permission|
|
|
316
|
-
|:---:|:---:|
|
|
317
|
-
|number|R|
|
|
318
|
-
|
|
319
|
-
*Read-only boolean, which represents if the setup wizard is to be started.*
|
|
320
|
-
|
|
321
|
-
* WIZARD_STATE
|
|
322
|
-
|
|
323
|
-
|Data type|Permission|
|
|
324
|
-
|:---:|:---:|
|
|
325
|
-
|boolean|R|
|
|
326
|
-
|
|
327
|
-
*Read-only number, which represents the setup wizard's state.*
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
#### Channel: ENERGY
|
|
331
|
-
|
|
332
|
-
* GUI_BAT_DATA_CURRENT
|
|
333
|
-
|
|
334
|
-
|Data type|Permission|
|
|
335
|
-
|:---:|:---:|
|
|
336
|
-
|number|R|
|
|
337
|
-
|
|
338
|
-
*Read-only number, which represents the battery's current in Amps.*
|
|
339
|
-
|
|
340
|
-
* GUI_BAT_DATA_FUEL_CHARGE
|
|
341
|
-
|
|
342
|
-
|Data type|Permission|
|
|
343
|
-
|:---:|:---:|
|
|
344
|
-
|number|R|
|
|
345
|
-
|
|
346
|
-
*Read-only number, which represents the current level of your battery system in %.*
|
|
347
|
-
|
|
348
|
-
* GUI_BAT_DATA_VOLTAGE
|
|
349
|
-
|
|
350
|
-
|Data type|Permission|
|
|
351
|
-
|:---:|:---:|
|
|
352
|
-
|number|R|
|
|
353
|
-
|
|
354
|
-
*Read-only number, which represents the battery's current voltage in volt.*
|
|
355
|
-
|
|
356
|
-
* GUI_BAT_DATA_POWER
|
|
357
|
-
|
|
358
|
-
|Data type|Permission|
|
|
359
|
-
|:---:|:---:|
|
|
360
|
-
|number|R|
|
|
361
|
-
|
|
362
|
-
*Read-only number, which represents how much power is coming from / going into the battery in Watts. Negative values are discharging.*
|
|
363
|
-
|
|
364
|
-
* GUI_BOOSTING_INFO
|
|
365
|
-
|
|
366
|
-
|Data type|Permission|
|
|
367
|
-
|:---:|:---:|
|
|
368
|
-
|boolean|R|
|
|
369
|
-
|
|
370
|
-
*Read-only boolean, which we don't know the exact meaning of yet.*
|
|
371
|
-
|
|
372
|
-
* GUI_CHARGING_INFO
|
|
373
|
-
|
|
374
|
-
|Data type|Permission|
|
|
375
|
-
|:---:|:---:|
|
|
376
|
-
|boolean|R|
|
|
377
|
-
|
|
378
|
-
*Read-only boolean, which represents if the battery is currently charging.*
|
|
379
|
-
|
|
380
|
-
* GUI_GRID_POW
|
|
381
|
-
|
|
382
|
-
|Data type|Permission|
|
|
383
|
-
|:---:|:---:|
|
|
384
|
-
|number|R|
|
|
385
|
-
|
|
386
|
-
*Read-only number, which represents the power currenty coming from / going into the grid in Watts. Negative values are sending into the grid.*
|
|
387
|
-
|
|
388
|
-
* GUI_HOUSE_POW
|
|
389
|
-
|
|
390
|
-
|Data type|Permission|
|
|
391
|
-
|:---:|:---:|
|
|
392
|
-
|number|R|
|
|
393
|
-
|
|
394
|
-
*Read-only number, which represents the power in Watts currently consumed by the house.*
|
|
395
|
-
|
|
396
|
-
* GUI_INVERTER_POWER
|
|
397
|
-
|
|
398
|
-
|Data type|Permission|
|
|
399
|
-
|:---:|:---:|
|
|
400
|
-
|number|R|
|
|
401
|
-
|
|
402
|
-
*Read-only number, which represents the current power supplied by your PV system.*
|
|
403
|
-
|
|
404
|
-
* STAT_HOURS_OF_OPERATION
|
|
405
|
-
|
|
406
|
-
|Data type|Permission|
|
|
407
|
-
|:---:|:---:|
|
|
408
|
-
|number|R|
|
|
409
|
-
|
|
410
|
-
*Read-only number, detailing the system's uptime in hours.*
|
|
411
|
-
|
|
412
|
-
* STAT_MAINT_REQUIRED
|
|
413
|
-
|
|
414
|
-
|Data type|Permission|
|
|
415
|
-
|:---:|:---:|
|
|
416
|
-
|boolean|R|
|
|
417
|
-
|
|
418
|
-
*Read-only boolean, which represents if your senec system requires maintenance.*
|
|
419
|
-
|
|
420
|
-
* STAT_STATE
|
|
421
|
-
|
|
422
|
-
|Data type|Permission|
|
|
423
|
-
|:---:|:---:|
|
|
424
|
-
|number|R|
|
|
425
|
-
|
|
426
|
-
*Read-only number, which represents the system's state.*
|
|
427
|
-
|
|
428
|
-
* STAT_STATE_Text
|
|
429
|
-
|
|
430
|
-
|Data type|Permission|
|
|
431
|
-
|:---:|:---:|
|
|
432
|
-
|string|R|
|
|
433
|
-
|
|
434
|
-
*Read-only string, which represents the system's state in human readable format (sorry - we only have the german states from senec).*
|
|
435
|
-
|
|
436
|
-
#### Channel: STATISTIC
|
|
437
|
-
|
|
438
|
-
* STAT_DAY_BAT_CHARGE
|
|
439
|
-
|
|
440
|
-
|Data type|Permission|
|
|
441
|
-
|:---:|:---:|
|
|
442
|
-
|number|R|
|
|
443
|
-
|
|
444
|
-
*Read-only number, which represents the amount of power charged into the battery in kWh today.*
|
|
445
|
-
|
|
446
|
-
* STAT_DAY_BAT_DISCHARGE
|
|
447
|
-
|
|
448
|
-
|Data type|Permission|
|
|
449
|
-
|:---:|:---:|
|
|
450
|
-
|number|R|
|
|
451
|
-
|
|
452
|
-
*Read-only number, which represents the amount of power drawn from the battery in kWh today.*
|
|
453
|
-
|
|
454
|
-
* STAT_DAY_E_GRID_EXPORT
|
|
455
|
-
|
|
456
|
-
|Data type|Permission|
|
|
457
|
-
|:---:|:---:|
|
|
458
|
-
|number|R|
|
|
459
|
-
|
|
460
|
-
*Read-only number, which represents the amount of power in kWh delivered into the net today.*
|
|
461
|
-
|
|
462
|
-
* STAT_DAY_E_GRID_IMPORT
|
|
463
|
-
|
|
464
|
-
|Data type|Permission|
|
|
465
|
-
|:---:|:---:|
|
|
466
|
-
|number|R|
|
|
467
|
-
|
|
468
|
-
*Read-only number, which represents the amount of power in kWh drawn from the net today.*
|
|
469
|
-
|
|
470
|
-
* STAT_DAY_E_HOUSE
|
|
471
|
-
|
|
472
|
-
|Data type|Permission|
|
|
473
|
-
|:---:|:---:|
|
|
474
|
-
|number|R|
|
|
475
|
-
|
|
476
|
-
*Read-only number, which represents the amount of power in kWh consumed by the house today.*
|
|
477
|
-
|
|
478
|
-
* STAT_DAY_E_PV
|
|
479
|
-
|
|
480
|
-
|Data type|Permission|
|
|
481
|
-
|:---:|:---:|
|
|
482
|
-
|number|R|
|
|
483
|
-
|
|
484
|
-
*Read-only number, which represents the amount of power in kWh generated by your PV today.*
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
#### Channel: SYS_UPDATE
|
|
488
|
-
|
|
489
|
-
* NPU_IMAGE_VERSION
|
|
490
|
-
|
|
491
|
-
|Data type|Permission|
|
|
492
|
-
|:---:|:---:|
|
|
493
|
-
|number|R|
|
|
494
|
-
|
|
495
|
-
*Read-only number, representing the Revision NPU-IMAGE*
|
|
496
|
-
|
|
497
|
-
* NPU_VER
|
|
498
|
-
|
|
499
|
-
|Data type|Permission|
|
|
500
|
-
|:---:|:---:|
|
|
501
|
-
|number|R|
|
|
502
|
-
|
|
503
|
-
*Read-only number, representing the Revision NPU-REGS*
|
|
504
|
-
|
|
505
|
-
* UPDATE_AVAILABLE
|
|
506
|
-
|
|
507
|
-
|Data type|Permission|
|
|
508
|
-
|:---:|:---:|
|
|
509
|
-
|boolean|R|
|
|
510
|
-
|
|
511
|
-
*boolean-value which is true if there is an update available (Updates happen automatically and are scheduled by SENEC).*
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
#### Channel: WIZARD
|
|
515
|
-
|
|
516
|
-
* APPLICATION_VERSION
|
|
517
|
-
|
|
518
|
-
|Data type|Permission|
|
|
519
|
-
|:---:|:---:|
|
|
520
|
-
|string|R|
|
|
521
|
-
|
|
522
|
-
*Read-only text, representing the Revision MCU*
|
|
523
|
-
|
|
524
|
-
* CONFIG_LOADED
|
|
525
|
-
|
|
526
|
-
|Data type|Permission|
|
|
527
|
-
|:---:|:---:|
|
|
528
|
-
|boolean|R|
|
|
529
|
-
|
|
530
|
-
*boolean-value which is true if configuration is loaded. This being false is very unlikely and it shouldn't persist as false.*
|
|
531
|
-
|
|
532
|
-
* INTERFACE_VERSION
|
|
533
|
-
|
|
534
|
-
|Data type|Permission|
|
|
535
|
-
|:---:|:---:|
|
|
536
|
-
|string|R|
|
|
537
|
-
|
|
538
|
-
*Read-only text, representing the Revision GUI*
|
|
539
|
-
|
|
540
|
-
* SETUP_NUMBER_WALLBOXES
|
|
541
|
-
|
|
542
|
-
|Data type|Permission|
|
|
543
|
-
|:---:|:---:|
|
|
544
|
-
|number|R|
|
|
545
|
-
|
|
546
|
-
*Read-only number, which designates how many wallboxes are configured in the system.*
|
|
547
|
-
|
|
548
|
-
* SETUP_WALLBOX_SERIAL[0..3]
|
|
549
|
-
|
|
550
|
-
|Data type|Permission|
|
|
551
|
-
|:---:|:---:|
|
|
552
|
-
|string|R|
|
|
553
|
-
|
|
554
|
-
*Read-only text, which designates the serial number of wallbox [0..3].*
|
|
Binary file
|
package/main.test.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This is a dummy TypeScript test file using chai and mocha
|
|
5
|
-
*
|
|
6
|
-
* It's automatically excluded from npm and its build output is excluded from both git and npm.
|
|
7
|
-
* It is advised to test all your modules with accompanying *.test.js-files
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
// tslint:disable:no-unused-expression
|
|
11
|
-
|
|
12
|
-
const { expect } = require('chai');
|
|
13
|
-
// import { functionToTest } from "./moduleToTest";
|
|
14
|
-
|
|
15
|
-
describe('module to test => function to test', () => {
|
|
16
|
-
// initializing logic
|
|
17
|
-
const expected = 5;
|
|
18
|
-
|
|
19
|
-
it(`should return ${expected}`, () => {
|
|
20
|
-
const result = 5;
|
|
21
|
-
// assign result a value from functionToTest
|
|
22
|
-
expect(result).to.equal(expected);
|
|
23
|
-
// or using the should() syntax
|
|
24
|
-
result.should.equal(expected);
|
|
25
|
-
});
|
|
26
|
-
// ... more tests => it
|
|
27
|
-
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
// ... more test suites => describe
|