iobroker.device-watcher 2.0.3 → 2.1.0

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 CHANGED
@@ -4,9 +4,10 @@
4
4
 
5
5
  [![GitHub license](https://img.shields.io/github/license/ciddi89/ioBroker.device-watcher)](https://github.com/ciddi89/ioBroker.device-watcher/blob/main/LICENSE)
6
6
  [![Downloads](https://img.shields.io/npm/dm/iobroker.device-watcher.svg)](https://www.npmjs.com/package/iobroker.device-watcher)
7
- ![GitHub repo size](https://img.shields.io/github/repo-size/ciddi89/ioBroker.device-watcher)</br>
7
+ ![GitHub repo size](https://img.shields.io/github/repo-size/ciddi89/ioBroker.device-watcher)
8
+ [![Translation status](https://weblate.iobroker.net/widgets/adapters/-/device-watcher/svg-badge.svg)](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)</br>
8
9
  ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/ciddi89/ioBroker.device-watcher)
9
- ![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/v2.0.2)
10
+ ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/latest)
10
11
  ![GitHub last commit](https://img.shields.io/github/last-commit/ciddi89/ioBroker.device-watcher)
11
12
  ![GitHub issues](https://img.shields.io/github/issues/ciddi89/ioBroker.device-watcher)
12
13
  </br>
@@ -55,6 +56,7 @@ Currently supported notification services are:
55
56
  - Email
56
57
  - Jarvis
57
58
  - Lovelace
59
+ - SynoChat
58
60
  - and also an datapoint with the last notification, so you can use it for other services which aren't supported.
59
61
 
60
62
  If you found a bug or you have an improvement suggestion, feel free to open an issue.
@@ -88,6 +90,16 @@ If you don't want a specifice device in the list, you can add it in the blacklis
88
90
  Placeholder for the next version (at the beginning of the line):
89
91
  ### **WORK IN PROGRESS**
90
92
  -->
93
+ ### 2.1.0 (2022-12-19)
94
+
95
+ - (Scrounger) optionally show adapter name in notification
96
+ - (ciddi89) optionally receive a message when an update for an device is available [#87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)
97
+ - (Scrounger) update message for shelly adapter added
98
+ - (ciddi89) update message for unifi devices added
99
+ - (ciddi89) fixed devices are not reported in case battery is 0% [#86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)
100
+ - (ciddi89) SynoChat added [#85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)
101
+ - (ciddi89) MQTT NukiHub, MQTT-Clien Zigbee2MQTT added ([#82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82))
102
+
91
103
  ### 2.0.3 (2022-11-26)
92
104
 
93
105
  - fixed issue with localCompare
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "device-watcher",
4
- "version": "2.0.3",
4
+ "version": "2.1.0",
5
5
  "news": {
6
+ "2.1.0": {
7
+ "en": "optionally show adapter name in notification\noptionally receive a message when an update for an device is available [#87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nupdate message for shelly adapter added\nupdate message for unifi devices added\nfixed devices are not reported in case battery is 0% [#86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSynoChat added [#85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT added ([#82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82))",
8
+ "de": "optional adaptername in benachrichtigung anzeigen\noptional eine Nachricht erhalten, wenn ein Update für ein Gerät verfügbar ist #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nupdate-nachricht für shelly adapter hinzugefügt\nupdate-nachricht für unifi-geräte hinzugefügt\nfeste Geräte werden nicht gemeldet, falls Batterie 0% #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSynthetische Chat hinzugefügt #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT hinzugefügt #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
9
+ "ru": "дополнительно показать имя адаптера в уведомлении\nопционально получайте сообщение, когда обновление для устройства доступно #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nобновление сообщение для shelly адаптер добавлен\nобновление сообщения для устройств unifi добавлено\nстационарные устройства не сообщаются в случае батареи 0% #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nСино Чат добавлен #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT добавлен #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
10
+ "pt": "opcionalmente mostrar o nome do adaptador na notificação\nopcionalmente receber uma mensagem quando uma atualização para um dispositivo está disponível #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nmensagem de atualização para adaptador shelly adicionado\nmensagem de atualização para dispositivos unifi adicionados\ndispositivos fixos não são relatados caso a bateria seja 0% #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSyno Chat adicionado #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT adicionado #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
11
+ "nl": "vertaling:\neen bericht ontvangen als een update voor een apparaat beschikbaar is\nvertaling:\nvertaling:\ngerepareerde apparaten zijn niet gerapporteerd in het geval dat batterij 0% is\nSyno. Chat voegde er 85 bij\nMQT NukiHub, MQTT-Cliigbee2MQT voegde £2 82: jitttubcom/ciddi-ioBroker devicewatwat-wat-wat-wat 82",
12
+ "fr": "afficher en option le nom de l'adaptateur dans la notification\nrecevoir en option un message lorsqu ' une mise à jour pour un dispositif est disponible #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nmessage de mise à jour pour adaptateur shelly ajouté\nmessage de mise à jour pour les périphériques unifi ajouté\nles appareils fixes ne sont pas signalés dans le cas où la batterie est de 0 % #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSyno Chat ajouté #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT ajouté #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
13
+ "it": "mostra il nome dell'adattatore nella notifica\n*[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\naggiornamento messaggio per adattatore shelly aggiunto\nmessaggio di aggiornamento per dispositivi unifi aggiunti\ni dispositivi fissi non sono segnalati nel caso in cui la batteria sia 0% #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nTraduzione: Chat aggiunta #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT aggiunto #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
14
+ "es": "opcionalmente mostrar el nombre del adaptador en notificación\nopcionalmente recibe un mensaje cuando se dispone de una actualización para un dispositivo #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nmensaje de actualización para adaptador de jalea añadido\nmensaje de actualización para dispositivos unificados\nno se reportan dispositivos fijos en caso de batería es el 0% #[86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSino Chat added #[85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT added #[82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)",
15
+ "pl": "opcjonalnie marka adapterowa\nopcjonalnie otrzyma wiadomość, gdy aktualizacja urządzenia jest dostępna na #87(https:/github.com/ciddi89/ioBroker.device-watcher/issues/87)\nuaktualnienie\nuaktualnienie urządzeń unifiowych dodano do wiadomości aktualizację\nurządzenia stałe nie są doniesione w przypadku baterii 0% #86(https:/github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSyno Chat dodał #85 (https:/github.com/ciddi89/ioBroker).device-watcher/issues/issues/\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT dodał #82 (https:/github.com/ciddi89/ioBroker.device-watcher/issues/82)",
16
+ "uk": "додатково показати назву адаптера в повідомлення\nдодатково отримайте повідомлення при оновленні пристрою доступно #[87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87)\nоновлення повідомлення для адаптера оболонки додано\nдодано оновлення повідомлення для пристроїв unifi\n0% #[86] (https://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nСино Чат додано #[85](https://github.com/ciddi89/ioBroker.device-watcher/products/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT додано #[82](https://github.com/ciddi89/ioBroker.device-watcher/products/82)",
17
+ "zh-cn": "选择性地展示通知的适应人名\n当一个装置的更新可查阅第[87]号(http://github.com/ciddi89/ioBroker.device-watcher/issues/87)\na. 炮击器的更新信息\n光明装置最新信息\n(http://github.com/ciddi89/ioBroker.device-watcher/issues/86)\nSyno 查特增加第[85]号(http://github.com/ciddi89/ioBroker.device-watcher/issues/85)\nMQTT NukiHub, MQTT-Clien Zigbee2MQTT 补充了第[82]号(http://github.com/ciddi89/ioBroker.device-watcher/issues/82)"
18
+ },
6
19
  "2.0.3": {
7
20
  "en": "fixed issue with localCompare\nadded tapo\nadded fullyBrowser adapter\nadded Sure Flap adapter\nfixed low bat messages",
8
21
  "de": "problem mit lokalen Vergleich\nzusatz tapo\nvollständig Browser Adapter\nhinzugefügt Sure Flap Adapter\nfeste low bat-nachrichten",
@@ -80,19 +93,6 @@
80
93
  "pl": "dodał WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut i Meross\nbaterie\npoprawiono i naprawiło pewne problemy z ostatnim kontaktem\nwspierać stare urządzenia HM\nniewielki refaktor\nzmienił selekcjonera z dp rssi na dp online",
81
94
  "zh-cn": "新增的WLED, Ikea Tradfri,会议室巴,HmIp, Tado,Netatmo, Yeecent-2, Unifi, Nut and Meross适应er\n固定电池信息\n纠正并修复了最后接触时间的一些问题\n对旧的HM装置的更多支持\n守则略有修改\n弹壳从手西改为在线",
82
95
  "uk": "додано адаптер WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut і Meross\nповідомлення про розряд батареї\nвиправлено та усунено деякі проблеми часу останнього контакту\nдодана підтримка старих пристроїв HM\nдеякий невеликий рефакторинг коду\nзмінено селектор shelly з dp rssi на dp online"
83
- },
84
- "1.0.0": {
85
- "en": "** BREAKING CHANGE ** If you update from version <= 0.3.0, remove the old instance first before you update to >= 1.0.0. After that you can create a new instance.\nchanged mode from shedule to daemon, please take aware from the advice above\nadded Logitech Harmony Hub\nsmall bugfixes (own function for blacklist, fix for memory leak etc.)",
86
- "de": "** BREAKING CHANGE ** Wenn Sie von der Version <= 0.3.0 aktualisieren, entfernen Sie die alte Instanz zuerst, bevor Sie auf >= 1.0.0 aktualisieren danach können Sie eine neue Instanz erstellen.\ngeänderter modus von shedule nach daemon, bitte beachten sie die oben genannten ratschläge\nlogitech Harmony Hub\nkleine bugfixes (eigene funktion für blacklist, fix für speicherleck etc.)",
87
- "ru": "Завтраки изменить Если вы обновляете из версии <= 0.3.0, сначала удалите старый экземпляр, прежде чем обновиться до >= 1.0.0 После этого вы можете создать новый экземпляр.\nизмененный режим от shedule до daemon, пожалуйста, ознакомьтесь с советами выше\nдобавил Logitech Harmony Hub\nнебольшие багфиксы (собственная функция для черного списка, исправить для утечки памяти и т.д.)",
88
- "pt": "** REGRAS DE CONCORRÊNCIA Se você atualizar da versão <= 0.3.0, remova a antiga instância primeiro antes de atualizar para >= 1.0.0 Depois disso você pode criar uma nova instância.\nmodo alterado de shedule para daemon, por favor tome conhecimento do conselho acima\nadicionado Logitech Harmony Hub\npequenos bugfixes (função própria para a lista negra, corrigir para vazamento de memória etc.)",
89
- "nl": "BREAKING CHANGE Als je updates van de versie 0.3.0, verwijder het oude instance eerst voordat je updates geeft aan 1.0, nadat je een nieuw voorbeeld kan creëren.\nverandering van shedule tot daemon, neem het advies boven\nvoegde Logitech Harmony Hub\nkleine insecten (own functie voor blacklist, herstel voor geheugenlek.)",
90
- "fr": "♪ BREAKING CHANGE ♪ Si vous mettez à jour à partir de la version = 0.3.0, retirez l'ancienne instance avant de mettre à jour la version 1.0.0 Après cela, vous pouvez créer une nouvelle instance.\nchangement de mode de shedule à daemon, s'il vous plaît prendre conscience de l'avis ci-dessus\najouté Logitech Harmony Hub\npetits bugfix (fonction unique pour liste noire, correction pour fuite de mémoire etc.)",
91
- "it": "# BREAKING CHANG # Se si aggiorna dalla versione <= 0.3.0, rimuovere la vecchia istanza prima di aggiornare a >= 1.0.0 Dopo di che è possibile creare una nuova istanza.\nmodo cambiato da capannone a demone, si prega di prendere coscienza dal consiglio sopra\naggiunto Logitech Harmony Hub\npiccoli bugfixes (funzione propria per blacklist, fix per perdita di memoria ecc.)",
92
- "es": "# BREAKING CHANGE # Si se actualiza de la versión 0,3.0, retire la vieja instancia primero antes de actualizar a 0,0 Después de eso puede crear una nueva instancia.\ncambio de modo de shedule a daemon, por favor tome conciencia del consejo anterior\nañadido Logitech Harmony Hub\npequeños bugfixes (función propia para la lista negra, fijar para la fuga de memoria, etc.)",
93
- "pl": "BTEAKING CHANGE (ang.). Jeśli uaktualnienie od wersji <= 0.3.0, usunie starego przykładu przed aktualizacją do >= 1.0.0 po tym, jak możesz stworzyć nowy przykład.\nzmienione mody od ul. do daemonu, słyszeć radę powyżej\nlogite Harmony Hub\nmałe błędy (właściwe funkcje czarnej listy, naprawy wyciek pamięci itp.)",
94
- "zh-cn": "** BREAKANGE ** 如果你从 <=0.3.0”的版本中更新,那么,在你更新到1.0.0之前,将旧的事例删除。.\n更改从单元到大都市的模式,请从上述咨询意见中了解。\n增额后勤技术\n小型配制(黑名单的主位,用于纪念泄漏等)。",
95
- "uk": "** ГОЛОВНА ЗМІНА ** Якщо ви оновлюєтеся з версії <= 0.3.0, спершу видаліть старий екземпляр перед оновленням до >= 1.0.0. Після цього ви можете створити новий екземпляр.\nзмінено режим із shedule на daemon, зверніть увагу на наведену вище пораду\nдодано Logitech Harmony Hub\nневеликі виправлення помилок (власна функція для чорного списку, виправлення витоку пам’яті тощо)"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -146,7 +146,6 @@
146
146
  "compact": true,
147
147
  "connectionType": "local",
148
148
  "dataSource": "poll",
149
- "materialize": true,
150
149
  "plugins": {
151
150
  "sentry": {
152
151
  "dsn": "https://77c117cb4f6e43059424e03819439c24@o1337119.ingest.sentry.io/6606442"
@@ -171,13 +170,15 @@
171
170
  ],
172
171
  "globalDependencies": [
173
172
  {
174
- "admin": ">=5.1.28"
173
+ "admin": ">=6.0.0"
175
174
  }
176
175
  ]
177
176
  },
178
177
  "native": {
179
178
  "alexa2Devices": false,
180
179
  "alexa2MaxMinutes": 0,
180
+ "apcupsDevices": false,
181
+ "apcupsMaxMinutes": 0,
181
182
  "bleDevices": false,
182
183
  "bleMaxMinutes": 300,
183
184
  "deconzDevices": false,
@@ -217,6 +218,10 @@
217
218
  "mihomeGWMaxMinutes": 0,
218
219
  "mihomeVacuumDevices": false,
219
220
  "mihomeVacuumMaxMinutes": 0,
221
+ "mqttClientZigbee2MqttDevices": false,
222
+ "mqttClientZigbee2MqttMaxMinutes": 0,
223
+ "mqttNukiDevices": false,
224
+ "mqttNukiMaxMinutes": 300,
220
225
  "netatmoDevices": false,
221
226
  "netatmoMaxMinutes": 300,
222
227
  "nukiExtDevices": false,
@@ -259,6 +264,7 @@
259
264
  "listOnlyBattery": false,
260
265
  "createOwnFolder": false,
261
266
  "createHtmlList": false,
267
+ "checkSendAdapterUpdateNotify": false,
262
268
  "checkSendOfflineMsg": false,
263
269
  "checkSendOfflineMsgDaily": false,
264
270
  "checkOfflineMonday": false,
@@ -295,9 +301,13 @@
295
301
  "titleJarvis": "Device-Watcher",
296
302
  "instanceLovelace": "",
297
303
  "titleLovelace": "Device-Watcher",
304
+ "instanceSynochat": "",
305
+ "channelSynochat": "",
306
+ "showAdapterNameinMsg": false,
298
307
  "tableBlacklist": [],
299
308
  "updateinterval": 10,
300
- "ownDataEditor": []
309
+ "ownDataEditor": [],
310
+ "checkSendDeviceUpgrade": false
301
311
  },
302
312
  "objects": [],
303
313
  "instanceObjects": [
package/lib/arrApart.js CHANGED
@@ -8,6 +8,15 @@ const arrApart = {
8
8
  reach: '.online',
9
9
  isLowBat: 'none',
10
10
  },
11
+ apcups: {
12
+ Selektor: 'apcups.*.status',
13
+ adapterID: 'apcups',
14
+ adapter: 'Apc UPS',
15
+ battery: '.batteryCharge',
16
+ reach: '.info.connection',
17
+ isLowBat: 'none',
18
+ id: '.model',
19
+ },
11
20
  ble: {
12
21
  Selektor: 'ble.*.rssi',
13
22
  adapterID: 'ble',
@@ -184,6 +193,24 @@ const arrApart = {
184
193
  isLowBat: 'none',
185
194
  id: '.deviceInfo.model',
186
195
  },
196
+ mqttClientZigbee2Mqtt: {
197
+ Selektor: 'mqtt-client.*.zigbee2mqtt.*.availability',
198
+ adapterID: 'mqttClientZigbee2Mqtt',
199
+ adapter: 'MQTT-Client',
200
+ battery: '.battery',
201
+ rssiState: '.link_quality',
202
+ reach: '.availability',
203
+ isLowBat: '.battery_low',
204
+ },
205
+ mqttNuki: {
206
+ Selektor: 'mqtt.0.nuki.*.rssi',
207
+ adapterID: 'mqttNuki',
208
+ adapter: 'MQTT',
209
+ battery: '.battery.level',
210
+ rssiState: '.rssi',
211
+ reach: 'none',
212
+ isLowBat: 'none',
213
+ },
187
214
  netatmo: {
188
215
  Selektor: 'netatmo.*.LastUpdate',
189
216
  adapterID: 'netatmo',
@@ -238,6 +265,7 @@ const arrApart = {
238
265
  battery2: '.bat.value',
239
266
  reach: '.online',
240
267
  isLowBat: 'none',
268
+ upgrade: '.firmware'
241
269
  },
242
270
  sonoff: {
243
271
  Selektor: 'sonoff.*.alive',
@@ -306,13 +334,14 @@ const arrApart = {
306
334
  id: 'none',
307
335
  },
308
336
  unifi: {
309
- Selektor: 'unifi.*.state',
337
+ Selektor: 'unifi.*.devices.*.uptime',
310
338
  adapterID: 'unifi',
311
339
  adapter: 'Unifi',
312
340
  battery: 'none',
313
341
  reach: '.state',
314
342
  isLowBat: 'none',
315
343
  id: 'none',
344
+ upgrade: '.upgradable',
316
345
  },
317
346
  wled: {
318
347
  Selektor: 'wled.*._online',