iobroker.device-watcher 0.1.1 → 0.2.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/README.md +55 -6
- package/admin/i18n/de/translations.json +11 -2
- package/admin/i18n/en/translations.json +9 -1
- package/admin/i18n/es/translations.json +10 -1
- package/admin/i18n/fr/translations.json +10 -1
- package/admin/i18n/it/translations.json +10 -1
- package/admin/i18n/nl/translations.json +10 -1
- package/admin/i18n/pl/translations.json +10 -1
- package/admin/i18n/pt/translations.json +10 -1
- package/admin/i18n/ru/translations.json +10 -1
- package/admin/i18n/zh-cn/translations.json +10 -1
- package/admin/images/add_blacklist.png +0 -0
- package/admin/images/list2.png +0 -0
- package/admin/jsonConfig.json +162 -50
- package/io-package.json +93 -56
- package/main.js +739 -700
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/iobroker.device-watcher)
|
|
5
5
|
[](https://www.npmjs.com/package/iobroker.device-watcher)
|
|
6
6
|

|
|
7
|
-
|
|
7
|
+
<!---->
|
|
8
|
+
[](https://github.com/ciddi89/ioBroker.device-watcher/blob/main/LICENSE)
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
8
13
|
|
|
9
14
|
[](https://nodei.co/npm/iobroker.device-watcher/)
|
|
10
15
|
|
|
@@ -12,11 +17,39 @@
|
|
|
12
17
|
|
|
13
18
|
## Device-Watcher adapter for ioBroker
|
|
14
19
|
|
|
15
|
-
This is a watchdog for wireless devices.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
This is a watchdog for wireless devices. The adapter looks every fifteen minutes for the rssi/link quality and battery states and create JSON lists of them (devices with battery, devices with link quality, devices offline and devices all) and count the devices in the same categories. For example you can use the lists and states for Grafana, Jarvis etc.
|
|
21
|
+
|
|
22
|
+
Supported adapters are:
|
|
23
|
+
* Alexa2
|
|
24
|
+
* Ble
|
|
25
|
+
* Deconz
|
|
26
|
+
* FritzDect
|
|
27
|
+
* ESPHome
|
|
28
|
+
* Homematic
|
|
29
|
+
* Hue
|
|
30
|
+
* Hue Extended
|
|
31
|
+
* MiHome
|
|
32
|
+
* Nuki Extended
|
|
33
|
+
* Ping (You have to set the option 'Advanced Information / Erweiterte Information' in the instance settings of ping for each device)
|
|
34
|
+
* Shelly
|
|
35
|
+
* Sonoff
|
|
36
|
+
* Sonos
|
|
37
|
+
* Switchbot Ble
|
|
38
|
+
* Zigbee
|
|
39
|
+
* Zwave
|
|
40
|
+
|
|
41
|
+
The adapter has also the option to send notifications if the number of offline devices are changed and to send you a notification if devices has a low battery state (e.g. 30%). You can choose the value for the battery notification and on which days you want the notification for low batteries.
|
|
42
|
+
|
|
43
|
+
Currently supported notification services are:
|
|
44
|
+
* Telegram (with support of Chat-ID for groupchats)
|
|
45
|
+
* Pushover
|
|
46
|
+
* WhatsApp
|
|
47
|
+
* Email
|
|
48
|
+
* Jarvis
|
|
49
|
+
* Lovelace
|
|
50
|
+
* and also an datapoint with the last notification, so you can use it for other services which aren't supported.
|
|
51
|
+
|
|
52
|
+
If you found a bug or you have an improvement suggestion, feel free to open an issue.
|
|
20
53
|
|
|
21
54
|
### Blacklist
|
|
22
55
|
|
|
@@ -24,6 +57,11 @@ The adapter has also the option to send notifications if the number of offline d
|
|
|
24
57
|
|
|
25
58
|

|
|
26
59
|
|
|
60
|
+
### Example images of Pushover notification:
|
|
61
|
+
|
|
62
|
+

|
|
63
|
+

|
|
64
|
+
|
|
27
65
|
### Here are some images how the lists look:
|
|
28
66
|
|
|
29
67
|

|
|
@@ -36,6 +74,17 @@ The adapter has also the option to send notifications if the number of offline d
|
|
|
36
74
|
Placeholder for the next version (at the beginning of the line):
|
|
37
75
|
### **WORK IN PROGRESS**
|
|
38
76
|
-->
|
|
77
|
+
### 0.2.1 (2022-07-27)
|
|
78
|
+
- removed test states
|
|
79
|
+
|
|
80
|
+
### 0.2.0 (2022-07-24)
|
|
81
|
+
- added function to create data of each adapter
|
|
82
|
+
|
|
83
|
+
### 0.1.2 (2022-07-22)
|
|
84
|
+
|
|
85
|
+
- improved overview of admin ui
|
|
86
|
+
- added option in admin ui to create own folders for each adapter (!!not working yet!!)
|
|
87
|
+
|
|
39
88
|
### 0.1.1 (2022-07-22)
|
|
40
89
|
|
|
41
90
|
- changed wrong type of datapoint lastCheck
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"Send offline message": "Offline-Nachricht senden",
|
|
9
9
|
"Get message if an device is not reachable": "Erhalten Sie eine Nachricht, wenn ein Gerät nicht erreichbar ist",
|
|
10
10
|
"Send batterie message": "Batterienachricht senden",
|
|
11
|
-
"Get message if an device has low battery": "Erhalte Sie eine Nachricht, wenn
|
|
11
|
+
"Get message if an device has low battery": "Erhalte Sie eine Nachricht, wenn die Batterie eines Gerätes schwach ist",
|
|
12
12
|
"From how much min % would you get a message": "Ab wie viel min % würden Sie eine Nachricht bekommen wollen",
|
|
13
13
|
"in percent": "in Prozent",
|
|
14
14
|
"Use the true state from quality state": "Verwende den wahren Zustand des Quality States",
|
|
@@ -56,5 +56,14 @@
|
|
|
56
56
|
"Whatsapp Instance": "WhatsApp-Instanz",
|
|
57
57
|
"Please choose the Whatsapp instance": "Bitte wählen Sie die WhatsApp-Instanz aus",
|
|
58
58
|
"Recipient (optional)": "Empfänger (optional)",
|
|
59
|
-
"Choose your recipient": "Wählen Sie Ihren Empfänger"
|
|
59
|
+
"Choose your recipient": "Wählen Sie Ihren Empfänger",
|
|
60
|
+
"Offline message": "Offline-Nachricht",
|
|
61
|
+
"Battery message": "Batteriemeldung",
|
|
62
|
+
"Notification Service": "Benachrichtigungsdienst",
|
|
63
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Hier können Sie Ihren Benachrichtigungsdienst auswählen. Sie können mehr als einen Dienst verwenden. Sie können aber auch alle leer lassen, dann wird nur der Datenpunkt lastNotification gefüllt.",
|
|
64
|
+
"Choose your notification services": "Wählen Sie Ihre Benachrichtigungsdienste",
|
|
65
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Eigene Ordner für jeden Adapter erstellen !!Funktioniert noch nicht!!",
|
|
66
|
+
"If you like to have for every Adapter an own folder with own data": "Wenn Sie möchten, haben Sie für jeden Adapter einen eigenen Ordner mit eigenen Daten",
|
|
67
|
+
"Please choose": "Bitte auswählen",
|
|
68
|
+
"Create own folders for each adapter": "Erstellen Sie für jeden Adapter eigene Ordner"
|
|
60
69
|
}
|
|
@@ -55,5 +55,13 @@
|
|
|
55
55
|
"Use the true state from quality state, otherwise it will be converted in percent value.": "Use the true state from quality state, otherwise it will be converted in percent value.",
|
|
56
56
|
"Offline Time": "Offline Time",
|
|
57
57
|
"Here you can choose the offline time of devices for each adapter. The device is considered offline after the specified time. If set to '-1', the adapter will use the datapoint available, reachable, alive etc. when the device has one of these.": "Here you can choose the offline time of devices for each adapter. The device is considered offline after the specified time. If set to '-1', the adapter will use the datapoint available, reachable, alive etc. when the device has one of these.",
|
|
58
|
-
"Choose the day(s) where you want to get the message of low battery:": "Choose the day(s) where you want to get the message of low battery:"
|
|
58
|
+
"Choose the day(s) where you want to get the message of low battery:": "Choose the day(s) where you want to get the message of low battery:",
|
|
59
|
+
"Offline message":"Offline message",
|
|
60
|
+
"Battery message":"Battery message",
|
|
61
|
+
"Notification Service":"Notification Service",
|
|
62
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.":"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.",
|
|
63
|
+
"Choose your notification services":"Choose your notification services",
|
|
64
|
+
"If you like to have for every Adapter an own folder with own data":"If you like to have for every Adapter an own folder with own data",
|
|
65
|
+
"Please choose":"Please choose",
|
|
66
|
+
"Create own folders for each adapter":"Create own folders for each adapter"
|
|
59
67
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Instancia de Whatsapp",
|
|
67
67
|
"Please choose the Whatsapp instance": "Elija la instancia de Whatsapp",
|
|
68
68
|
"Recipient (optional)": "Destinatario (opcional)",
|
|
69
|
-
"Choose your recipient": "Elige tu destinatario"
|
|
69
|
+
"Choose your recipient": "Elige tu destinatario",
|
|
70
|
+
"Offline message": "Mensaje fuera de línea",
|
|
71
|
+
"Battery message": "Mensaje de batería",
|
|
72
|
+
"Notification Service": "Servicio de notificaciones",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Aquí puede elegir su servicio de notificación. ",
|
|
74
|
+
"Choose your notification services": "Elige tus servicios de notificación",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Cree carpetas propias para cada adaptador !! ¡¡Aún no funciona!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Si desea tener para cada adaptador una carpeta propia con datos propios",
|
|
77
|
+
"Please choose": "Por favor elige",
|
|
78
|
+
"Create own folders for each adapter": "Crear carpetas propias para cada adaptador"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Instance Whatsapp",
|
|
67
67
|
"Please choose the Whatsapp instance": "Veuillez choisir l'instance Whatsapp",
|
|
68
68
|
"Recipient (optional)": "Destinataire (facultatif)",
|
|
69
|
-
"Choose your recipient": "Choisissez votre destinataire"
|
|
69
|
+
"Choose your recipient": "Choisissez votre destinataire",
|
|
70
|
+
"Offline message": "Message hors ligne",
|
|
71
|
+
"Battery message": "Message de batterie",
|
|
72
|
+
"Notification Service": "Service de notification",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Ici, vous pouvez choisir votre service de notification. ",
|
|
74
|
+
"Choose your notification services": "Choisissez vos services de notification",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Créez vos propres dossiers pour chaque adaptateur !! Ne fonctionne pas encore !!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Si vous souhaitez avoir pour chaque adaptateur un dossier avec ses propres données",
|
|
77
|
+
"Please choose": "Choisissez s'il vous plaît",
|
|
78
|
+
"Create own folders for each adapter": "Créez vos propres dossiers pour chaque adaptateur"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Istanza Whatsapp",
|
|
67
67
|
"Please choose the Whatsapp instance": "Scegli l'istanza di Whatsapp",
|
|
68
68
|
"Recipient (optional)": "Destinatario (facoltativo)",
|
|
69
|
-
"Choose your recipient": "Scegli il tuo destinatario"
|
|
69
|
+
"Choose your recipient": "Scegli il tuo destinatario",
|
|
70
|
+
"Offline message": "Messaggio offline",
|
|
71
|
+
"Battery message": "Messaggio sulla batteria",
|
|
72
|
+
"Notification Service": "Servizio di notifica",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Qui puoi scegliere il tuo servizio di notifica. ",
|
|
74
|
+
"Choose your notification services": "Scegli i tuoi servizi di notifica",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Crea cartelle personalizzate per ogni adattatore!!Non funziona ancora!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Se ti piace avere per ogni Adapter una propria cartella con i propri dati",
|
|
77
|
+
"Please choose": "Si prega di scegliere",
|
|
78
|
+
"Create own folders for each adapter": "Crea cartelle personalizzate per ogni adattatore"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Whatsapp-instantie",
|
|
67
67
|
"Please choose the Whatsapp instance": "Kies de WhatsApp-instantie",
|
|
68
68
|
"Recipient (optional)": "Ontvanger (optioneel)",
|
|
69
|
-
"Choose your recipient": "Kies je ontvanger"
|
|
69
|
+
"Choose your recipient": "Kies je ontvanger",
|
|
70
|
+
"Offline message": "Offline bericht",
|
|
71
|
+
"Battery message": "Batterij bericht",
|
|
72
|
+
"Notification Service": "Meldingsservice",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Hier kunt u uw meldingsservice kiezen. ",
|
|
74
|
+
"Choose your notification services": "Kies uw meldingsservices",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Maak voor elke adapter eigen mappen !!Werkt nog niet!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Als je voor elke Adapter een eigen map met eigen gegevens wilt hebben",
|
|
77
|
+
"Please choose": "Gelieve te kiezen",
|
|
78
|
+
"Create own folders for each adapter": "Maak eigen mappen voor elke adapter"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Instancja Whatsapp",
|
|
67
67
|
"Please choose the Whatsapp instance": "Wybierz instancję Whatsapp",
|
|
68
68
|
"Recipient (optional)": "Odbiorca (opcjonalnie)",
|
|
69
|
-
"Choose your recipient": "Wybierz odbiorcę"
|
|
69
|
+
"Choose your recipient": "Wybierz odbiorcę",
|
|
70
|
+
"Offline message": "Wiadomość offline",
|
|
71
|
+
"Battery message": "Komunikat dotyczący baterii",
|
|
72
|
+
"Notification Service": "Usługa powiadamiania",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Tutaj możesz wybrać usługę powiadamiania. ",
|
|
74
|
+
"Choose your notification services": "Wybierz swoje usługi powiadamiania",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Utwórz własne foldery dla każdego adaptera !!Jeszcze nie działa!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Jeśli chcesz mieć dla każdego adaptera własny folder z własnymi danymi",
|
|
77
|
+
"Please choose": "Proszę wybrać",
|
|
78
|
+
"Create own folders for each adapter": "Utwórz własne foldery dla każdego adaptera"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Instância do Whatsapp",
|
|
67
67
|
"Please choose the Whatsapp instance": "Escolha a instância do Whatsapp",
|
|
68
68
|
"Recipient (optional)": "Destinatário (opcional)",
|
|
69
|
-
"Choose your recipient": "Escolha seu destinatário"
|
|
69
|
+
"Choose your recipient": "Escolha seu destinatário",
|
|
70
|
+
"Offline message": "Mensagem off-line",
|
|
71
|
+
"Battery message": "Mensagem da bateria",
|
|
72
|
+
"Notification Service": "Serviço de notificação",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Aqui você pode escolher seu serviço de notificação. ",
|
|
74
|
+
"Choose your notification services": "Escolha seus serviços de notificação",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Crie pastas próprias para cada adaptador !!Não funciona ainda!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Se você gosta de ter para cada adaptador uma pasta própria com dados próprios",
|
|
77
|
+
"Please choose": "Por favor escolha",
|
|
78
|
+
"Create own folders for each adapter": "Crie pastas próprias para cada adaptador"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "WhatsApp экземпляр",
|
|
67
67
|
"Please choose the Whatsapp instance": "Пожалуйста, выберите экземпляр WhatsApp",
|
|
68
68
|
"Recipient (optional)": "Получатель (необязательно)",
|
|
69
|
-
"Choose your recipient": "Выберите получателя"
|
|
69
|
+
"Choose your recipient": "Выберите получателя",
|
|
70
|
+
"Offline message": "Офлайн сообщение",
|
|
71
|
+
"Battery message": "Сообщение о батарее",
|
|
72
|
+
"Notification Service": "Служба уведомлений",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "Здесь вы можете выбрать службу уведомлений. ",
|
|
74
|
+
"Choose your notification services": "Выберите свои службы уведомлений",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "Создайте свои папки для каждого адаптера !! Пока не работает !!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "Если вы хотите иметь для каждого адаптера собственную папку с собственными данными",
|
|
77
|
+
"Please choose": "Пожалуйста, выберите",
|
|
78
|
+
"Create own folders for each adapter": "Создайте свои папки для каждого адаптера"
|
|
70
79
|
}
|
|
@@ -66,5 +66,14 @@
|
|
|
66
66
|
"Whatsapp Instance": "Whatsapp 实例",
|
|
67
67
|
"Please choose the Whatsapp instance": "请选择 Whatsapp 实例",
|
|
68
68
|
"Recipient (optional)": "收件人(可选)",
|
|
69
|
-
"Choose your recipient": "选择您的收件人"
|
|
69
|
+
"Choose your recipient": "选择您的收件人",
|
|
70
|
+
"Offline message": "离线留言",
|
|
71
|
+
"Battery message": "电池信息",
|
|
72
|
+
"Notification Service": "通知服务",
|
|
73
|
+
"Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.": "在这里您可以选择您的通知服务。",
|
|
74
|
+
"Choose your notification services": "选择您的通知服务",
|
|
75
|
+
"Create own folders for each adapter !!Doesn't work yet!!": "为每个适配器创建自己的文件夹!!还不行!!",
|
|
76
|
+
"If you like to have for every Adapter an own folder with own data": "如果您希望每个适配器都有一个包含自己数据的文件夹",
|
|
77
|
+
"Please choose": "请选择",
|
|
78
|
+
"Create own folders for each adapter": "为每个适配器创建自己的文件夹"
|
|
70
79
|
}
|
|
Binary file
|
package/admin/images/list2.png
CHANGED
|
Binary file
|