iobroker.device-watcher 2.11.0 → 2.12.1
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 +1 -0
- package/README.md +55 -41
- package/io-package.json +74 -71
- package/lib/arrApart.js +2 -0
- package/main.js +20 -6
- package/package.json +13 -13
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# ioBroker.device-watcher
|
|
4
4
|
|
|
5
|
-
[](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/blob/main/LICENSE)
|
|
6
6
|
[](https://www.npmjs.com/package/iobroker.device-watcher)
|
|
7
|
-

|
|
8
8
|
[](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)</br>
|
|
9
|
-
](https://img.shields.io/github/commits-since/
|
|
11
|
-

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
13
|
</br>
|
|
14
14
|
**Version:** </br>
|
|
15
15
|
[](https://www.npmjs.com/package/iobroker.device-watcher)
|
|
@@ -17,9 +17,8 @@
|
|
|
17
17
|

|
|
18
18
|
</br>
|
|
19
19
|
**Tests:** </br>
|
|
20
|
-
](https://snyk.io/test/github/ciddi89/ioBroker.device-watcher)
|
|
20
|
+

|
|
21
|
+
[](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/actions/workflows/codeql.yml)
|
|
23
22
|
|
|
24
23
|
## Sentry
|
|
25
24
|
|
|
@@ -143,7 +142,7 @@ It's also counting them in the same categories. You can use the lists and states
|
|
|
143
142
|
</table>
|
|
144
143
|
|
|
145
144
|
A list with more information about the supported adapters can be found here: [in German](docs/de/listSupportAdapter.md) or [in English](docs/en/listSupportAdapter.md).</br>
|
|
146
|
-
**If one adapter is missing, feel free to open an request [issue](https://github.com/
|
|
145
|
+
**If one adapter is missing, feel free to open an request [issue](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/new/choose) to add it.**
|
|
147
146
|
|
|
148
147
|
### Notifications:
|
|
149
148
|
|
|
@@ -183,29 +182,43 @@ It's possible to select:
|
|
|
183
182
|

|
|
184
183
|

|
|
185
184
|
|
|
185
|
+
## Credits
|
|
186
|
+
|
|
187
|
+
This adapter would not have been possible without the great work of Christian Behrends <mail@christian-behrends.de> who implemented the initial releases of this adapter.
|
|
188
|
+
|
|
186
189
|
## Changelog
|
|
187
190
|
|
|
188
191
|
<!--
|
|
189
192
|
Placeholder for the next version (at the beginning of the line):
|
|
190
193
|
### **WORK IN PROGRESS**
|
|
191
194
|
-->
|
|
195
|
+
### 2.12.1 (2024-05-09)
|
|
196
|
+
|
|
197
|
+
- (ciddi89) Added: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Support for Zigbee battery_state datapoint
|
|
198
|
+
|
|
199
|
+
### 2.12.0 (2024-04-05)
|
|
200
|
+
|
|
201
|
+
- (mcm1957) Adapter requires nodeJS >= 18 and js-controller >= 5 now
|
|
202
|
+
- (mcm1957) Adpter has been migrated to iobroker-community-adapters organisation
|
|
203
|
+
- (mcm1957) Dependencies have been updated
|
|
204
|
+
|
|
192
205
|
### 2.11.0 (2024-03-18)
|
|
193
206
|
|
|
194
|
-
- (ciddi89) Added [#323](https://github.com/
|
|
207
|
+
- (ciddi89) Added [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Support for Ring Cameras
|
|
195
208
|
|
|
196
209
|
### 2.10.5 (2024-02-29)
|
|
197
210
|
|
|
198
|
-
- (ciddi89) Fixed [#262](https://github.com/
|
|
211
|
+
- (ciddi89) Fixed [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Phantom Messages
|
|
199
212
|
|
|
200
213
|
### 2.10.4 (2024-02-26)
|
|
201
214
|
|
|
202
215
|
- (ciddi89) Added: Option to set language for messages and tables
|
|
203
|
-
- (ciddi89) Fixed [#312](https://github.com/
|
|
216
|
+
- (ciddi89) Fixed [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Schedule messages were not emptied after they were sent
|
|
204
217
|
- (ciddi89) Fixed: Too many messages were sent about online / offline devices when an instance was started or ended
|
|
205
218
|
|
|
206
219
|
### 2.10.3 (2024-01-27)
|
|
207
220
|
|
|
208
|
-
- (ciddi89) Fixed [#299](https://github.com/
|
|
221
|
+
- (ciddi89) Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list
|
|
209
222
|
|
|
210
223
|
### 2.10.2 (2024-01-20)
|
|
211
224
|
|
|
@@ -219,9 +232,9 @@ It's possible to select:
|
|
|
219
232
|
|
|
220
233
|
### 2.10.0 (2024-01-13)
|
|
221
234
|
|
|
222
|
-
- (ciddi89) Fixed: Batterie value for shelly plus Gen2 devices [#282](https://github.com/
|
|
223
|
-
- (ciddi89) Added: Option to display the last signal strength value when the device is offline [#282](https://github.com/
|
|
224
|
-
- (ciddi89) Added: Translation for JSON lists, HTML lists and notifications [#245](https://github.com/
|
|
235
|
+
- (ciddi89) Fixed: Batterie value for shelly plus Gen2 devices [#282](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/282)
|
|
236
|
+
- (ciddi89) Added: Option to display the last signal strength value when the device is offline [#282](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/282)
|
|
237
|
+
- (ciddi89) Added: Translation for JSON lists, HTML lists and notifications [#245](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/245)
|
|
225
238
|
- (ciddi89) Other: clean up code
|
|
226
239
|
|
|
227
240
|
### 2.9.14 (2024-01-04)
|
|
@@ -230,12 +243,12 @@ It's possible to select:
|
|
|
230
243
|
|
|
231
244
|
### 2.9.13 (2024-01-03)
|
|
232
245
|
|
|
233
|
-
- (ciddi89) Fixed: Issues from v2.9.12 [#283](https://github.com/
|
|
234
|
-
- (ciddi89) Fixed: High CPU usage at object and state changes [#283](https://github.com/
|
|
246
|
+
- (ciddi89) Fixed: Issues from v2.9.12 [#283](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/283)
|
|
247
|
+
- (ciddi89) Fixed: High CPU usage at object and state changes [#283](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/283)
|
|
235
248
|
|
|
236
249
|
### 2.9.12 (2024-01-02)
|
|
237
250
|
|
|
238
|
-
- (ciddi89) Fixed: Changed handling for state changes and subscriptions [#283](https://github.com/
|
|
251
|
+
- (ciddi89) Fixed: Changed handling for state changes and subscriptions [#283](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/283)
|
|
239
252
|
|
|
240
253
|
### 2.9.11 (2023-12-12)
|
|
241
254
|
|
|
@@ -252,13 +265,13 @@ It's possible to select:
|
|
|
252
265
|
|
|
253
266
|
### 2.9.8 (2023-11-26)
|
|
254
267
|
|
|
255
|
-
- (ciddi89) Fixed: Added additional check for instance states [#262](https://github.com/
|
|
268
|
+
- (ciddi89) Fixed: Added additional check for instance states [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262)
|
|
256
269
|
- (ciddi89) Fixed: Execute adapter even if no device adapter is selected
|
|
257
270
|
|
|
258
271
|
### 2.9.7 (2023-11-23)
|
|
259
272
|
|
|
260
273
|
- (ciddi89) Added: Support for Wifilight
|
|
261
|
-
- (ciddi89) Fixed: Multiple messages if Sonoff devices reachable [#244](https://github.com/
|
|
274
|
+
- (ciddi89) Fixed: Multiple messages if Sonoff devices reachable [#244](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/244)
|
|
262
275
|
|
|
263
276
|
### 2.9.6 (2023-11-12)
|
|
264
277
|
|
|
@@ -276,8 +289,8 @@ It's possible to select:
|
|
|
276
289
|
|
|
277
290
|
### 2.9.4 (2023-10-16)
|
|
278
291
|
|
|
279
|
-
- (ciddi89) Added: Fallback for HmIp-eTRV-2 batterie devices [#218](https://github.com/
|
|
280
|
-
- (@mango1402) Fixed: Proxmox VM/CT online status [#241](https://github.com/
|
|
292
|
+
- (ciddi89) Added: Fallback for HmIp-eTRV-2 batterie devices [#218](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/218)
|
|
293
|
+
- (@mango1402) Fixed: Proxmox VM/CT online status [#241](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/241)
|
|
281
294
|
- (ciddi89) Updated: Dependencies
|
|
282
295
|
|
|
283
296
|
### 2.9.3 (2023-07-21)
|
|
@@ -306,17 +319,17 @@ It's possible to select:
|
|
|
306
319
|
|
|
307
320
|
### 2.8.5 (2023-04-20)
|
|
308
321
|
|
|
309
|
-
- (ciddi89) Fixed: Error that instances can not be added to the blacklist because of the popup message [#172](https://github.com/
|
|
310
|
-
- (ciddi89) Fixed: That messages have been sent when the instance has briefly jumped from Enabled to Disabled and back to Enabled [#173](https://github.com/
|
|
322
|
+
- (ciddi89) Fixed: Error that instances can not be added to the blacklist because of the popup message [#172](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/172)
|
|
323
|
+
- (ciddi89) Fixed: That messages have been sent when the instance has briefly jumped from Enabled to Disabled and back to Enabled [#173](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/173)
|
|
311
324
|
|
|
312
325
|
### 2.8.4 (2023-04-16)
|
|
313
326
|
|
|
314
|
-
- (ciddi89) Fixed: Functions for instance status completely renewed ([#170](https://github.com/
|
|
315
|
-
- (ciddi89) Added: Popup message when the instance is not running and the user tries to select a device/instance in the settings tables ([#170](https://github.com/
|
|
327
|
+
- (ciddi89) Fixed: Functions for instance status completely renewed ([#170](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/170))
|
|
328
|
+
- (ciddi89) Added: Popup message when the instance is not running and the user tries to select a device/instance in the settings tables ([#170](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/170))
|
|
316
329
|
|
|
317
330
|
### 2.8.3 (2023-04-13)
|
|
318
331
|
|
|
319
|
-
- (ciddi89) Fixed: Multiple push messages when restarting an instance ([#170](https://github.com/
|
|
332
|
+
- (ciddi89) Fixed: Multiple push messages when restarting an instance ([#170](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/170))
|
|
320
333
|
|
|
321
334
|
### 2.8.2 (2023-04-13)
|
|
322
335
|
|
|
@@ -358,10 +371,10 @@ It's possible to select:
|
|
|
358
371
|
|
|
359
372
|
- (ciddi89) Added: Signal adapter for notifications
|
|
360
373
|
- (ciddi89) Added: Raw-List with all data of devices
|
|
361
|
-
- (ciddi89) Added: FHEM TFA sensors [#137](https://github.com/
|
|
374
|
+
- (ciddi89) Added: FHEM TFA sensors [#137](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/137)
|
|
362
375
|
- (ciddi89) Improvement: Objecthandling of devices/instances
|
|
363
376
|
- (ciddi89) Improvement: Adapter update data
|
|
364
|
-
- (ciddi89) Fixed: HM-CC-RT-DN battery [#128](https://github.com/
|
|
377
|
+
- (ciddi89) Fixed: HM-CC-RT-DN battery [#128](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/128)
|
|
365
378
|
- (ciddi89) Added/Changed: some texts in instance config
|
|
366
379
|
|
|
367
380
|
### 2.6.0 (2023-02-06)
|
|
@@ -370,9 +383,9 @@ It's possible to select:
|
|
|
370
383
|
- (ciddi89) Fixed: Made working notification for adapter update
|
|
371
384
|
- (ciddi89) Added: Delete objects automatically if it is not selected in settings.
|
|
372
385
|
- (ciddi89) Enhancement: Check if general device connected state is true for more then few seconds to prevent multiple device status messages
|
|
373
|
-
- (ciddi89) Added: Proxmox Adapter ([#123](https://github.com/
|
|
374
|
-
- (ciddi89) Fixed: Delete/Add data of new or deleted instance without restart ([#125](https://github.com/
|
|
375
|
-
- (ciddi89) Fixed: Delete/Add data of new or deleted devices without restart ([#125](https://github.com/
|
|
386
|
+
- (ciddi89) Added: Proxmox Adapter ([#123](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/123))
|
|
387
|
+
- (ciddi89) Fixed: Delete/Add data of new or deleted instance without restart ([#125](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/125))
|
|
388
|
+
- (ciddi89) Fixed: Delete/Add data of new or deleted devices without restart ([#125](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/125))
|
|
376
389
|
- (ciddi89) Enhancement: Schedule and State notifications
|
|
377
390
|
- (ciddi89) Enhancement: Some code improvements
|
|
378
391
|
|
|
@@ -405,8 +418,8 @@ It's possible to select:
|
|
|
405
418
|
|
|
406
419
|
- (ciddi89) sorting for device selection in the blacklist added
|
|
407
420
|
- (ciddi89) Devices can now also be blacklisted in adapter own list
|
|
408
|
-
- (ciddi89) booleans for lowbat, offline and upgradable added ([#105](https://github.com/
|
|
409
|
-
- (ciddi89) euSec adapter added ([#73](https://github.com/
|
|
421
|
+
- (ciddi89) booleans for lowbat, offline and upgradable added ([#105](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/105))
|
|
422
|
+
- (ciddi89) euSec adapter added ([#73](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/73))
|
|
410
423
|
|
|
411
424
|
### 2.2.2 (2022-12-29)
|
|
412
425
|
|
|
@@ -432,13 +445,13 @@ It's possible to select:
|
|
|
432
445
|
### 2.1.0 (2022-12-19)
|
|
433
446
|
|
|
434
447
|
- (Scrounger) optionally show adapter name in notification
|
|
435
|
-
- (ciddi89) optionally receive a message when an update for an device is available [#87](https://github.com/
|
|
448
|
+
- (ciddi89) optionally receive a message when an update for an device is available [#87](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/87)
|
|
436
449
|
- (Scrounger) update message for shelly adapter added
|
|
437
450
|
- (Scrounger) Yamaha MusicCast adapter added
|
|
438
451
|
- (ciddi89) update message for unifi devices added
|
|
439
|
-
- (ciddi89) fixed devices are not reported in case battery is 0% [#86](https://github.com/
|
|
440
|
-
- (ciddi89) SynoChat added [#85](https://github.com/
|
|
441
|
-
- (ciddi89) MQTT NukiHub, MQTT-Clien Zigbee2MQTT added ([#82](https://github.com/
|
|
452
|
+
- (ciddi89) fixed devices are not reported in case battery is 0% [#86](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/86)
|
|
453
|
+
- (ciddi89) SynoChat added [#85](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/85)
|
|
454
|
+
- (ciddi89) MQTT NukiHub, MQTT-Clien Zigbee2MQTT added ([#82](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/82))
|
|
442
455
|
|
|
443
456
|
### 2.0.3 (2022-11-26)
|
|
444
457
|
|
|
@@ -455,7 +468,7 @@ It's possible to select:
|
|
|
455
468
|
- small improvements of translations
|
|
456
469
|
- offline time settings: you can use 0 instead of -1 (it will be the new standard)
|
|
457
470
|
- improvements of adaptername
|
|
458
|
-
- fixed issues [#66](https://github.com/
|
|
471
|
+
- fixed issues [#66](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/66) & [#67](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/67)
|
|
459
472
|
- repaired blacklist notifications
|
|
460
473
|
- added handling for blacklist object
|
|
461
474
|
|
|
@@ -570,6 +583,7 @@ It's possible to select:
|
|
|
570
583
|
|
|
571
584
|
MIT License
|
|
572
585
|
|
|
586
|
+
Copyright (c) 2024 iobroker-community-adapters <iobroker-community-adapters@gmx.de>
|
|
573
587
|
Copyright (c) 2024 Christian Behrends <mail@christian-behrends.de>
|
|
574
588
|
|
|
575
589
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
package/io-package.json
CHANGED
|
@@ -1,59 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "device-watcher",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.12.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.12.1": {
|
|
7
|
+
"en": "Added: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Support for Zigbee battery_state datapoint",
|
|
8
|
+
"de": "Hinzugefügt: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Unterstützung für Zigbee battery_state Datenpunkt",
|
|
9
|
+
"ru": "Добавлено: [#341] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Поддержка Zigbee Battery_state datapoint",
|
|
10
|
+
"pt": "Adicionado: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Suporte para Zigbee battery_state datapoint",
|
|
11
|
+
"nl": "Toegevoegd: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Ondersteuning voor Zigbee battery_state datapoint",
|
|
12
|
+
"fr": "Ajouté : [#341](https://github.com/iobroker-community-adaptateurs/ioBroker.device-watcher/issues/341) Prise en charge du point de données batterie_état de Zigbee",
|
|
13
|
+
"it": "Aggiunto: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Supporto per Zigbee Battery_state datapoint",
|
|
14
|
+
"es": "Añadido: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/341) Soporte para batería de Zigbee_punto de datos del estado",
|
|
15
|
+
"pl": "Dodano: [# 341] (https: / / github.com / iobroker- community- adapters / iBroker.device- watcher / issues / 341) Wsparcie dla Bateria Zigbee _ state datapoint",
|
|
16
|
+
"uk": "Додано: [#341](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/341) Підтримка акумулятора Zigbee_state",
|
|
17
|
+
"zh-cn": "添加:[#341](https://github.com/iobro-communist-community-adapters/ioBroker.device-watcher/issues/341) 互联网档案馆的存檔,存档日期2013-03-02. 支持 Zigbee 电池_状态数据点"
|
|
18
|
+
},
|
|
19
|
+
"2.12.0": {
|
|
20
|
+
"en": "Adapter requires nodeJS >= 18 and js-controller >= 5 now\nAdpter has been migrated to iobroker-community-adapters organisation\nDependencies have been updated",
|
|
21
|
+
"de": "Adapter benötigt KnotenJS >= 18 und js-controller >= 5 jetzt\nAdpter wurde zu iobroker-community-Adapter Organisation migriert\nAbhängigkeiten wurden aktualisiert",
|
|
22
|
+
"ru": "Адаптер требует nodeJS >= 18 и js-контроллер >= 5 сейчас\nAdpter был перенесен в организацию iobroker-community-adapters\nЗависимость обновлена",
|
|
23
|
+
"pt": "Adapter requer nodeJS >= 18 e js-controller >= 5 agora\nAdpter foi migrado para a organização iobroker-community-adapters\nAs dependências foram atualizadas",
|
|
24
|
+
"nl": "Adapter vereist nodeJS < 18 en js-controller <= Nu 5\nAdpter is gemigreerd naar iobroker-community-adapters organisatie\nAfhankelijkheden zijn bijgewerkt",
|
|
25
|
+
"fr": "Adaptateur nécessite noeudJS >= 18 et js-controller >= 5 maintenant\nAdpter a été transféré à l'organisation iobroker-community-adapters\nLes dépendances ont été actualisées",
|
|
26
|
+
"it": "Adattatore richiede nodeJS >= 18 e js-controller >= 5 ora\nAdpter è stato migrato per l'organizzazione di adattatori della comunità\nLe dipendenze sono state aggiornate",
|
|
27
|
+
"es": "Adaptador requiere nodeJS ю= 18 y js-controller 5 ahora\nAdpter ha sido migrado a la organización de ibroker-community-adapters\nSe han actualizado las dependencias",
|
|
28
|
+
"pl": "Adapter wymaga nodeJS > = 18 i sterownika js- > = 5 teraz\nAdresat został przeniesiony do organizacji adapterów dla społeczności iobrokerskiej\nZaktualizowano zależności",
|
|
29
|
+
"uk": "Адаптер вимагає nodeJS >= 18 і js-controller >= 5 тепер\nAdpter був мігрований до організації iobroker-community-adapters\nЗалежність було оновлено",
|
|
30
|
+
"zh-cn": "适配器需要节点JS QQ 18和js控制器 QQ 现在5号\n接受者已迁移到经济经纪人-社区适应者组织\n依赖关系已更新"
|
|
31
|
+
},
|
|
6
32
|
"2.11.0": {
|
|
7
|
-
"en": "Added [#323](https://github.com/
|
|
8
|
-
"de": "Hinzugefügt [#323](https://github.com/
|
|
9
|
-
"ru": "Добавлено [#323] (https://github.com/
|
|
10
|
-
"pt": "Adicionado [#323](https://github.com/
|
|
11
|
-
"nl": "Toegevoegd [#323](https://github.com/
|
|
12
|
-
"fr": "Ajouté [#323](https://github.com/
|
|
13
|
-
"it": "Aggiunto [#323](https://github.com/
|
|
14
|
-
"es": "[#323](https://github.com/
|
|
33
|
+
"en": "Added [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Support for Ring Cameras",
|
|
34
|
+
"de": "Hinzugefügt [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Unterstützung für Ring Kameras",
|
|
35
|
+
"ru": "Добавлено [#323] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Поддержка кольцевых камер",
|
|
36
|
+
"pt": "Adicionado [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Suporte para câmeras de anel",
|
|
37
|
+
"nl": "Toegevoegd [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Ondersteuning voor Ring camera's",
|
|
38
|
+
"fr": "Ajouté [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Prise en charge des caméras Ring",
|
|
39
|
+
"it": "Aggiunto [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Supporto per telecamere anelli",
|
|
40
|
+
"es": "[#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): Soporte para cámaras de anillo",
|
|
15
41
|
"pl": "Dodano [# 323] (https: / / github.com / ciddi89 / ioBroker.device- watcher / issues / 323): Wsparcie dla kamer pierścieniowych",
|
|
16
|
-
"uk": "Додано [#323](https://github.com/
|
|
17
|
-
"zh-cn": "添加 [# 323] (https://github.com/
|
|
42
|
+
"uk": "Додано [#323](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/323): Підтримка камери кільця",
|
|
43
|
+
"zh-cn": "添加 [# 323] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/323): 中文(简体) ). 环相机支持"
|
|
18
44
|
},
|
|
19
45
|
"2.10.5": {
|
|
20
|
-
"en": "Fixed [#262](https://github.com/
|
|
21
|
-
"de": "Behoben [#262](https://github.com/
|
|
22
|
-
"ru": "Fixed [#262] (https://github.com/
|
|
23
|
-
"pt": "Corrigido [#262](https://github.com/
|
|
24
|
-
"nl": "Vast [#262](https://github.com/
|
|
25
|
-
"fr": "Correction [#262](https://github.com/
|
|
26
|
-
"it": "[#262](https://github.com/
|
|
27
|
-
"es": "[#262](https://github.com/
|
|
46
|
+
"en": "Fixed [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Phantom Messages",
|
|
47
|
+
"de": "Behoben [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Phantom-Nachrichten",
|
|
48
|
+
"ru": "Fixed [#262] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Фантомные сообщения",
|
|
49
|
+
"pt": "Corrigido [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Mensagens de Fantasma",
|
|
50
|
+
"nl": "Vast [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Phantom messages",
|
|
51
|
+
"fr": "Correction [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) et [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292) : Messages fantômes",
|
|
52
|
+
"it": "[#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Messaggi fantasma",
|
|
53
|
+
"es": "[#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): Mensajes Fantasma",
|
|
28
54
|
"pl": "Fixed [# 262] (https: / / github.com / ciddi89 / ioBroker.device- watcher / issues / 262) & [# 292] (https: / / github.com / ciddi89 / iBroker.device- watcher / issues / 292): Wiadomości Phantom",
|
|
29
|
-
"uk": "Виправлено [#262](https://github.com/
|
|
30
|
-
"zh-cn": "固定 [262] (https://github.com/
|
|
55
|
+
"uk": "Виправлено [#262](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) & [#292](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/292): Повідомлення",
|
|
56
|
+
"zh-cn": "固定 [262] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/262) 和 [292] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/292): 幽灵消息"
|
|
31
57
|
},
|
|
32
58
|
"2.10.4": {
|
|
33
|
-
"en": "Added: Option to set language for messages and tables\nFixed [#312](https://github.com/
|
|
34
|
-
"de": "Hinzugefügt: Option zur Einstellung der Sprache für Nachrichten und Tabellen\nBehoben [#312](https://github.com/
|
|
35
|
-
"ru": "Добавлено: Возможность установки языка для сообщений и таблиц\nFixed [#312] (https://github.com/
|
|
36
|
-
"pt": "Adicionado: Opção para definir o idioma para mensagens e tabelas\nCorrigido [#312](https://github.com/
|
|
37
|
-
"nl": "Toegevoegd: optie om taal voor berichten en tabellen in te stellen\nVaste [#312](https://github.com/
|
|
38
|
-
"fr": "Ajouté : Option pour définir la langue des messages et des tables\nCorrection [#312](https://github.com/
|
|
39
|
-
"it": "Aggiunto: Opzione per impostare la lingua per i messaggi e le tabelle\n[#312](https://github.com/
|
|
40
|
-
"es": "Añadido: Opción de establecer el lenguaje para mensajes y tablas\n[#312](https://github.com/
|
|
59
|
+
"en": "Added: Option to set language for messages and tables\nFixed [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Schedule messages were not emptied after they were sent\nFixed: Too many messages were sent about online / offline devices when an instance was started or ended",
|
|
60
|
+
"de": "Hinzugefügt: Option zur Einstellung der Sprache für Nachrichten und Tabellen\nBehoben [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Nachrichten wurden nicht entleert, nachdem sie gesendet wurden\nFix: Zu viele Nachrichten wurden über Online / Offline-Geräte gesendet, wenn eine Instanz gestartet oder beendet wurde",
|
|
61
|
+
"ru": "Добавлено: Возможность установки языка для сообщений и таблиц\nFixed [#312] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Расписание сообщений не было опустошено после их отправки\nИсправлено: слишком много сообщений было отправлено о онлайн-/офлайн-устройствах, когда экземпляр был запущен или закончился",
|
|
62
|
+
"pt": "Adicionado: Opção para definir o idioma para mensagens e tabelas\nCorrigido [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Mensagens de agendamento não foram esvaziadas após serem enviadas\nCorrigido: Muitas mensagens foram enviadas sobre dispositivos online / offline quando uma instância foi iniciada ou terminada",
|
|
63
|
+
"nl": "Toegevoegd: optie om taal voor berichten en tabellen in te stellen\nVaste [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Schemaberichten werden niet geleegd nadat ze werden verzonden\nFixed: Te veel berichten werden verzonden over online / offline apparaten wanneer een instantie werd gestart of beëindigd",
|
|
64
|
+
"fr": "Ajouté : Option pour définir la langue des messages et des tables\nCorrection [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312) : Les messages ne sont pas vidés après leur envoi\nCorrection : Trop de messages ont été envoyés sur les appareils en ligne / hors ligne quand une instance a été lancée ou terminée",
|
|
65
|
+
"it": "Aggiunto: Opzione per impostare la lingua per i messaggi e le tabelle\n[#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): I messaggi di pianificazione non sono stati svuotati dopo che sono stati inviati\nFisso: Troppi messaggi sono stati inviati su dispositivi online / offline quando un'istanza è stata avviata o terminata",
|
|
66
|
+
"es": "Añadido: Opción de establecer el lenguaje para mensajes y tablas\n[#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Los mensajes programados no fueron vaciados después de ser enviados\nFijo: Demasiados mensajes fueron enviados sobre dispositivos en línea / offline cuando una instancia se inició o terminó",
|
|
41
67
|
"pl": "Dodano: Opcja ustawienia języka dla wiadomości i tabel\nData umieszczenia w wykazie Wiadomości nie zostały opróżnione po wysłaniu\nNaprawiono: zbyt wiele wiadomości zostało wysłanych o urządzeniach online / offline, gdy instancja została uruchomiona lub zakończona",
|
|
42
|
-
"uk": "Додано: Варіант встановити мову для повідомлень і таблиць\nВиправлено [#312](https://github.com/
|
|
43
|
-
"zh-cn": "添加: 设置信件和表格语言的选项\n固定 [# 312] (https://github.com/
|
|
68
|
+
"uk": "Додано: Варіант встановити мову для повідомлень і таблиць\nВиправлено [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/312): Після того, як вони відправили\nВиправлено: Занадто багато повідомлень надіслали про онлайн / офлайн-пристрої, коли було запущено екземпляр або закінчився",
|
|
69
|
+
"zh-cn": "添加: 设置信件和表格语言的选项\n固定 [# 312] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/isses/312): (中文(简体) ). 发送后未清空调度信件\n固定: 当一个实例开始或结束时, 关于在线/ 离线设备的邮件过多"
|
|
44
70
|
},
|
|
45
71
|
"2.10.3": {
|
|
46
|
-
"en": "Fixed [#299](https://github.com/
|
|
47
|
-
"de": "Behoben [#299](https://github.com/
|
|
72
|
+
"en": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
73
|
+
"de": "Behoben [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): In der Blacklist aufgeführte Geräte wurden in html-list angezeigt",
|
|
48
74
|
"ru": "Fixed [#299] (http://github.com/ciddi89/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
49
|
-
"pt": "Corrigido [#299](https://github.com/
|
|
50
|
-
"nl": "Fixed [#299](https://github.com/
|
|
51
|
-
"fr": "Correction [#299](https://github.com/
|
|
52
|
-
"it": "Fisso [#299](https://github.com/
|
|
53
|
-
"es": "Fixed [#299](https://github.com/
|
|
75
|
+
"pt": "Corrigido [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): dispositivos listados em pretos foram mostrados em html-list",
|
|
76
|
+
"nl": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices werd getoond in html-list",
|
|
77
|
+
"fr": "Correction [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): les appareils sur liste noire sont affichés dans la liste html",
|
|
78
|
+
"it": "Fisso [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): la lista nera è stata mostrata nella lista html",
|
|
79
|
+
"es": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
54
80
|
"pl": "Poprawiono [# 299] (https: / / github.com / ciddi89 / ioBroker.device- watcher / issues / 299): na liście html- pokazano na czarnej liście urządzenia",
|
|
55
|
-
"uk": "Виправлено [#299](https://github.com/
|
|
56
|
-
"zh-cn": "固定 [299] (https://github.com/
|
|
81
|
+
"uk": "Виправлено [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/299): Чорнелистові пристрої були показані в html-list",
|
|
82
|
+
"zh-cn": "固定 [299] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299):列入黑名单的设备在html列表中显示"
|
|
57
83
|
},
|
|
58
84
|
"2.10.2": {
|
|
59
85
|
"en": "Fixed: typeError for available adapter update messages\nFixed: Lists for updatable adapter",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Naprawiono: typ Błąd dla dostępnych komunikatów aktualizacji adaptera\nNaprawiono: Listy do aktualizacji adaptera",
|
|
68
94
|
"uk": "Фіксований: тип Помилка для доступних повідомлень про оновлення адаптера\nВиправлено: Списки для адаптера",
|
|
69
95
|
"zh-cn": "固定:类型 可用适配器更新消息出错\n固定: 更新适配器列表"
|
|
70
|
-
},
|
|
71
|
-
"2.10.1": {
|
|
72
|
-
"en": "Fixed: several bugs from last version\nAdded: finished translations",
|
|
73
|
-
"de": "Behoben: mehrere Bugs aus der letzten Version\nHinzugefügt: fertige Übersetzungen",
|
|
74
|
-
"ru": "Исправлено: несколько ошибок из последней версии\nДобавлено: законченные переводы",
|
|
75
|
-
"pt": "Corrigido: vários bugs da última versão\nAdicionado: terminou traduções",
|
|
76
|
-
"nl": "Vast: meerdere bugs van de laatste versie\nToegevoegd: voltooide vertalingen",
|
|
77
|
-
"fr": "Correction : plusieurs bogues de la dernière version\nAjouté : traductions terminées",
|
|
78
|
-
"it": "Risolto: diversi bug dall'ultima versione\nAggiunto: finito traduzioni",
|
|
79
|
-
"es": "Corregido: varios errores de la última versión\nAñadido: traducciones terminadas",
|
|
80
|
-
"pl": "Naprawiono: kilka błędów z ostatniej wersji\nDodano: tłumaczenie gotowe",
|
|
81
|
-
"uk": "Виправлено: кілька помилок з останньої версії\nДодано: закінчені переклади",
|
|
82
|
-
"zh-cn": "固定: 上一个版本的一些错误\n添加:完成翻译"
|
|
83
|
-
},
|
|
84
|
-
"2.10.0": {
|
|
85
|
-
"en": "Fixed: Batterie value for shelly plus Gen2 devices [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAdded: Option to display the last signal strength value when the device is offline [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAdded: Translation for JSON lists, HTML lists and notifications [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nOther: clean up code",
|
|
86
|
-
"de": "Behoben: Batteriewert für Shelly plus Gen2 Geräte [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nHinzugefügt: Option, den letzten Signalstärkewert anzuzeigen, wenn das Gerät offline ist [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nHinzugefügt: Übersetzung für JSON-Listen, HTML-Listen und Benachrichtigungen [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nAndere: Code aufgeräumt",
|
|
87
|
-
"ru": "Исправлено: Значение батареи для устройств Shelly и Gen2 [#282] (https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nДобавлено: Возможность отображения последнего значения силы сигнала, когда устройство отключено [#282] (https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nДобавлено: Перевод для списков JSON, HTML списков и уведомлений [#245] (https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nДругое: очистить код",
|
|
88
|
-
"pt": "Corrigido: Valor da Batterie para dispositivos shelly plus Gen2 [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAdicionado: Opção para exibir o último valor de força de sinal quando o dispositivo está offline [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAdicionado: Tradução para listas JSON, listas e notificações HTML [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nOutros: limpar o código",
|
|
89
|
-
"nl": "Vast: Batterijwaarde voor Shelly plus Gen2-apparaten [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nToegevoegd: optie om de laatste signaalsterktewaarde weer te geven wanneer het apparaat offline is [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nToegevoegd: Vertaling voor JSON lijsten, HTML lijsten en meldingen [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nOverig: code opruimen",
|
|
90
|
-
"fr": "Correction : Valeur de la batterie pour les périphériques shelly plus Gen2 [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAjout : Option pour afficher la dernière valeur de résistance du signal lorsque le périphérique est hors ligne [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAjouté : Traduction pour les listes JSON, les listes HTML et les notifications [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nAutres: code de nettoyage",
|
|
91
|
-
"it": "Fisso: Valore di Batterie per lo shelly più dispositivi Gen2 [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAggiunto: Opzione per visualizzare l'ultimo valore di resistenza del segnale quando il dispositivo è offline [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAggiunto: Traduzione per elenchi JSON, elenchi HTML e notifiche [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nAltro: codice di pulizia",
|
|
92
|
-
"es": "Fijación: valor de Batterie para dispositivos shelly más Gen2 [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAñadido: Opción para mostrar el último valor de fuerza de señal cuando el dispositivo está fuera de línea [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nAñadido: Traducción para listas JSON, listas HTML y notificaciones [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nOtros: limpiar código",
|
|
93
|
-
"pl": "Poprawiono: wartość Batterie dla urządzeń shelly plus Gen2 [# 282] (https: / / github.com / ciddi89 / joBroker.device- watcher / issues / 282)\nDodano: Opcja wyświetlenia ostatniej wartości mocy sygnału, gdy urządzenie jest wyłączone [# 282] (https: / / github.com / ciddi89 / iBroker.device- watcher / issues / 282)\nDodano: Tłumaczenie list JSON, list HTML i powiadomień [# 245] (https: / / github.com / ciddi89 / iBroker.device- watcher / issues / 245)\nPozostałe: kod porządkowy",
|
|
94
|
-
"uk": "Виправлено: значення Batterie для оболонок плюс Gen2 пристрої [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nДодано: Опція відображення останнього значення міцності сигналу при вимкненні пристрою [#282](https://github.com/ciddi89/ioBroker.device-watcher/issues/282)\nДодано: Переклад для списку JSON, HTML списку та повідомлення [#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\nІнше: очищення коду",
|
|
95
|
-
"zh-cn": "固定: Shelly + Gen2 设备的电池值 [# 282] (https://github.com/ciddi89/ioBroker.device-watcher/isses/282)\n添加: 设备下线时显示最后一个信号强度值的选项 [# 282] (https://github.com/ciddi89/ioBroker.device-watcher/isses/282)\n添加:JSON列表、HTML列表和通知的翻译[#245](https://github.com/ciddi89/ioBroker.device-watcher/issues/245)\n其他:清理代码"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -123,14 +123,17 @@
|
|
|
123
123
|
},
|
|
124
124
|
"authors": ["Christian Behrends <mail@christian-behrends.de>"],
|
|
125
125
|
"keywords": ["device", "instance", "watcher", "device-watcher", "instance-watcher", "battery", "rssi", "link-quality", "lists"],
|
|
126
|
-
"
|
|
126
|
+
"licenseInformation": {
|
|
127
|
+
"license": "MIT",
|
|
128
|
+
"type": "free"
|
|
129
|
+
},
|
|
127
130
|
"platform": "Javascript/Node.js",
|
|
128
|
-
"main": "main.js",
|
|
129
131
|
"icon": "device-watcher.png",
|
|
130
132
|
"enabled": true,
|
|
131
|
-
"extIcon": "https://raw.githubusercontent.com/
|
|
132
|
-
"readme": "https://github.com/
|
|
133
|
+
"extIcon": "https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.device-watcher/main/admin/device-watcher.png",
|
|
134
|
+
"readme": "https://github.com/iobroker-community-adapters/ioBroker.device-watcher/blob/main/README.md",
|
|
133
135
|
"loglevel": "info",
|
|
136
|
+
"tier": 2,
|
|
134
137
|
"mode": "daemon",
|
|
135
138
|
"type": "misc-data",
|
|
136
139
|
"compact": true,
|
|
@@ -151,7 +154,7 @@
|
|
|
151
154
|
},
|
|
152
155
|
"dependencies": [
|
|
153
156
|
{
|
|
154
|
-
"js-controller": ">=
|
|
157
|
+
"js-controller": ">=5.0.0"
|
|
155
158
|
}
|
|
156
159
|
],
|
|
157
160
|
"globalDependencies": [
|
package/lib/arrApart.js
CHANGED
|
@@ -627,6 +627,7 @@ const arrApart = {
|
|
|
627
627
|
adapterID: 'zigbee',
|
|
628
628
|
adapter: 'Zigbee',
|
|
629
629
|
battery: '.battery',
|
|
630
|
+
battery2: '.battery_state',
|
|
630
631
|
rssiState: '.link_quality',
|
|
631
632
|
reach: '.available',
|
|
632
633
|
isLowBat: '.battery_low',
|
|
@@ -637,6 +638,7 @@ const arrApart = {
|
|
|
637
638
|
adapterID: 'zigbee2MQTT',
|
|
638
639
|
adapter: 'Zigbee2MQTT',
|
|
639
640
|
battery: '.battery',
|
|
641
|
+
battery2: '.battery_state',
|
|
640
642
|
rssiState: '.link_quality',
|
|
641
643
|
reach: '.available',
|
|
642
644
|
isLowBat: '.battery_low',
|
package/main.js
CHANGED
|
@@ -7,7 +7,7 @@ const arrApart = require('./lib/arrApart.js'); // list of supported adapters
|
|
|
7
7
|
const translations = require('./lib/translations.js');
|
|
8
8
|
const cronParser = require('cron-parser');
|
|
9
9
|
|
|
10
|
-
// indicator if the adapter is running
|
|
10
|
+
// indicator if the adapter is running (for intervall/shedule)
|
|
11
11
|
let isUnloaded = false;
|
|
12
12
|
|
|
13
13
|
class DeviceWatcher extends utils.Adapter {
|
|
@@ -1173,10 +1173,22 @@ class DeviceWatcher extends utils.Adapter {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
}
|
|
1175
1175
|
} else {
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1176
|
+
if (typeof deviceBatteryState === 'string') {
|
|
1177
|
+
if (deviceBatteryState === 'high' || deviceBatteryState === 'medium')
|
|
1178
|
+
{
|
|
1179
|
+
batteryHealth = 'ok';
|
|
1180
|
+
isBatteryDevice = true;
|
|
1181
|
+
}
|
|
1182
|
+
else if (deviceBatteryState === 'low') {
|
|
1183
|
+
batteryHealth = 'low';
|
|
1184
|
+
isBatteryDevice = true;
|
|
1185
|
+
}
|
|
1186
|
+
} else {
|
|
1187
|
+
batteryHealth = `${deviceBatteryState}%`;
|
|
1188
|
+
batteryHealthRaw = deviceBatteryState;
|
|
1189
|
+
batteryHealthUnitRaw = '%';
|
|
1190
|
+
isBatteryDevice = true;
|
|
1191
|
+
}
|
|
1180
1192
|
}
|
|
1181
1193
|
break;
|
|
1182
1194
|
}
|
|
@@ -1211,7 +1223,9 @@ class DeviceWatcher extends utils.Adapter {
|
|
|
1211
1223
|
lowBatIndicator = true;
|
|
1212
1224
|
}
|
|
1213
1225
|
}
|
|
1214
|
-
} else if (deviceBatteryState < this.config.minWarnBatterie) {
|
|
1226
|
+
} else if (typeof deviceBatteryState === 'number' && deviceBatteryState < this.config.minWarnBatterie) {
|
|
1227
|
+
lowBatIndicator = true;
|
|
1228
|
+
} else if (typeof deviceBatteryState === 'string' && deviceBatteryState === 'low') {
|
|
1215
1229
|
lowBatIndicator = true;
|
|
1216
1230
|
}
|
|
1217
1231
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.device-watcher",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "Watchdog for devices",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Christian Behrends",
|
|
7
7
|
"email": "mail@christian-behrends.de"
|
|
8
8
|
},
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/iobroker-community-adapters/ioBroker.device-watcher",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"device",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
],
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/
|
|
22
|
+
"url": "https://github.com/iobroker-community-adapters/ioBroker.device-watcher"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
25
|
+
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@iobroker/adapter-core": "^3.
|
|
28
|
+
"@iobroker/adapter-core": "^3.1.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@alcalzone/release-script": "^3.7.0",
|
|
@@ -33,30 +33,30 @@
|
|
|
33
33
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
34
34
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
35
35
|
"@iobroker/adapter-dev": "^1.3.0",
|
|
36
|
-
"@iobroker/testing": "^4.1.
|
|
36
|
+
"@iobroker/testing": "^4.1.3",
|
|
37
37
|
"@types/chai": "^4.3.11",
|
|
38
38
|
"@types/chai-as-promised": "^7.1.8",
|
|
39
39
|
"@types/mocha": "^10.0.6",
|
|
40
|
-
"@types/node": "^20.
|
|
41
|
-
"@types/node-schedule": "^2.1.
|
|
40
|
+
"@types/node": "^20.12.8",
|
|
41
|
+
"@types/node-schedule": "^2.1.7",
|
|
42
42
|
"@types/proxyquire": "^1.3.31",
|
|
43
43
|
"@types/sinon": "^17.0.3",
|
|
44
44
|
"@types/sinon-chai": "^3.2.12",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
46
|
-
"@typescript-eslint/parser": "^
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
46
|
+
"@typescript-eslint/parser": "^7.8.0",
|
|
47
47
|
"chai": "^4.4.1",
|
|
48
48
|
"chai-as-promised": "^7.1.1",
|
|
49
49
|
"cron-parser": "^4.9.0",
|
|
50
50
|
"eslint": "^8.57.0",
|
|
51
51
|
"eslint-config-prettier": "^9.1.0",
|
|
52
52
|
"eslint-plugin-prettier": "^5.1.3",
|
|
53
|
-
"mocha": "^10.
|
|
53
|
+
"mocha": "^10.4.0",
|
|
54
54
|
"node-schedule": "^2.1.1",
|
|
55
55
|
"prettier": "^3.2.5",
|
|
56
56
|
"proxyquire": "^2.1.3",
|
|
57
57
|
"sinon": "^17.0.1",
|
|
58
58
|
"sinon-chai": "^3.7.0",
|
|
59
|
-
"typescript": "~5.
|
|
59
|
+
"typescript": "~5.4.5"
|
|
60
60
|
},
|
|
61
61
|
"main": "main.js",
|
|
62
62
|
"files": [
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"release": "release-script"
|
|
79
79
|
},
|
|
80
80
|
"bugs": {
|
|
81
|
-
"url": "https://github.com/
|
|
81
|
+
"url": "https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues"
|
|
82
82
|
},
|
|
83
83
|
"readmeFilename": "README.md"
|
|
84
84
|
}
|