iobroker.device-watcher 2.12.2 → 2.12.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/README.md +12 -2
- package/admin/jsonConfig.json5 +94 -1
- package/io-package.json +29 -27
- package/lib/arrApart.js +2 -0
- package/lib/crud.js +1942 -0
- package/lib/tools.js +153 -0
- package/main.js +217 -2242
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,8 +137,9 @@ It's also counting them in the same categories. You can use the lists and states
|
|
|
137
137
|
<tr>
|
|
138
138
|
<td>Zigbee2MQTT</td>
|
|
139
139
|
<td>Zwave</td>
|
|
140
|
-
<td
|
|
140
|
+
<td>........</td>
|
|
141
141
|
</tr>
|
|
142
|
+
|
|
142
143
|
</table>
|
|
143
144
|
|
|
144
145
|
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>
|
|
@@ -192,8 +193,17 @@ This adapter would not have been possible without the great work of Christian Be
|
|
|
192
193
|
Placeholder for the next version (at the beginning of the line):
|
|
193
194
|
### **WORK IN PROGRESS**
|
|
194
195
|
-->
|
|
195
|
-
### 2.12.
|
|
196
|
+
### 2.12.4 (2025-08-02)
|
|
197
|
+
- (arteck) ignore zigbee2mqtt disabled devices
|
|
198
|
+
- (arteck) fix proxmox
|
|
199
|
+
- (arteck) add proxmox new structure request
|
|
200
|
+
|
|
201
|
+
### 2.12.3 (2025-08-02)
|
|
202
|
+
- (arteck) add XSense
|
|
203
|
+
- (arteck) fix Sonoff Name
|
|
204
|
+
- (arteck) Dependencies have been updated
|
|
196
205
|
|
|
206
|
+
### 2.12.2 (2025-08-02)
|
|
197
207
|
- (ciddi89) Fixed [#362](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/362): Ecovacs Deebot use connectionUptime dp as timeselector
|
|
198
208
|
- (mcm1957) Dependencies have been updated
|
|
199
209
|
|
package/admin/jsonConfig.json5
CHANGED
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
xl: 3,
|
|
368
368
|
label: 'Proxmox',
|
|
369
369
|
},
|
|
370
|
-
|
|
370
|
+
ringDevices: {
|
|
371
371
|
type: 'checkbox',
|
|
372
372
|
xs: 12,
|
|
373
373
|
sm: 6,
|
|
@@ -511,6 +511,15 @@
|
|
|
511
511
|
xl: 3,
|
|
512
512
|
label: 'WLED',
|
|
513
513
|
},
|
|
514
|
+
xsenseDevices: {
|
|
515
|
+
type: 'checkbox',
|
|
516
|
+
xs: 12,
|
|
517
|
+
sm: 6,
|
|
518
|
+
md: 6,
|
|
519
|
+
lg: 3,
|
|
520
|
+
xl: 3,
|
|
521
|
+
label: 'XSense',
|
|
522
|
+
},
|
|
514
523
|
yeelightDevices: {
|
|
515
524
|
type: 'checkbox',
|
|
516
525
|
xs: 12,
|
|
@@ -606,30 +615,65 @@
|
|
|
606
615
|
},
|
|
607
616
|
checkAdapterUpdateMonday: {
|
|
608
617
|
newLine: true,
|
|
618
|
+
xs: 12,
|
|
619
|
+
sm: 12,
|
|
620
|
+
md: 12,
|
|
621
|
+
lg: 6,
|
|
622
|
+
xl: 6,
|
|
609
623
|
type: 'checkbox',
|
|
610
624
|
label: 'Mon',
|
|
611
625
|
},
|
|
612
626
|
checkAdapterUpdateTuesday: {
|
|
627
|
+
xs: 12,
|
|
628
|
+
sm: 12,
|
|
629
|
+
md: 12,
|
|
630
|
+
lg: 6,
|
|
631
|
+
xl: 6,
|
|
613
632
|
type: 'checkbox',
|
|
614
633
|
label: 'Tue',
|
|
615
634
|
},
|
|
616
635
|
checkAdapterUpdateWednesday: {
|
|
636
|
+
xs: 12,
|
|
637
|
+
sm: 12,
|
|
638
|
+
md: 12,
|
|
639
|
+
lg: 6,
|
|
640
|
+
xl: 6,
|
|
617
641
|
type: 'checkbox',
|
|
618
642
|
label: 'Wed',
|
|
619
643
|
},
|
|
620
644
|
checkAdapterUpdateThursday: {
|
|
645
|
+
xs: 12,
|
|
646
|
+
sm: 12,
|
|
647
|
+
md: 12,
|
|
648
|
+
lg: 6,
|
|
649
|
+
xl: 6,
|
|
621
650
|
type: 'checkbox',
|
|
622
651
|
label: 'Thu',
|
|
623
652
|
},
|
|
624
653
|
checkAdapterUpdateFriday: {
|
|
654
|
+
xs: 12,
|
|
655
|
+
sm: 12,
|
|
656
|
+
md: 12,
|
|
657
|
+
lg: 6,
|
|
658
|
+
xl: 6,
|
|
625
659
|
type: 'checkbox',
|
|
626
660
|
label: 'Fri',
|
|
627
661
|
},
|
|
628
662
|
checkAdapterUpdateSaturday: {
|
|
663
|
+
xs: 12,
|
|
664
|
+
sm: 12,
|
|
665
|
+
md: 12,
|
|
666
|
+
lg: 6,
|
|
667
|
+
xl: 6,
|
|
629
668
|
type: 'checkbox',
|
|
630
669
|
label: 'Sat',
|
|
631
670
|
},
|
|
632
671
|
checkAdapterUpdateSunday: {
|
|
672
|
+
xs: 12,
|
|
673
|
+
sm: 12,
|
|
674
|
+
md: 12,
|
|
675
|
+
lg: 6,
|
|
676
|
+
xl: 6,
|
|
633
677
|
type: 'checkbox',
|
|
634
678
|
label: 'Sun',
|
|
635
679
|
},
|
|
@@ -713,31 +757,66 @@
|
|
|
713
757
|
},
|
|
714
758
|
},
|
|
715
759
|
checkInstanceDeactivatedMonday: {
|
|
760
|
+
xs: 12,
|
|
761
|
+
sm: 12,
|
|
762
|
+
md: 12,
|
|
763
|
+
lg: 6,
|
|
764
|
+
xl: 6,
|
|
716
765
|
newLine: true,
|
|
717
766
|
type: 'checkbox',
|
|
718
767
|
label: 'Mon',
|
|
719
768
|
},
|
|
720
769
|
checkInstanceDeactivatedTuesday: {
|
|
770
|
+
xs: 12,
|
|
771
|
+
sm: 12,
|
|
772
|
+
md: 12,
|
|
773
|
+
lg: 6,
|
|
774
|
+
xl: 6,
|
|
721
775
|
type: 'checkbox',
|
|
722
776
|
label: 'Tue',
|
|
723
777
|
},
|
|
724
778
|
checkInstanceDeactivatedWednesday: {
|
|
779
|
+
xs: 12,
|
|
780
|
+
sm: 12,
|
|
781
|
+
md: 12,
|
|
782
|
+
lg: 6,
|
|
783
|
+
xl: 6,
|
|
725
784
|
type: 'checkbox',
|
|
726
785
|
label: 'Wed',
|
|
727
786
|
},
|
|
728
787
|
checkInstanceDeactivatedThursday: {
|
|
788
|
+
xs: 12,
|
|
789
|
+
sm: 12,
|
|
790
|
+
md: 12,
|
|
791
|
+
lg: 6,
|
|
792
|
+
xl: 6,
|
|
729
793
|
type: 'checkbox',
|
|
730
794
|
label: 'Thu',
|
|
731
795
|
},
|
|
732
796
|
checkInstanceDeactivatedFriday: {
|
|
797
|
+
xs: 12,
|
|
798
|
+
sm: 12,
|
|
799
|
+
md: 12,
|
|
800
|
+
lg: 6,
|
|
801
|
+
xl: 6,
|
|
733
802
|
type: 'checkbox',
|
|
734
803
|
label: 'Fri',
|
|
735
804
|
},
|
|
736
805
|
checkInstanceDeactivatedSaturday: {
|
|
806
|
+
xs: 12,
|
|
807
|
+
sm: 12,
|
|
808
|
+
md: 12,
|
|
809
|
+
lg: 6,
|
|
810
|
+
xl: 6,
|
|
737
811
|
type: 'checkbox',
|
|
738
812
|
label: 'Sat',
|
|
739
813
|
},
|
|
740
814
|
checkInstanceDeactivatedSunday: {
|
|
815
|
+
xs: 12,
|
|
816
|
+
sm: 12,
|
|
817
|
+
md: 12,
|
|
818
|
+
lg: 6,
|
|
819
|
+
xl: 6,
|
|
741
820
|
type: 'checkbox',
|
|
742
821
|
label: 'Sun',
|
|
743
822
|
},
|
|
@@ -2774,6 +2853,20 @@
|
|
|
2774
2853
|
hidden: '!data.wledDevices',
|
|
2775
2854
|
hideOnlyControl: false,
|
|
2776
2855
|
},
|
|
2856
|
+
xsenseMaxMinutes: {
|
|
2857
|
+
type: 'number',
|
|
2858
|
+
min: -1,
|
|
2859
|
+
max: 100000,
|
|
2860
|
+
xs: 12,
|
|
2861
|
+
sm: 6,
|
|
2862
|
+
md: 6,
|
|
2863
|
+
lg: 3,
|
|
2864
|
+
xl: 3,
|
|
2865
|
+
label: 'XSense',
|
|
2866
|
+
help: 'in minutes',
|
|
2867
|
+
hidden: '!data.xsenseDevices',
|
|
2868
|
+
hideOnlyControl: false,
|
|
2869
|
+
},
|
|
2777
2870
|
yeelightMaxMinutes: {
|
|
2778
2871
|
type: 'number',
|
|
2779
2872
|
min: -1,
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "device-watcher",
|
|
4
|
-
"version": "2.12.
|
|
4
|
+
"version": "2.12.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.12.4": {
|
|
7
|
+
"en": "ignore zigbee2mqtt disabled devices\nfix proxmox\nadd proxmox new structure request",
|
|
8
|
+
"de": "ignorieren zickbee2mqt behinderte geräte\nfixer proxmox\nneue strukturanforderung hinzufügen",
|
|
9
|
+
"ru": "игнорировать zigbee2mqtt отключенные устройства\nисправить проксмокс\nдобавить proxmox новый запрос структуры",
|
|
10
|
+
"pt": "ignorar os dispositivos desactivados do zigbee2mqtt\ncorrigir proxmox\nadicionar proxmox nova solicitação de estrutura",
|
|
11
|
+
"nl": "zigbee2mqtt uitgeschakelde apparaten negeren\nproxmox repareren\nproxmox nieuw structuurverzoek toevoegen",
|
|
12
|
+
"fr": "ignorer les périphériques désactivés zigbee2mqtt\nréparer proxmox\najouter proxmox nouvelle demande de structure",
|
|
13
|
+
"it": "ignorare i dispositivi disabilitati zigbee2mqtt\ncorrezione di proxmox\naggiungere proxmox nuova struttura richiesta",
|
|
14
|
+
"es": "ignorar los dispositivos discapacitados zigbee2mqtt\narreglar proxmox\nañadir proxmox nueva solicitud de estructura",
|
|
15
|
+
"pl": "ignoruj wyłączone urządzenia zigbee2mqtt\nfix proxmox\ndodaj proxmox nowe żądanie struktury",
|
|
16
|
+
"uk": "ігнорувати zigbee2mqtt вимкнені пристрої\nфіксатор проксмокс\nдодати проксмокс новий порядок структури",
|
|
17
|
+
"zh-cn": "忽略已禁用的 zigbee2mqtt 设备\n修补proxmox\n添加正则结构请求"
|
|
18
|
+
},
|
|
19
|
+
"2.12.3": {
|
|
20
|
+
"en": "add XSense\nfix Sonoff Name\nDependencies have been updated",
|
|
21
|
+
"de": "xSense hinzufügen\nsonoff Name entfernen\nAbhängigkeiten wurden aktualisiert",
|
|
22
|
+
"ru": "добавить XSense\nоригинальное название Sonoff\nЗависимости были обновлены",
|
|
23
|
+
"pt": "adicionar XSense\ncorrigir o Nome do Sonoff\nAs dependências foram atualizadas",
|
|
24
|
+
"nl": "xSense toevoegen\nfix Sonoff Naam\nAfhankelijkheden zijn bijgewerkt",
|
|
25
|
+
"fr": "ajouter XSense\ncorrection du nom de sonoff\nLes dépendances ont été actualisées",
|
|
26
|
+
"it": "aggiungere XSense\ncorrezione Nome Sonoff\nLe dipendenze sono state aggiornate",
|
|
27
|
+
"es": "añadir XSense\nnombre de Sonoff\nSe han actualizado las dependencias",
|
|
28
|
+
"pl": "dodaj XSense\nfix Sonoff Name\nZaktualizowano zależności",
|
|
29
|
+
"uk": "додати XSense\nфіксувати ім'я Sonoff\nЗалежність було оновлено",
|
|
30
|
+
"zh-cn": "添加 X 语句\n修复 Sonoff 名称\n依赖关系已更新"
|
|
31
|
+
},
|
|
6
32
|
"2.12.2": {
|
|
7
33
|
"en": "Fixed [#362](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/362): Ecovacs Deebot use connectionUptime dp as timeselector\nDependencies have been updated",
|
|
8
34
|
"de": "Behoben [#362](https://github.com/iobroker-community-adapter/ioBroker.device-watcher/issues/362): Ecovacs Deebot-Verbindung Aktualisierung dp als Zeitselektor\nAbhängigkeiten wurden aktualisiert",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"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",
|
|
68
94
|
"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): Повідомлення",
|
|
69
95
|
"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): 幽灵消息"
|
|
70
|
-
},
|
|
71
|
-
"2.10.4": {
|
|
72
|
-
"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",
|
|
73
|
-
"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",
|
|
74
|
-
"ru": "Добавлено: Возможность установки языка для сообщений и таблиц\nFixed [#312] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/312): Расписание сообщений не было опустошено после их отправки\nИсправлено: слишком много сообщений было отправлено о онлайн-/офлайн-устройствах, когда экземпляр был запущен или закончился",
|
|
75
|
-
"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",
|
|
76
|
-
"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",
|
|
77
|
-
"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",
|
|
78
|
-
"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",
|
|
79
|
-
"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ó",
|
|
80
|
-
"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",
|
|
81
|
-
"uk": "Додано: Варіант встановити мову для повідомлень і таблиць\nВиправлено [#312](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/312): Після того, як вони відправили\nВиправлено: Занадто багато повідомлень надіслали про онлайн / офлайн-пристрої, коли було запущено екземпляр або закінчився",
|
|
82
|
-
"zh-cn": "添加: 设置信件和表格语言的选项\n固定 [# 312] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/isses/312): (中文(简体) ). 发送后未清空调度信件\n固定: 当一个实例开始或结束时, 关于在线/ 离线设备的邮件过多"
|
|
83
|
-
},
|
|
84
|
-
"2.10.3": {
|
|
85
|
-
"en": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
86
|
-
"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",
|
|
87
|
-
"ru": "Fixed [#299] (http://github.com/ciddi89/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
88
|
-
"pt": "Corrigido [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): dispositivos listados em pretos foram mostrados em html-list",
|
|
89
|
-
"nl": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices werd getoond in html-list",
|
|
90
|
-
"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",
|
|
91
|
-
"it": "Fisso [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): la lista nera è stata mostrata nella lista html",
|
|
92
|
-
"es": "Fixed [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299): blacklisted devices was shown in html-list",
|
|
93
|
-
"pl": "Poprawiono [# 299] (https: / / github.com / ciddi89 / ioBroker.device- watcher / issues / 299): na liście html- pokazano na czarnej liście urządzenia",
|
|
94
|
-
"uk": "Виправлено [#299](https://github.com/iobroker-community-adapters/ioBroker.device-watcher/products/299): Чорнелистові пристрої були показані в html-list",
|
|
95
|
-
"zh-cn": "固定 [299] (https://github.com/iobroker-community-adapters/ioBroker.device-watcher/issues/299):列入黑名单的设备在html列表中显示"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -334,6 +334,8 @@
|
|
|
334
334
|
"wifilightMaxMinutes": 0,
|
|
335
335
|
"wledDevices": false,
|
|
336
336
|
"wledMaxMinutes": 0,
|
|
337
|
+
"xsenseDevices": false,
|
|
338
|
+
"xsenseMaxMinutes": 300,
|
|
337
339
|
"yeelightDevices": false,
|
|
338
340
|
"yeelightMaxMinutes": 0,
|
|
339
341
|
"zigbeeDevices": false,
|
package/lib/arrApart.js
CHANGED