iobroker.device-watcher
Advanced tools
Comparing version 2.0.3 to 2.1.0
{ | ||
"common": { | ||
"name": "device-watcher", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"news": { | ||
"2.1.0": { | ||
"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))", | ||
"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)", | ||
"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)", | ||
"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)", | ||
"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", | ||
"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)", | ||
"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)", | ||
"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)", | ||
"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)", | ||
"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)", | ||
"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)" | ||
}, | ||
"2.0.3": { | ||
@@ -83,15 +96,2 @@ "en": "fixed issue with localCompare\nadded tapo\nadded fullyBrowser adapter\nadded Sure Flap adapter\nfixed low bat messages", | ||
"uk": "додано адаптер WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut і Meross\nповідомлення про розряд батареї\nвиправлено та усунено деякі проблеми часу останнього контакту\nдодана підтримка старих пристроїв HM\nдеякий невеликий рефакторинг коду\nзмінено селектор shelly з dp rssi на dp online" | ||
}, | ||
"1.0.0": { | ||
"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.)", | ||
"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.)", | ||
"ru": "Завтраки изменить Если вы обновляете из версии <= 0.3.0, сначала удалите старый экземпляр, прежде чем обновиться до >= 1.0.0 После этого вы можете создать новый экземпляр.\nизмененный режим от shedule до daemon, пожалуйста, ознакомьтесь с советами выше\nдобавил Logitech Harmony Hub\nнебольшие багфиксы (собственная функция для черного списка, исправить для утечки памяти и т.д.)", | ||
"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.)", | ||
"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.)", | ||
"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.)", | ||
"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.)", | ||
"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.)", | ||
"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.)", | ||
"zh-cn": "** BREAKANGE ** 如果你从 <=0.3.0”的版本中更新,那么,在你更新到1.0.0之前,将旧的事例删除。.\n更改从单元到大都市的模式,请从上述咨询意见中了解。\n增额后勤技术\n小型配制(黑名单的主位,用于纪念泄漏等)。", | ||
"uk": "** ГОЛОВНА ЗМІНА ** Якщо ви оновлюєтеся з версії <= 0.3.0, спершу видаліть старий екземпляр перед оновленням до >= 1.0.0. Після цього ви можете створити новий екземпляр.\nзмінено режим із shedule на daemon, зверніть увагу на наведену вище пораду\nдодано Logitech Harmony Hub\nневеликі виправлення помилок (власна функція для чорного списку, виправлення витоку пам’яті тощо)" | ||
} | ||
@@ -150,3 +150,2 @@ }, | ||
"dataSource": "poll", | ||
"materialize": true, | ||
"plugins": { | ||
@@ -176,3 +175,3 @@ "sentry": { | ||
{ | ||
"admin": ">=5.1.28" | ||
"admin": ">=6.0.0" | ||
} | ||
@@ -184,2 +183,4 @@ ] | ||
"alexa2MaxMinutes": 0, | ||
"apcupsDevices": false, | ||
"apcupsMaxMinutes": 0, | ||
"bleDevices": false, | ||
@@ -224,2 +225,6 @@ "bleMaxMinutes": 300, | ||
"mihomeVacuumMaxMinutes": 0, | ||
"mqttClientZigbee2MqttDevices": false, | ||
"mqttClientZigbee2MqttMaxMinutes": 0, | ||
"mqttNukiDevices": false, | ||
"mqttNukiMaxMinutes": 300, | ||
"netatmoDevices": false, | ||
@@ -267,2 +272,3 @@ "netatmoMaxMinutes": 300, | ||
"createHtmlList": false, | ||
"checkSendAdapterUpdateNotify": false, | ||
"checkSendOfflineMsg": false, | ||
@@ -304,5 +310,9 @@ "checkSendOfflineMsgDaily": false, | ||
"titleLovelace": "Device-Watcher", | ||
"instanceSynochat": "", | ||
"channelSynochat": "", | ||
"showAdapterNameinMsg": false, | ||
"tableBlacklist": [], | ||
"updateinterval": 10, | ||
"ownDataEditor": [] | ||
"ownDataEditor": [], | ||
"checkSendDeviceUpgrade": false | ||
}, | ||
@@ -309,0 +319,0 @@ "objects": [], |
@@ -11,2 +11,11 @@ // arrays of supported adapters | ||
}, | ||
apcups: { | ||
Selektor: 'apcups.*.status', | ||
adapterID: 'apcups', | ||
adapter: 'Apc UPS', | ||
battery: '.batteryCharge', | ||
reach: '.info.connection', | ||
isLowBat: 'none', | ||
id: '.model', | ||
}, | ||
ble: { | ||
@@ -188,2 +197,20 @@ Selektor: 'ble.*.rssi', | ||
}, | ||
mqttClientZigbee2Mqtt: { | ||
Selektor: 'mqtt-client.*.zigbee2mqtt.*.availability', | ||
adapterID: 'mqttClientZigbee2Mqtt', | ||
adapter: 'MQTT-Client', | ||
battery: '.battery', | ||
rssiState: '.link_quality', | ||
reach: '.availability', | ||
isLowBat: '.battery_low', | ||
}, | ||
mqttNuki: { | ||
Selektor: 'mqtt.0.nuki.*.rssi', | ||
adapterID: 'mqttNuki', | ||
adapter: 'MQTT', | ||
battery: '.battery.level', | ||
rssiState: '.rssi', | ||
reach: 'none', | ||
isLowBat: 'none', | ||
}, | ||
netatmo: { | ||
@@ -243,2 +270,3 @@ Selektor: 'netatmo.*.LastUpdate', | ||
isLowBat: 'none', | ||
upgrade: '.firmware' | ||
}, | ||
@@ -312,3 +340,3 @@ sonoff: { | ||
unifi: { | ||
Selektor: 'unifi.*.state', | ||
Selektor: 'unifi.*.devices.*.uptime', | ||
adapterID: 'unifi', | ||
@@ -320,2 +348,3 @@ adapter: 'Unifi', | ||
id: 'none', | ||
upgrade: '.upgradable', | ||
}, | ||
@@ -322,0 +351,0 @@ wled: { |
{ | ||
"name": "iobroker.device-watcher", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"description": "Watchdog for devices", | ||
@@ -33,13 +33,13 @@ "author": { | ||
"@iobroker/testing": "^4.1.0", | ||
"@types/chai": "^4.3.3", | ||
"@types/chai": "^4.3.4", | ||
"@types/chai-as-promised": "^7.1.5", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^18.11.8", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.11.10", | ||
"@types/node-schedule": "^2.1.0", | ||
"@types/proxyquire": "^1.3.28", | ||
"@types/sinon": "^10.0.13", | ||
"@types/sinon-chai": "^3.2.8", | ||
"chai": "^4.3.6", | ||
"@types/sinon-chai": "^3.2.9", | ||
"chai": "^4.3.7", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^8.26.0", | ||
"eslint": "^8.28.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -49,11 +49,10 @@ "eslint-plugin-prettier": "^4.2.1", | ||
"node-schedule": "^2.1.0", | ||
"prettier": "^2.7.1", | ||
"prettier": "^2.8.0", | ||
"proxyquire": "^2.1.3", | ||
"sinon": "^14.0.1", | ||
"sinon": "^15.0.0", | ||
"sinon-chai": "^3.7.0", | ||
"typescript": "~4.8.4" | ||
"typescript": "~4.9.3" | ||
}, | ||
"main": "main.js", | ||
"files": [ | ||
"admin{,/!(src)/**}/!(tsconfig|tsconfig.*).json", | ||
"admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}", | ||
@@ -60,0 +59,0 @@ "lib/", |
@@ -7,5 +7,6 @@ ![Logo](admin/device-watcher.png) | ||
[![Downloads](https://img.shields.io/npm/dm/iobroker.device-watcher.svg)](https://www.npmjs.com/package/iobroker.device-watcher) | ||
![GitHub repo size](https://img.shields.io/github/repo-size/ciddi89/ioBroker.device-watcher)</br> | ||
![GitHub repo size](https://img.shields.io/github/repo-size/ciddi89/ioBroker.device-watcher) | ||
[![Translation status](https://weblate.iobroker.net/widgets/adapters/-/device-watcher/svg-badge.svg)](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)</br> | ||
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/ciddi89/ioBroker.device-watcher) | ||
![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/v2.0.2) | ||
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/latest) | ||
![GitHub last commit](https://img.shields.io/github/last-commit/ciddi89/ioBroker.device-watcher) | ||
@@ -59,2 +60,3 @@ ![GitHub issues](https://img.shields.io/github/issues/ciddi89/ioBroker.device-watcher) | ||
- Lovelace | ||
- SynoChat | ||
- and also an datapoint with the last notification, so you can use it for other services which aren't supported. | ||
@@ -93,2 +95,12 @@ | ||
--> | ||
### 2.1.0 (2022-12-19) | ||
- (Scrounger) optionally show adapter name in notification | ||
- (ciddi89) optionally receive a message when an update for an device is available [#87](https://github.com/ciddi89/ioBroker.device-watcher/issues/87) | ||
- (Scrounger) update message for shelly adapter added | ||
- (ciddi89) update message for unifi devices added | ||
- (ciddi89) fixed devices are not reported in case battery is 0% [#86](https://github.com/ciddi89/ioBroker.device-watcher/issues/86) | ||
- (ciddi89) SynoChat added [#85](https://github.com/ciddi89/ioBroker.device-watcher/issues/85) | ||
- (ciddi89) MQTT NukiHub, MQTT-Clien Zigbee2MQTT added ([#82](https://github.com/ciddi89/ioBroker.device-watcher/issues/82)) | ||
### 2.0.3 (2022-11-26) | ||
@@ -95,0 +107,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252
792300
12
2307