iobroker.device-watcher 2.13.1 → 2.14.5
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/README.md +26 -2
- package/admin/jsonConfig.json5 +1537 -2869
- package/io-package.json +525 -213
- package/lib/{arrApart.js → adapterArray.js} +195 -67
- package/lib/crud.js +1985 -1932
- package/lib/tools.js +158 -155
- package/lib/translations.js +26 -0
- package/main.js +384 -438
- package/package.json +13 -13
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
/*
|
|
4
4
|
Default Template:
|
|
5
5
|
adapterID: { // ID for adapter, it should be the same name as in settings etc.
|
|
6
|
-
|
|
6
|
+
adapterKey: // same like io-package adapter list tableDevices.adapterKey
|
|
7
|
+
selektor: '', // main datapoint of one device. Should be available for all devices. So the adapter can found all devices
|
|
7
8
|
timeSelector: '', // from which datapoint should the time be taken for the last contact
|
|
8
9
|
adapterID: '', // same id as above
|
|
9
10
|
adapter: '', // Adapter Name for notifications and tables
|
|
@@ -14,23 +15,38 @@ Default Template:
|
|
|
14
15
|
id: 'none', // datapoint with name of device (optional)
|
|
15
16
|
upgrade: 'none', // update datapoint that indicates available updates for the device (optional)
|
|
16
17
|
},
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
standard vorlage für neue adapter
|
|
21
|
+
|
|
17
22
|
adapterID: {
|
|
18
|
-
|
|
23
|
+
adapterKey: '',
|
|
24
|
+
selektor: '',
|
|
19
25
|
timeSelector: '',
|
|
20
26
|
adapterID: '',
|
|
21
27
|
adapter: '',
|
|
22
28
|
rssiState: 'none',
|
|
23
29
|
battery: 'none',
|
|
30
|
+
charger: 'none',
|
|
24
31
|
reach: 'none',
|
|
25
32
|
isLowBat: 'none',
|
|
26
33
|
id: 'none',
|
|
27
34
|
upgrade: 'none',
|
|
28
|
-
}
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
sonderlocke
|
|
38
|
+
|
|
39
|
+
hmrpc
|
|
40
|
+
shelly
|
|
41
|
+
|
|
42
|
+
in io-package muss der adapter auch rein sonst keine Auswahl im admin
|
|
43
|
+
|
|
29
44
|
*/
|
|
30
45
|
|
|
31
|
-
const
|
|
46
|
+
const adapterArray = {
|
|
32
47
|
alexa2: {
|
|
33
|
-
|
|
48
|
+
adapterKey: 'alexa2Devices',
|
|
49
|
+
selektor: 'alexa2.*.online',
|
|
34
50
|
timeSelector: '.online',
|
|
35
51
|
adapterID: 'alexa2',
|
|
36
52
|
adapter: 'Alexa2',
|
|
@@ -39,7 +55,8 @@ const arrApart = {
|
|
|
39
55
|
isLowBat: 'none',
|
|
40
56
|
},
|
|
41
57
|
apcups: {
|
|
42
|
-
|
|
58
|
+
adapterKey: 'apcupsDevices',
|
|
59
|
+
selektor: 'apcups.*.status',
|
|
43
60
|
timeSelector: '.status',
|
|
44
61
|
adapterID: 'apcups',
|
|
45
62
|
adapter: 'Apc UPS',
|
|
@@ -49,7 +66,8 @@ const arrApart = {
|
|
|
49
66
|
id: '.model',
|
|
50
67
|
},
|
|
51
68
|
ble: {
|
|
52
|
-
|
|
69
|
+
adapterKey: 'bleDevices',
|
|
70
|
+
selektor: 'ble.*.rssi',
|
|
53
71
|
timeSelector: '.rssi',
|
|
54
72
|
adapterID: 'ble',
|
|
55
73
|
adapter: 'Ble',
|
|
@@ -59,7 +77,8 @@ const arrApart = {
|
|
|
59
77
|
isLowBat: 'none',
|
|
60
78
|
},
|
|
61
79
|
deconz: {
|
|
62
|
-
|
|
80
|
+
adapterKey: 'deconzDevices',
|
|
81
|
+
selektor: 'deconz.*.reachable',
|
|
63
82
|
timeSelector: '.reachable',
|
|
64
83
|
adapterID: 'deconz',
|
|
65
84
|
adapter: 'Deconz',
|
|
@@ -68,7 +87,8 @@ const arrApart = {
|
|
|
68
87
|
isLowBat: 'none',
|
|
69
88
|
},
|
|
70
89
|
ecovacsdeebot: {
|
|
71
|
-
|
|
90
|
+
adapterKey: 'ecovacsdeebotDevices',
|
|
91
|
+
selektor: 'ecovacs-deebot.*.connection',
|
|
72
92
|
timeSelector: '.connectionUptime',
|
|
73
93
|
adapterID: 'ecovacsdeebot',
|
|
74
94
|
adapter: 'Ecovacs-Deebot',
|
|
@@ -80,7 +100,8 @@ const arrApart = {
|
|
|
80
100
|
upgrade: 'none',
|
|
81
101
|
},
|
|
82
102
|
enocean: {
|
|
83
|
-
|
|
103
|
+
adapterKey: 'enoceanDevices',
|
|
104
|
+
selektor: 'enocean.*.rssi',
|
|
84
105
|
timeSelector: '.rssi',
|
|
85
106
|
adapterID: 'enocean',
|
|
86
107
|
adapter: 'Enocean',
|
|
@@ -90,7 +111,8 @@ const arrApart = {
|
|
|
90
111
|
isLowBat: 'none',
|
|
91
112
|
},
|
|
92
113
|
esphome: {
|
|
93
|
-
|
|
114
|
+
adapterKey: 'esphomeDevices',
|
|
115
|
+
selektor: 'esphome.*._online',
|
|
94
116
|
timeSelector: '._online',
|
|
95
117
|
adapterID: 'esphome',
|
|
96
118
|
adapter: 'ESPHome',
|
|
@@ -100,7 +122,8 @@ const arrApart = {
|
|
|
100
122
|
id: '.name',
|
|
101
123
|
},
|
|
102
124
|
eusec: {
|
|
103
|
-
|
|
125
|
+
adapterKey: 'eusecDevices',
|
|
126
|
+
selektor: 'eusec.*.software_version',
|
|
104
127
|
timeSelector: '.software_version',
|
|
105
128
|
adapterID: 'eusec',
|
|
106
129
|
adapter: 'euSec',
|
|
@@ -111,7 +134,8 @@ const arrApart = {
|
|
|
111
134
|
id: '.name',
|
|
112
135
|
},
|
|
113
136
|
fhemTFAsensors: {
|
|
114
|
-
|
|
137
|
+
adapterKey: 'fhemTFAsensorsDevices',
|
|
138
|
+
selektor: 'fhem.*.batteryState',
|
|
115
139
|
timeSelector: '.state',
|
|
116
140
|
adapterID: 'fhemTFAsensors',
|
|
117
141
|
adapter: 'FHEM',
|
|
@@ -122,8 +146,22 @@ const arrApart = {
|
|
|
122
146
|
id: 'none',
|
|
123
147
|
upgrade: 'none',
|
|
124
148
|
},
|
|
149
|
+
freeair: {
|
|
150
|
+
adapterKey: 'freeairDevices',
|
|
151
|
+
selektor: 'freeair.*.isOnline',
|
|
152
|
+
timeSelector: '.isOnline',
|
|
153
|
+
adapterID: 'freeair',
|
|
154
|
+
adapter: 'FreeAir 100',
|
|
155
|
+
rssiState: '.rssi',
|
|
156
|
+
battery: 'none',
|
|
157
|
+
reach: '.isOnline',
|
|
158
|
+
isLowBat: 'none',
|
|
159
|
+
id: 'none',
|
|
160
|
+
upgrade: 'none',
|
|
161
|
+
},
|
|
125
162
|
fritzdect: {
|
|
126
|
-
|
|
163
|
+
adapterKey: 'fritzdectDevices',
|
|
164
|
+
selektor: 'fritzdect.*.present',
|
|
127
165
|
timeSelector: '.present',
|
|
128
166
|
adapterID: 'fritzdect',
|
|
129
167
|
adapter: 'Fritz Dect',
|
|
@@ -132,7 +170,8 @@ const arrApart = {
|
|
|
132
170
|
isLowBat: 'none',
|
|
133
171
|
},
|
|
134
172
|
fullybrowser: {
|
|
135
|
-
|
|
173
|
+
adapterKey: 'fullybrowserDevices',
|
|
174
|
+
selektor: 'fullybrowser.*.isFullyAlive',
|
|
136
175
|
timeSelector: '.isFullyAlive',
|
|
137
176
|
adapterID: 'fullybrowser',
|
|
138
177
|
adapter: 'fullyBrowser',
|
|
@@ -144,7 +183,8 @@ const arrApart = {
|
|
|
144
183
|
id2: '.Info.deviceModel',
|
|
145
184
|
},
|
|
146
185
|
fullybrowserV3: {
|
|
147
|
-
|
|
186
|
+
adapterKey: 'fullybrowserV3Devices',
|
|
187
|
+
selektor: 'fullybrowser.*.alive',
|
|
148
188
|
timeSelector: '.alive',
|
|
149
189
|
adapterID: 'fullybrowserV3',
|
|
150
190
|
adapter: 'fullyBrowser',
|
|
@@ -155,7 +195,8 @@ const arrApart = {
|
|
|
155
195
|
id: 'none',
|
|
156
196
|
},
|
|
157
197
|
fullyMQTT: {
|
|
158
|
-
|
|
198
|
+
adapterKey: 'fullyMQTTDevices',
|
|
199
|
+
selektor: 'fully-mqtt.*.alive',
|
|
159
200
|
timeSelector: '.alive',
|
|
160
201
|
adapterID: 'fullyMQTT',
|
|
161
202
|
adapter: 'Fully-MQTT',
|
|
@@ -167,7 +208,8 @@ const arrApart = {
|
|
|
167
208
|
upgrade: 'none',
|
|
168
209
|
},
|
|
169
210
|
harmony: {
|
|
170
|
-
|
|
211
|
+
adapterKey: 'harmonyDevices',
|
|
212
|
+
selektor: 'harmony.*.hubConnected',
|
|
171
213
|
timeSelector: '.activities.currentStatus',
|
|
172
214
|
adapterID: 'harmony',
|
|
173
215
|
adapter: 'Harmony',
|
|
@@ -176,7 +218,8 @@ const arrApart = {
|
|
|
176
218
|
isLowBat: 'none',
|
|
177
219
|
},
|
|
178
220
|
ham: {
|
|
179
|
-
|
|
221
|
+
adapterKey: 'hamDevices',
|
|
222
|
+
selektor: 'ham.*.Battery-Level',
|
|
180
223
|
timeSelector: '.Battery-Level',
|
|
181
224
|
adapterID: 'ham',
|
|
182
225
|
adapter: 'Ham',
|
|
@@ -186,7 +229,8 @@ const arrApart = {
|
|
|
186
229
|
id: '.Name',
|
|
187
230
|
},
|
|
188
231
|
hmiP: {
|
|
189
|
-
|
|
232
|
+
adapterKey: 'hmiPDevices',
|
|
233
|
+
selektor: 'hmip.*.rssiDeviceValue',
|
|
190
234
|
timeSelector: '.rssiDeviceValue',
|
|
191
235
|
adapterID: 'hmiP',
|
|
192
236
|
adapter: 'Homematic IP',
|
|
@@ -197,7 +241,8 @@ const arrApart = {
|
|
|
197
241
|
upgrade: '.info.updateState',
|
|
198
242
|
},
|
|
199
243
|
hmrpc: {
|
|
200
|
-
|
|
244
|
+
adapterKey: 'hmrpcDevices',
|
|
245
|
+
selektor: 'hm-rpc.*.RSSI_PEER',
|
|
201
246
|
timeSelector: '.UNREACH',
|
|
202
247
|
adapterID: 'hmrpc',
|
|
203
248
|
adapter: 'Homematic RPC',
|
|
@@ -214,7 +259,8 @@ const arrApart = {
|
|
|
214
259
|
upgrade: '.UPDATE_PENDING_ALARM',
|
|
215
260
|
},
|
|
216
261
|
homeconnect: {
|
|
217
|
-
|
|
262
|
+
adapterKey: 'homeconnectDevices',
|
|
263
|
+
selektor: 'homeconnect.*.general.connected',
|
|
218
264
|
timeSelector: '.connected',
|
|
219
265
|
adapterID: 'homeconnect',
|
|
220
266
|
adapter: 'Home Connect',
|
|
@@ -225,8 +271,23 @@ const arrApart = {
|
|
|
225
271
|
id: '.name',
|
|
226
272
|
upgrade: 'none',
|
|
227
273
|
},
|
|
274
|
+
homee: {
|
|
275
|
+
// battery only structure problem
|
|
276
|
+
adapterKey: 'homeeDevices',
|
|
277
|
+
selektor: 'homee.*.BatteryLevel*',
|
|
278
|
+
timeSelector: '.connected',
|
|
279
|
+
adapterID: 'homee',
|
|
280
|
+
adapter: 'Homee',
|
|
281
|
+
rssiState: 'none',
|
|
282
|
+
battery: '.BatteryLevel*',
|
|
283
|
+
reach: 'none',
|
|
284
|
+
isLowBat: 'none',
|
|
285
|
+
id: 'none',
|
|
286
|
+
upgrade: 'none',
|
|
287
|
+
},
|
|
228
288
|
homekitController: {
|
|
229
|
-
|
|
289
|
+
adapterKey: 'homekitControllerDevices',
|
|
290
|
+
selektor: 'homekit-controller.*.connected',
|
|
230
291
|
timeSelector: '.lastDiscovered',
|
|
231
292
|
adapterID: 'homekitController',
|
|
232
293
|
adapter: 'Homekit Controller',
|
|
@@ -238,7 +299,8 @@ const arrApart = {
|
|
|
238
299
|
upgrade: 'none',
|
|
239
300
|
},
|
|
240
301
|
hs100: {
|
|
241
|
-
|
|
302
|
+
adapterKey: 'hs100Devices',
|
|
303
|
+
selektor: 'hs100.*.last_update',
|
|
242
304
|
timeSelector: '.last_update',
|
|
243
305
|
adapterID: 'hs100',
|
|
244
306
|
adapter: 'hs100',
|
|
@@ -247,7 +309,8 @@ const arrApart = {
|
|
|
247
309
|
isLowBat: 'none',
|
|
248
310
|
},
|
|
249
311
|
hue: {
|
|
250
|
-
|
|
312
|
+
adapterKey: 'hueDevices',
|
|
313
|
+
selektor: 'hue.*.reachable',
|
|
251
314
|
timeSelector: '.reachable',
|
|
252
315
|
adapterID: 'hue',
|
|
253
316
|
adapter: 'Philips Hue',
|
|
@@ -256,7 +319,8 @@ const arrApart = {
|
|
|
256
319
|
isLowBat: 'none',
|
|
257
320
|
},
|
|
258
321
|
hueExt: {
|
|
259
|
-
|
|
322
|
+
adapterKey: 'hueExtDevices',
|
|
323
|
+
selektor: 'hue-extended.*.reachable',
|
|
260
324
|
timeSelector: '.reachable',
|
|
261
325
|
adapterID: 'hueExt',
|
|
262
326
|
adapter: 'Philips Hue Extended',
|
|
@@ -265,7 +329,8 @@ const arrApart = {
|
|
|
265
329
|
isLowBat: 'none',
|
|
266
330
|
},
|
|
267
331
|
innogy: {
|
|
268
|
-
|
|
332
|
+
adapterKey: 'innogyDevices',
|
|
333
|
+
selektor: 'innogy-smarthome.*.IsReachable',
|
|
269
334
|
timeSelector: '.IsReachable',
|
|
270
335
|
adapterID: 'innogy',
|
|
271
336
|
adapter: 'Innogy Smarthome',
|
|
@@ -275,7 +340,8 @@ const arrApart = {
|
|
|
275
340
|
isLowBat: '.LowBattery',
|
|
276
341
|
},
|
|
277
342
|
jeelink: {
|
|
278
|
-
|
|
343
|
+
adapterKey: 'jeelinkDevices',
|
|
344
|
+
selektor: 'jeelink.*.lowBatt',
|
|
279
345
|
timeSelector: '.lowBatt',
|
|
280
346
|
adapterID: 'jeelink',
|
|
281
347
|
adapter: 'Jeelink',
|
|
@@ -284,7 +350,8 @@ const arrApart = {
|
|
|
284
350
|
isLowBat: '.lowBatt',
|
|
285
351
|
},
|
|
286
352
|
loqedSmartLock: {
|
|
287
|
-
|
|
353
|
+
adapterKey: 'loqedSmartLockDevices',
|
|
354
|
+
selektor: 'loqed.*.connection',
|
|
288
355
|
timeSelector: '.lockStatus.batteryPercentage',
|
|
289
356
|
adapterID: 'loqedSmartLock',
|
|
290
357
|
adapter: 'Loqed Smart Lock',
|
|
@@ -294,7 +361,8 @@ const arrApart = {
|
|
|
294
361
|
isLowBat: '.lowBatt',
|
|
295
362
|
},
|
|
296
363
|
lupusec: {
|
|
297
|
-
|
|
364
|
+
adapterKey: 'lupusecDevices',
|
|
365
|
+
selektor: 'lupusec.*.cond_ok',
|
|
298
366
|
timeSelector: '.cond_ok',
|
|
299
367
|
adapterID: 'lupusec',
|
|
300
368
|
adapter: 'Lupusec',
|
|
@@ -304,8 +372,21 @@ const arrApart = {
|
|
|
304
372
|
isLowBat: '.battery_ok',
|
|
305
373
|
id: 'none',
|
|
306
374
|
},
|
|
375
|
+
matter: {
|
|
376
|
+
adapterKey: 'matterDevices',
|
|
377
|
+
selektor: 'matter.*.online',
|
|
378
|
+
adapterID: 'matter',
|
|
379
|
+
adapter: 'matter',
|
|
380
|
+
rssiState: 'none',
|
|
381
|
+
battery: '.BATTERY',
|
|
382
|
+
reach: '.connection',
|
|
383
|
+
isLowBat: '.LOWBAT',
|
|
384
|
+
id: 'none',
|
|
385
|
+
upgrade: 'none',
|
|
386
|
+
},
|
|
307
387
|
maxcube: {
|
|
308
|
-
|
|
388
|
+
adapterKey: 'maxcubeDevices',
|
|
389
|
+
selektor: 'maxcube.*.link_error',
|
|
309
390
|
timeSelector: '.link_error',
|
|
310
391
|
adapterID: 'maxcube',
|
|
311
392
|
adapter: 'Max! Cube',
|
|
@@ -314,7 +395,8 @@ const arrApart = {
|
|
|
314
395
|
isLowBat: '.battery_low',
|
|
315
396
|
},
|
|
316
397
|
meross: {
|
|
317
|
-
|
|
398
|
+
adapterKey: 'merossDevices',
|
|
399
|
+
selektor: 'meross.*.online',
|
|
318
400
|
timeSelector: '.online',
|
|
319
401
|
adapterID: 'meross',
|
|
320
402
|
adapter: 'Meross',
|
|
@@ -323,7 +405,8 @@ const arrApart = {
|
|
|
323
405
|
isLowBat: 'none',
|
|
324
406
|
},
|
|
325
407
|
mihome: {
|
|
326
|
-
|
|
408
|
+
adapterKey: 'mihomeDevices',
|
|
409
|
+
selektor: 'mihome.*.percent',
|
|
327
410
|
timeSelector: '.percent',
|
|
328
411
|
adapterID: 'mihome',
|
|
329
412
|
adapter: 'MiHome',
|
|
@@ -332,7 +415,8 @@ const arrApart = {
|
|
|
332
415
|
isLowBat: 'none',
|
|
333
416
|
},
|
|
334
417
|
mihomeGW: {
|
|
335
|
-
|
|
418
|
+
adapterKey: 'mihomeGWDevices',
|
|
419
|
+
selektor: 'mihome.*.connected',
|
|
336
420
|
timeSelector: '.connected',
|
|
337
421
|
adapterID: 'mihome',
|
|
338
422
|
adapter: 'MiHome',
|
|
@@ -341,7 +425,8 @@ const arrApart = {
|
|
|
341
425
|
isLowBat: 'none',
|
|
342
426
|
},
|
|
343
427
|
mihomeVacuum: {
|
|
344
|
-
|
|
428
|
+
adapterKey: 'mihomeVacuumDevices',
|
|
429
|
+
selektor: 'mihome-vacuum.*.connection',
|
|
345
430
|
timeSelector: '.connection',
|
|
346
431
|
adapterID: 'mihomeVacuum',
|
|
347
432
|
adapter: 'MiHome Vacuum',
|
|
@@ -353,7 +438,8 @@ const arrApart = {
|
|
|
353
438
|
id: '.deviceInfo.model',
|
|
354
439
|
},
|
|
355
440
|
mqttClientZigbee2Mqtt: {
|
|
356
|
-
|
|
441
|
+
adapterKey: 'mqttClientZigbee2MqttDevices',
|
|
442
|
+
selektor: 'mqtt-client.*.zigbee2mqtt.*.availability',
|
|
357
443
|
timeSelector: '.availability',
|
|
358
444
|
adapterID: 'mqttClientZigbee2Mqtt',
|
|
359
445
|
adapter: 'MQTT-Client',
|
|
@@ -363,7 +449,8 @@ const arrApart = {
|
|
|
363
449
|
isLowBat: '.battery_low',
|
|
364
450
|
},
|
|
365
451
|
mqttNuki: {
|
|
366
|
-
|
|
452
|
+
adapterKey: 'mqttNukiDevices',
|
|
453
|
+
selektor: 'mqtt.*.lock.state',
|
|
367
454
|
timeSelector: '.rssi',
|
|
368
455
|
adapterID: 'mqttNuki',
|
|
369
456
|
adapter: 'MQTT',
|
|
@@ -373,7 +460,8 @@ const arrApart = {
|
|
|
373
460
|
isLowBat: 'none',
|
|
374
461
|
},
|
|
375
462
|
musiccast: {
|
|
376
|
-
|
|
463
|
+
adapterKey: 'musiccastDevices',
|
|
464
|
+
selektor: 'musiccast.*.online',
|
|
377
465
|
timeSelector: '.online',
|
|
378
466
|
adapterID: 'musiccast',
|
|
379
467
|
adapter: 'MusicCast',
|
|
@@ -383,7 +471,8 @@ const arrApart = {
|
|
|
383
471
|
isLowBat: 'none',
|
|
384
472
|
},
|
|
385
473
|
netatmo: {
|
|
386
|
-
|
|
474
|
+
adapterKey: 'netatmoDevices',
|
|
475
|
+
selektor: 'netatmo.*.LastUpdate',
|
|
387
476
|
timeSelector: '.LastUpdate',
|
|
388
477
|
adapterID: 'netatmo',
|
|
389
478
|
adapter: 'Netatmo',
|
|
@@ -394,7 +483,8 @@ const arrApart = {
|
|
|
394
483
|
isLowBat: 'none',
|
|
395
484
|
},
|
|
396
485
|
nukiExt: {
|
|
397
|
-
|
|
486
|
+
adapterKey: 'nukiExtDevices',
|
|
487
|
+
selektor: 'nuki-extended.*.lastDataUpdate',
|
|
398
488
|
timeSelector: '.lastDataUpdate',
|
|
399
489
|
adapterID: 'nukiExt',
|
|
400
490
|
adapter: 'Nuki Extended',
|
|
@@ -404,7 +494,8 @@ const arrApart = {
|
|
|
404
494
|
isLowBat: '.batteryCritical',
|
|
405
495
|
},
|
|
406
496
|
nut: {
|
|
407
|
-
|
|
497
|
+
adapterKey: 'nutDevices',
|
|
498
|
+
selektor: 'nut.*.charge',
|
|
408
499
|
timeSelector: '.charge',
|
|
409
500
|
adapterID: 'nut',
|
|
410
501
|
adapter: 'Nut',
|
|
@@ -413,7 +504,8 @@ const arrApart = {
|
|
|
413
504
|
isLowBat: 'none',
|
|
414
505
|
},
|
|
415
506
|
ping: {
|
|
416
|
-
|
|
507
|
+
adapterKey: 'pingDevices',
|
|
508
|
+
selektor: 'ping.*.alive',
|
|
417
509
|
timeSelector: '.alive',
|
|
418
510
|
adapterID: 'ping',
|
|
419
511
|
adapter: 'Ping',
|
|
@@ -422,7 +514,8 @@ const arrApart = {
|
|
|
422
514
|
isLowBat: 'none',
|
|
423
515
|
},
|
|
424
516
|
proxmox: {
|
|
425
|
-
|
|
517
|
+
adapterKey: 'proxmoxDevices',
|
|
518
|
+
selektor: 'proxmox.*.status',
|
|
426
519
|
timeSelector: '.uptime',
|
|
427
520
|
adapterID: 'proxmox',
|
|
428
521
|
adapter: 'Proxmox',
|
|
@@ -431,9 +524,9 @@ const arrApart = {
|
|
|
431
524
|
isLowBat: 'none',
|
|
432
525
|
rssiState: 'none',
|
|
433
526
|
},
|
|
434
|
-
|
|
435
527
|
ring: {
|
|
436
|
-
|
|
528
|
+
adapterKey: 'ringDevices',
|
|
529
|
+
selektor: 'ring.*.latest_signal_strength',
|
|
437
530
|
timeSelector: '.latest_signal_strength',
|
|
438
531
|
adapterID: 'ring',
|
|
439
532
|
adapter: 'Ring',
|
|
@@ -446,7 +539,8 @@ const arrApart = {
|
|
|
446
539
|
upgrade: '.firmware',
|
|
447
540
|
},
|
|
448
541
|
roomba: {
|
|
449
|
-
|
|
542
|
+
adapterKey: 'roombaDevices',
|
|
543
|
+
selektor: 'roomba.*.signal',
|
|
450
544
|
timeSelector: '.signal',
|
|
451
545
|
adapterID: 'roomba',
|
|
452
546
|
adapter: 'Roomba',
|
|
@@ -457,7 +551,8 @@ const arrApart = {
|
|
|
457
551
|
id: '.device.name',
|
|
458
552
|
},
|
|
459
553
|
shelly: {
|
|
460
|
-
|
|
554
|
+
adapterKey: 'shellyDevices',
|
|
555
|
+
selektor: 'shelly.*.uptime',
|
|
461
556
|
timeSelector: '.uptime',
|
|
462
557
|
adapterID: 'shelly',
|
|
463
558
|
adapter: 'Shelly',
|
|
@@ -471,7 +566,8 @@ const arrApart = {
|
|
|
471
566
|
upgrade: '.firmware',
|
|
472
567
|
},
|
|
473
568
|
smartgarden: {
|
|
474
|
-
|
|
569
|
+
adapterKey: 'smartgardenDevices',
|
|
570
|
+
selektor: 'smartgarden.*.serial_value',
|
|
475
571
|
timeSelector: '.rfLinkLevel_timestamp',
|
|
476
572
|
adapterID: 'smartgarden',
|
|
477
573
|
adapter: 'Smartgarden',
|
|
@@ -483,7 +579,8 @@ const arrApart = {
|
|
|
483
579
|
upgrade: 'none',
|
|
484
580
|
},
|
|
485
581
|
sonoff: {
|
|
486
|
-
|
|
582
|
+
adapterKey: 'sonoffDevices',
|
|
583
|
+
selektor: 'sonoff.*.alive',
|
|
487
584
|
timeSelector: '.Uptime',
|
|
488
585
|
adapterID: 'sonoff',
|
|
489
586
|
adapter: 'Sonoff',
|
|
@@ -495,7 +592,8 @@ const arrApart = {
|
|
|
495
592
|
id: '.DeviceName',
|
|
496
593
|
},
|
|
497
594
|
sonos: {
|
|
498
|
-
|
|
595
|
+
adapterKey: 'sonosDevices',
|
|
596
|
+
selektor: 'sonos.*.alive',
|
|
499
597
|
timeSelector: '.alive',
|
|
500
598
|
adapterID: 'sonos',
|
|
501
599
|
adapter: 'Sonos',
|
|
@@ -504,7 +602,8 @@ const arrApart = {
|
|
|
504
602
|
isLowBat: 'none',
|
|
505
603
|
},
|
|
506
604
|
sureflap: {
|
|
507
|
-
|
|
605
|
+
adapterKey: 'sureflapDevices',
|
|
606
|
+
selektor: 'sureflap.*.online',
|
|
508
607
|
timeSelector: '.online',
|
|
509
608
|
adapterID: 'sureflap',
|
|
510
609
|
adapter: 'Sure Flap',
|
|
@@ -513,7 +612,8 @@ const arrApart = {
|
|
|
513
612
|
isLowBat: 'none',
|
|
514
613
|
},
|
|
515
614
|
switchbotBle: {
|
|
516
|
-
|
|
615
|
+
adapterKey: 'switchbotBleDevices',
|
|
616
|
+
selektor: 'switchbot-ble.*.rssi',
|
|
517
617
|
timeSelector: '.rssi',
|
|
518
618
|
adapterID: 'switchbotBle',
|
|
519
619
|
adapter: 'Switchbot Ble',
|
|
@@ -524,7 +624,8 @@ const arrApart = {
|
|
|
524
624
|
id: '.id',
|
|
525
625
|
},
|
|
526
626
|
tado: {
|
|
527
|
-
|
|
627
|
+
adapterKey: 'tadoDevices',
|
|
628
|
+
selektor: 'tado.*.batteryState',
|
|
528
629
|
timeSelector: '.batteryState',
|
|
529
630
|
adapterID: 'tado',
|
|
530
631
|
adapter: 'Tado',
|
|
@@ -535,7 +636,8 @@ const arrApart = {
|
|
|
535
636
|
id: 'none',
|
|
536
637
|
},
|
|
537
638
|
tapo: {
|
|
538
|
-
|
|
639
|
+
adapterKey: 'tapoDevices',
|
|
640
|
+
selektor: 'tapo.*.last_update',
|
|
539
641
|
timeSelector: '.last_update',
|
|
540
642
|
adapterID: 'tapo',
|
|
541
643
|
adapter: 'Tapo',
|
|
@@ -546,7 +648,8 @@ const arrApart = {
|
|
|
546
648
|
id: 'none',
|
|
547
649
|
},
|
|
548
650
|
tradfri: {
|
|
549
|
-
|
|
651
|
+
adapterKey: 'tradfriDevices',
|
|
652
|
+
selektor: 'tradfri.*.lastSeen',
|
|
550
653
|
timeSelector: '.lastSeen',
|
|
551
654
|
adapterID: 'tradfri',
|
|
552
655
|
adapter: 'Tradfri',
|
|
@@ -557,7 +660,8 @@ const arrApart = {
|
|
|
557
660
|
id: 'none',
|
|
558
661
|
},
|
|
559
662
|
tuya: {
|
|
560
|
-
|
|
663
|
+
adapterKey: 'tuyaDevices',
|
|
664
|
+
selektor: 'tuya.*.online',
|
|
561
665
|
timeSelector: '.online',
|
|
562
666
|
adapterID: 'tuya',
|
|
563
667
|
adapter: 'Tuya',
|
|
@@ -569,7 +673,8 @@ const arrApart = {
|
|
|
569
673
|
upgrade: 'none',
|
|
570
674
|
},
|
|
571
675
|
unifi: {
|
|
572
|
-
|
|
676
|
+
adapterKey: 'unifiDevices',
|
|
677
|
+
selektor: 'unifi.*.state',
|
|
573
678
|
timeSelector: '.uptime',
|
|
574
679
|
adapterID: 'unifi',
|
|
575
680
|
adapter: 'Unifi',
|
|
@@ -579,8 +684,21 @@ const arrApart = {
|
|
|
579
684
|
id: 'none',
|
|
580
685
|
upgrade: '.upgradable',
|
|
581
686
|
},
|
|
687
|
+
'unifi-network': {
|
|
688
|
+
adapterKey: 'unifi-networkDevices',
|
|
689
|
+
selektor: 'unifi-network.*.devices.*.isOnline',
|
|
690
|
+
timeSelector: '.uptime',
|
|
691
|
+
adapterID: 'unifi-network',
|
|
692
|
+
adapter: 'Unifi Network',
|
|
693
|
+
battery: 'none',
|
|
694
|
+
reach: '.isOnline',
|
|
695
|
+
isLowBat: 'none',
|
|
696
|
+
id: 'none',
|
|
697
|
+
upgrade: '.upgradable',
|
|
698
|
+
},
|
|
582
699
|
viessmann: {
|
|
583
|
-
|
|
700
|
+
adapterKey: 'viessmannDevices',
|
|
701
|
+
selektor: 'viessmann.*.info.connection',
|
|
584
702
|
timeSelector: '.lastPoll',
|
|
585
703
|
adapterID: 'viessmann',
|
|
586
704
|
adapter: 'Viessmann',
|
|
@@ -592,7 +710,8 @@ const arrApart = {
|
|
|
592
710
|
upgrade: 'none',
|
|
593
711
|
},
|
|
594
712
|
wifilight: {
|
|
595
|
-
|
|
713
|
+
adapterKey: 'wifilightDevices',
|
|
714
|
+
selektor: 'wifilight.*.reachable',
|
|
596
715
|
timeSelector: '.reachable',
|
|
597
716
|
adapterID: 'wifilight',
|
|
598
717
|
adapter: 'Wifilight',
|
|
@@ -604,7 +723,8 @@ const arrApart = {
|
|
|
604
723
|
upgrade: 'none',
|
|
605
724
|
},
|
|
606
725
|
wled: {
|
|
607
|
-
|
|
726
|
+
adapterKey: 'wledDevices',
|
|
727
|
+
selektor: 'wled.*._online',
|
|
608
728
|
timeSelector: '._online',
|
|
609
729
|
adapterID: 'wled',
|
|
610
730
|
adapter: 'WLED',
|
|
@@ -612,20 +732,25 @@ const arrApart = {
|
|
|
612
732
|
battery: 'none',
|
|
613
733
|
reach: '._online',
|
|
614
734
|
isLowBat: 'none',
|
|
615
|
-
id: '
|
|
735
|
+
id: '.name',
|
|
736
|
+
upgrade: 'none',
|
|
616
737
|
},
|
|
617
738
|
xsense: {
|
|
618
|
-
|
|
739
|
+
adapterKey: 'xsenseDevices',
|
|
740
|
+
selektor: 'xsense.*.online',
|
|
619
741
|
timeSelector: '.online',
|
|
620
742
|
adapterID: 'xsense',
|
|
621
743
|
adapter: 'XSense',
|
|
744
|
+
rssiState: 'none',
|
|
622
745
|
battery: '.batInfo',
|
|
623
746
|
reach: '.online',
|
|
624
747
|
isLowBat: '.batInfo',
|
|
625
748
|
id: 'none',
|
|
749
|
+
upgrade: 'none',
|
|
626
750
|
},
|
|
627
751
|
yeelight: {
|
|
628
|
-
|
|
752
|
+
adapterKey: 'yeelightDevices',
|
|
753
|
+
selektor: 'yeelight-2.*.connect',
|
|
629
754
|
timeSelector: '.connect',
|
|
630
755
|
adapterID: 'yeelight',
|
|
631
756
|
adapter: 'Yeelight',
|
|
@@ -634,7 +759,8 @@ const arrApart = {
|
|
|
634
759
|
isLowBat: 'none',
|
|
635
760
|
},
|
|
636
761
|
zigbee: {
|
|
637
|
-
|
|
762
|
+
adapterKey: 'zigbeeDevices',
|
|
763
|
+
selektor: 'zigbee.*.link_quality',
|
|
638
764
|
timeSelector: '.link_quality',
|
|
639
765
|
adapterID: 'zigbee',
|
|
640
766
|
adapter: 'Zigbee',
|
|
@@ -645,7 +771,8 @@ const arrApart = {
|
|
|
645
771
|
isLowBat: '.battery_low',
|
|
646
772
|
},
|
|
647
773
|
zigbee2MQTT: {
|
|
648
|
-
|
|
774
|
+
adapterKey: 'zigbee2mqttDevices',
|
|
775
|
+
selektor: 'zigbee2mqtt.*.link_quality',
|
|
649
776
|
timeSelector: '.link_quality',
|
|
650
777
|
adapterID: 'zigbee2MQTT',
|
|
651
778
|
adapter: 'Zigbee2MQTT',
|
|
@@ -656,7 +783,8 @@ const arrApart = {
|
|
|
656
783
|
isLowBat: '.battery_low',
|
|
657
784
|
},
|
|
658
785
|
zwave2: {
|
|
659
|
-
|
|
786
|
+
adapterKey: 'zwave2Devices',
|
|
787
|
+
selektor: 'zwave2.*.ready',
|
|
660
788
|
timeSelector: '.status',
|
|
661
789
|
adapterID: 'zwave2',
|
|
662
790
|
adapter: 'Z-wave 2',
|
|
@@ -666,4 +794,4 @@ const arrApart = {
|
|
|
666
794
|
},
|
|
667
795
|
};
|
|
668
796
|
|
|
669
|
-
module.exports =
|
|
797
|
+
module.exports = adapterArray;
|