iobroker.device-watcher 0.0.8 → 0.2.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,7 +4,12 @@
4
4
  [![NPM version](https://img.shields.io/npm/v/iobroker.device-watcher.svg)](https://www.npmjs.com/package/iobroker.device-watcher)
5
5
  [![Downloads](https://img.shields.io/npm/dm/iobroker.device-watcher.svg)](https://www.npmjs.com/package/iobroker.device-watcher)
6
6
  ![Number of Installations](https://iobroker.live/badges/device-watcher-installed.svg)
7
- ![Current version in stable repository](https://iobroker.live/badges/device-watcher-stable.svg)
7
+ <!--![Current version in stable repository](https://iobroker.live/badges/device-watcher-stable.svg)-->
8
+ [![GitHub license](https://img.shields.io/github/license/ciddi89/ioBroker.device-watcher)](https://github.com/ciddi89/ioBroker.device-watcher/blob/main/LICENSE)
9
+ ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/ciddi89/ioBroker.device-watcher)
10
+ ![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/v0.2.0)
11
+ ![GitHub last commit](https://img.shields.io/github/last-commit/ciddi89/ioBroker.device-watcher)
12
+ ![GitHub issues](https://img.shields.io/github/issues/ciddi89/ioBroker.device-watcher)
8
13
 
9
14
  [![NPM](https://nodei.co/npm/iobroker.device-watcher.png?downloads=true)](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. It works currently with the Zigbee, Shelly, Sonoff and Ble adapter (mi flora plant sensor). The adapter looks every sixty 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.
16
-
17
- 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. Currently supported notification services are Pushover, Telegram and Jarvis Notification.
18
-
19
- If you found a bug or you have an improvement suggestion, feel free to open an issue.
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
  ![add_blacklist.png](admin/images/add_blacklist.png)
26
59
 
60
+ ### Example images of Pushover notification:
61
+
62
+ ![noti_push.jpeg](admin/images/noti_push.jpeg)
63
+ ![noti_push2.jpeg](admin/images/noti_push2.jpeg)
64
+
27
65
  ### Here are some images how the lists look:
28
66
 
29
67
  ![list1.png](admin/images/list1.png)
@@ -36,6 +74,24 @@ 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.0 (2022-07-24)
78
+ - added function to create data of each adapter
79
+
80
+ ### 0.1.2 (2022-07-22)
81
+
82
+ - improved overview of admin ui
83
+ - added option in admin ui to create own folders for each adapter (!!not working yet!!)
84
+
85
+ ### 0.1.1 (2022-07-22)
86
+
87
+ - changed wrong type of datapoint lastCheck
88
+ - added possibility to choose own offline time for each adapter
89
+ - added Whatsapp notification services
90
+ - improved sonoff devices
91
+ - added row with online and offline status in table allDevices
92
+ - added alexa2 and esphome devices
93
+ - Added priority for pushover notifications
94
+
39
95
  ### 0.0.8 (2022-07-05)
40
96
 
41
97
  - added own notes field for blacklist
@@ -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 der Akku eines Gerätes schwach ist",
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",
@@ -44,5 +44,26 @@
44
44
  "Choose your Chat-ID": "Wählen Sie Ihre Chat-ID",
45
45
  "Add own notes, name, etc": "Fügen Sie eigene Notizen, Namen usw. hinzu",
46
46
  "List only devices with battery": "Nur Geräte mit Akku auflisten",
47
- "Choose if only devices with battery should be listed or all devices": "Wählen Sie, ob nur Geräte mit Akku aufgelistet werden sollen oder alle Geräte"
47
+ "Choose if only devices with battery should be listed or all devices": "Wählen Sie, ob nur Geräte mit Akku aufgelistet werden sollen oder alle Geräte",
48
+ "Choose the priority": "Wählen Sie die Priorität",
49
+ "High Priority": "Hohe Priorität",
50
+ "With confirmation": "Mit Bestätigung",
51
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Verwenden Sie den wahren Zustand aus dem Qualitätszustand, sonst wird er in Prozentwerte umgewandelt.",
52
+ "Offline Time": "Offline-Zeit",
53
+ "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.": "Hier können Sie die Offline-Zeit der Geräte für jeden Adapter auswählen. Wenn auf „-1“ gesetzt, verwendet der Adapter den Datenpunkt available, reachable, alive usw. wenn das Gerät einen davon hat.",
54
+ "Choose the day(s) where you want to get the message of low battery:": "Wählen Sie den/die Tag(e), an dem/denen Sie die Meldung über schwache Batterie erhalten möchten:",
55
+ "Here you can choose the offline time of devices for each adapter. ": "Hier können Sie die Offline-Zeit der Geräte für jeden Adapter auswählen.",
56
+ "Whatsapp Instance": "WhatsApp-Instanz",
57
+ "Please choose the Whatsapp instance": "Bitte wählen Sie die WhatsApp-Instanz aus",
58
+ "Recipient (optional)": "Empfänger (optional)",
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"
48
69
  }
@@ -26,10 +26,17 @@
26
26
  "Device-ID (optional)": "Device-ID (optional)",
27
27
  "Choose your device": "Choose your device",
28
28
  "Title (optional)": "Title (optional)",
29
+ "Choose the priority": "Choose the priority",
30
+ "High Priority": "High Priority",
31
+ "With confirmation": "With confirmation",
29
32
  "Choose your title for Pushmessage": "Choose your title for Pushmessage",
30
33
  "Telegram Instance": "Telegram Instance",
31
34
  "Please choose the telegram instance": "Please choose the telegram instance",
32
35
  "Choose your Chat-ID": "Choose your Chat-ID",
36
+ "Whatsapp Instance": "Whatsapp Instance",
37
+ "Please choose the Whatsapp instance": "Please choose the Whatsapp instance",
38
+ "Recipient (optional)": "Recipient (optional)",
39
+ "Choose your recipient": "Choose your recipient",
33
40
  "Jarvis Instance": "Jarvis Instance",
34
41
  "Please choose the jarvis instance": "Please choose the jarvis instance",
35
42
  "Choose which devices should be excluded": "Choose which devices should be excluded",
@@ -44,5 +51,17 @@
44
51
  "Please choose the lovelace instance": "Please choose the lovelace instance",
45
52
  "Add own notes, name, etc": "Add own notes, name, etc",
46
53
  "List only devices with battery": "List only devices with battery",
47
- "Choose if only devices with battery should be listed or all devices": "Choose if only devices with battery should be listed or all devices"
54
+ "Choose if only devices with battery should be listed or all devices": "Choose if only devices with battery should be listed or all devices",
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
+ "Offline Time": "Offline Time",
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:",
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"
48
67
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Elija su ID de chat",
53
53
  "Add own notes, name, etc": "Agregar notas propias, nombre, etc.",
54
54
  "List only devices with battery": "Listar solo dispositivos con batería",
55
- "Choose if only devices with battery should be listed or all devices": "Elija si solo deben aparecer en la lista los dispositivos con batería o todos los dispositivos"
55
+ "Choose if only devices with battery should be listed or all devices": "Elija si solo deben aparecer en la lista los dispositivos con batería o todos los dispositivos",
56
+ "Choose the priority": "Elige la prioridad",
57
+ "High Priority": "Alta prioridad",
58
+ "With confirmation": "Con confirmación",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Utilice el estado verdadero del estado de calidad; de lo contrario, se convertirá en valor porcentual.",
60
+ "Offline Time": "Tiempo fuera de línea",
61
+ "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.": "Aquí puede elegir el tiempo sin conexión de los dispositivos para cada adaptador. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Elige el/los día(s) en los que quieres recibir el mensaje de batería baja:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Aquí puede elegir el tiempo sin conexión de los dispositivos para cada adaptador.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Si se establece en '-1', el adaptador utilizará el punto de datos disponible, accesible, activo, etc.",
65
+ "when the device has one of these.": "cuando el dispositivo tiene uno de estos.",
66
+ "Whatsapp Instance": "Instancia de Whatsapp",
67
+ "Please choose the Whatsapp instance": "Elija la instancia de Whatsapp",
68
+ "Recipient (optional)": "Destinatario (opcional)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Choisissez votre identifiant de chat",
53
53
  "Add own notes, name, etc": "Ajoutez vos propres notes, nom, etc.",
54
54
  "List only devices with battery": "Répertorier uniquement les appareils avec batterie",
55
- "Choose if only devices with battery should be listed or all devices": "Choisissez si seuls les appareils avec batterie doivent être répertoriés ou tous les appareils"
55
+ "Choose if only devices with battery should be listed or all devices": "Choisissez si seuls les appareils avec batterie doivent être répertoriés ou tous les appareils",
56
+ "Choose the priority": "Choisissez la priorité",
57
+ "High Priority": "Haute priorité",
58
+ "With confirmation": "Avec confirmation",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Utilisez l'état réel de l'état de qualité, sinon il sera converti en pourcentage.",
60
+ "Offline Time": "Temps hors ligne",
61
+ "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.": "Ici, vous pouvez choisir le temps hors ligne des appareils pour chaque adaptateur. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Choisissez le(s) jour(s) où vous souhaitez recevoir le message de batterie faible :",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Ici, vous pouvez choisir le temps hors ligne des appareils pour chaque adaptateur.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "S'il est défini sur '-1', l'adaptateur utilisera le point de données disponible, accessible, actif, etc.",
65
+ "when the device has one of these.": "lorsque l'appareil en possède un.",
66
+ "Whatsapp Instance": "Instance Whatsapp",
67
+ "Please choose the Whatsapp instance": "Veuillez choisir l'instance Whatsapp",
68
+ "Recipient (optional)": "Destinataire (facultatif)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Scegli il tuo ID chat",
53
53
  "Add own notes, name, etc": "Aggiungi le proprie note, nome, ecc",
54
54
  "List only devices with battery": "Elenca solo i dispositivi con batteria",
55
- "Choose if only devices with battery should be listed or all devices": "Scegli se devono essere elencati solo i dispositivi con batteria o tutti i dispositivi"
55
+ "Choose if only devices with battery should be listed or all devices": "Scegli se devono essere elencati solo i dispositivi con batteria o tutti i dispositivi",
56
+ "Choose the priority": "Scegli la priorità",
57
+ "High Priority": "Priorità alta",
58
+ "With confirmation": "Con conferma",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Usa lo stato vero dallo stato di qualità, altrimenti verrà convertito in valore percentuale.",
60
+ "Offline Time": "Tempo offline",
61
+ "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.": "Qui puoi scegliere il tempo offline dei dispositivi per ciascun adattatore. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Scegli i giorni in cui desideri ricevere il messaggio di batteria scarica:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Qui puoi scegliere il tempo offline dei dispositivi per ciascun adattatore.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Se impostato su '-1', l'adattatore utilizzerà il punto dati disponibile, raggiungibile, vivo ecc.",
65
+ "when the device has one of these.": "quando il dispositivo ne ha uno.",
66
+ "Whatsapp Instance": "Istanza Whatsapp",
67
+ "Please choose the Whatsapp instance": "Scegli l'istanza di Whatsapp",
68
+ "Recipient (optional)": "Destinatario (facoltativo)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Kies je Chat-ID",
53
53
  "Add own notes, name, etc": "Eigen notities, naam, enz. toevoegen",
54
54
  "List only devices with battery": "Alleen apparaten met batterij weergeven",
55
- "Choose if only devices with battery should be listed or all devices": "Kies of alleen apparaten met batterij moeten worden vermeld of alle apparaten"
55
+ "Choose if only devices with battery should be listed or all devices": "Kies of alleen apparaten met batterij moeten worden vermeld of alle apparaten",
56
+ "Choose the priority": "Kies de prioriteit",
57
+ "High Priority": "Hoge prioriteit",
58
+ "With confirmation": "Met bevestiging",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Gebruik de ware staat van de kwaliteitsstatus, anders wordt deze omgezet in procentuele waarde.",
60
+ "Offline Time": "Offline tijd",
61
+ "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.": "Hier kunt u voor elke adapter de offline tijd van apparaten kiezen. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Kies de dag(en) waarop u de melding batterij bijna leeg wilt krijgen:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Hier kunt u voor elke adapter de offline tijd van apparaten kiezen.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Indien ingesteld op '-1', gebruikt de adapter het beschikbare, bereikbare, actieve enz. Datapunt.",
65
+ "when the device has one of these.": "wanneer het apparaat een van deze heeft.",
66
+ "Whatsapp Instance": "Whatsapp-instantie",
67
+ "Please choose the Whatsapp instance": "Kies de WhatsApp-instantie",
68
+ "Recipient (optional)": "Ontvanger (optioneel)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Wybierz swój identyfikator czatu",
53
53
  "Add own notes, name, etc": "Dodaj własne notatki, imię itp.",
54
54
  "List only devices with battery": "Wyświetlaj tylko urządzenia z baterią",
55
- "Choose if only devices with battery should be listed or all devices": "Wybierz, czy mają być wyświetlane tylko urządzenia z baterią, czy wszystkie urządzenia"
55
+ "Choose if only devices with battery should be listed or all devices": "Wybierz, czy mają być wyświetlane tylko urządzenia z baterią, czy wszystkie urządzenia",
56
+ "Choose the priority": "Wybierz priorytet",
57
+ "High Priority": "Wysoki priorytet",
58
+ "With confirmation": "Z potwierdzeniem",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Użyj prawdziwego stanu ze stanu jakości, w przeciwnym razie zostanie przekonwertowany w wartości procentowej.",
60
+ "Offline Time": "Czas offline",
61
+ "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.": "Tutaj możesz wybrać czas offline urządzeń dla każdego adaptera. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Wybierz dzień lub dni, w których chcesz otrzymać komunikat o niskim poziomie baterii:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Tutaj możesz wybrać czas offline urządzeń dla każdego adaptera.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Jeśli ustawiono na „-1”, adapter użyje dostępnego, osiągalnego, aktywnego itp. punktu danych.",
65
+ "when the device has one of these.": "gdy urządzenie ma jeden z nich.",
66
+ "Whatsapp Instance": "Instancja Whatsapp",
67
+ "Please choose the Whatsapp instance": "Wybierz instancję Whatsapp",
68
+ "Recipient (optional)": "Odbiorca (opcjonalnie)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Escolha seu Chat-ID",
53
53
  "Add own notes, name, etc": "Adicione notas próprias, nome, etc.",
54
54
  "List only devices with battery": "Listar apenas dispositivos com bateria",
55
- "Choose if only devices with battery should be listed or all devices": "Escolha se apenas os dispositivos com bateria devem ser listados ou todos os dispositivos"
55
+ "Choose if only devices with battery should be listed or all devices": "Escolha se apenas os dispositivos com bateria devem ser listados ou todos os dispositivos",
56
+ "Choose the priority": "Escolha a prioridade",
57
+ "High Priority": "Prioridade máxima",
58
+ "With confirmation": "Com confirmação",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Use o estado verdadeiro do estado de qualidade, caso contrário, ele será convertido em valor percentual.",
60
+ "Offline Time": "Tempo off-line",
61
+ "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.": "Aqui você pode escolher o tempo offline dos dispositivos para cada adaptador. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Escolha o(s) dia(s) em que deseja receber a mensagem de bateria fraca:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Aqui você pode escolher o tempo offline dos dispositivos para cada adaptador.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Se definido como '-1', o adaptador usará o ponto de dados disponível, alcançável, ativo etc.",
65
+ "when the device has one of these.": "quando o dispositivo tem um destes.",
66
+ "Whatsapp Instance": "Instância do Whatsapp",
67
+ "Please choose the Whatsapp instance": "Escolha a instância do Whatsapp",
68
+ "Recipient (optional)": "Destinatário (opcional)",
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"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "Выберите свой идентификатор чата",
53
53
  "Add own notes, name, etc": "Добавляйте собственные заметки, имя и т. д.",
54
54
  "List only devices with battery": "Список только устройств с аккумулятором",
55
- "Choose if only devices with battery should be listed or all devices": "Выберите, должны ли быть перечислены только устройства с аккумулятором или все устройства"
55
+ "Choose if only devices with battery should be listed or all devices": "Выберите, должны ли быть перечислены только устройства с аккумулятором или все устройства",
56
+ "Choose the priority": "Выберите приоритет",
57
+ "High Priority": "Высокий приоритет",
58
+ "With confirmation": "С подтверждением",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "Используйте истинное состояние из состояния качества, иначе оно будет преобразовано в процентное значение.",
60
+ "Offline Time": "Время автономной работы",
61
+ "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.": "Здесь вы можете выбрать время автономной работы устройств для каждого адаптера. ",
62
+ "Choose the day(s) where you want to get the message of low battery:": "Выберите день (дни), когда вы хотите получать сообщение о низком заряде батареи:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "Здесь вы можете выбрать время автономной работы устройств для каждого адаптера.",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "Если установлено значение «-1», адаптер будет использовать доступную, достижимую, активную точку данных и т. д.",
65
+ "when the device has one of these.": "когда устройство имеет один из них.",
66
+ "Whatsapp Instance": "WhatsApp экземпляр",
67
+ "Please choose the Whatsapp instance": "Пожалуйста, выберите экземпляр WhatsApp",
68
+ "Recipient (optional)": "Получатель (необязательно)",
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": "Создайте свои папки для каждого адаптера"
56
79
  }
@@ -52,5 +52,28 @@
52
52
  "Choose your Chat-ID": "选择您的聊天 ID",
53
53
  "Add own notes, name, etc": "添加自己的注释、姓名等",
54
54
  "List only devices with battery": "仅列出带电池的设备",
55
- "Choose if only devices with battery should be listed or all devices": "选择是否应仅列出带电池的设备或所有设备"
55
+ "Choose if only devices with battery should be listed or all devices": "选择是否应仅列出带电池的设备或所有设备",
56
+ "Choose the priority": "选择优先级",
57
+ "High Priority": "高优先级",
58
+ "With confirmation": "经确认",
59
+ "Use the true state from quality state, otherwise it will be converted in percent value.": "使用质量状态中的真实状态,否则将转换为百分比值。",
60
+ "Offline Time": "离线时间",
61
+ "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.": "您可以在此处为每个适配器选择设备的离线时间。",
62
+ "Choose the day(s) where you want to get the message of low battery:": "选择您希望收到电池电量不足消息的日期:",
63
+ "Here you can choose the offline time of devices for each adapter. ": "您可以在此处为每个适配器选择设备的离线时间。",
64
+ "If set to '-1', the adapter will use the datapoint available, reachable, alive etc.": "如果设置为“-1”,适配器将使用可用、可达、活动等数据点。",
65
+ "when the device has one of these.": "当设备具有其中之一时。",
66
+ "Whatsapp Instance": "Whatsapp 实例",
67
+ "Please choose the Whatsapp instance": "请选择 Whatsapp 实例",
68
+ "Recipient (optional)": "收件人(可选)",
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": "为每个适配器创建自己的文件夹"
56
79
  }
Binary file
Binary file
@@ -14,50 +14,16 @@
14
14
  <script type="text/javascript" src="../../js/adapter-settings.js"></script>
15
15
 
16
16
  <!-- Load our own files -->
17
- <link rel="stylesheet" type="text/css" href="style.css" />
18
- <script type="text/javascript" src="words.js"></script>
19
17
 
20
18
  <script type="text/javascript">
21
19
  // This will be called by the admin adapter when the settings page loads
22
20
  function load(settings, onChange) {
23
- // example: select elements with id=key and class=value and insert value
24
- if (!settings) return;
25
- $('.value').each(function () {
26
- var $key = $(this);
27
- var id = $key.attr('id');
28
- if ($key.attr('type') === 'checkbox') {
29
- // do not call onChange direct, because onChange could expect some arguments
30
- $key.prop('checked', settings[id])
31
- .on('change', () => onChange())
32
- ;
33
- } else {
34
- // do not call onChange direct, because onChange could expect some arguments
35
- $key.val(settings[id])
36
- .on('change', () => onChange())
37
- .on('keyup', () => onChange())
38
- ;
39
- }
40
- });
41
- onChange(false);
42
- // reinitialize all the Materialize labels on the page if you are dynamically adding inputs:
43
- if (M) M.updateTextFields();
21
+
44
22
  }
45
23
 
46
24
  // This will be called by the admin adapter when the user presses the save button
47
25
  function save(callback) {
48
- // example: select elements with class=value and build settings object
49
- var obj = {};
50
- $('.value').each(function () {
51
- var $this = $(this);
52
- if ($this.attr('type') === 'checkbox') {
53
- obj[$this.attr('id')] = $this.prop('checked');
54
- } else if ($this.attr('type') === 'number') {
55
- obj[$this.attr('id')] = parseFloat($this.val());
56
- } else {
57
- obj[$this.attr('id')] = $this.val();
58
- }
59
- });
60
- callback(obj);
26
+
61
27
  }
62
28
  </script>
63
29
 
@@ -75,16 +41,11 @@
75
41
 
76
42
  <!-- Put your content here -->
77
43
 
78
- <!-- For example columns with settings: -->
79
44
  <div class="row">
80
- <div class="col s6 input-field">
81
- <input type="checkbox" class="value" id="option1" />
82
- <label for="option1" class="translate">option1</label>
83
- </div>
84
-
85
- <div class="col s6 input-field">
86
- <input type="text" class="value" id="option2" />
87
- <label for="option2" class="translate">option2</label>
45
+ <div class="col s12">
46
+ <p style="font-weight: bold; font-size: 1.2em; color: red;">
47
+ This adapter version has no support for "Admin 4" configuration. Please switch to "Admin 5" UI or downgrade to an older version (see changelog for details).
48
+ </p>
88
49
  </div>
89
50
  </div>
90
51