iobroker.lorawan 1.0.8 → 1.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 +6 -0
- package/admin/i18n/de/translations.json +4 -1
- package/admin/i18n/en/translations.json +4 -1
- package/admin/i18n/es/translations.json +4 -1
- package/admin/i18n/fr/translations.json +4 -1
- package/admin/i18n/it/translations.json +4 -1
- package/admin/i18n/nl/translations.json +4 -1
- package/admin/i18n/pl/translations.json +4 -1
- package/admin/i18n/pt/translations.json +4 -1
- package/admin/i18n/ru/translations.json +4 -1
- package/admin/i18n/uk/translations.json +4 -1
- package/admin/i18n/zh-cn/translations.json +4 -1
- package/admin/jsonConfig.json +18 -3
- package/io-package.json +27 -27
- package/lib/modules/messagehandler.js +0 -1
- package/lib/modules/mqttclient.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,12 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
23
23
|
Placeholder for the next version (at the beginning of the line):
|
|
24
24
|
### **WORK IN PROGRESS**
|
|
25
25
|
-->
|
|
26
|
+
### 1.1.0 (2024-05-12)
|
|
27
|
+
* (BenAhrdt) implement keepalive in config
|
|
28
|
+
|
|
29
|
+
### 1.0.9 (2024-05-11)
|
|
30
|
+
* (BenAhrdt) remove debug warn logging
|
|
31
|
+
|
|
26
32
|
### 1.0.8 (2024-05-11)
|
|
27
33
|
* (BenAhrdt) set keepalive value to 0 => deactivate automatic reconnection
|
|
28
34
|
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "Maximum begrenzen",
|
|
70
70
|
"limitMaxTooltip": "Begrenzt die Möglichkeit von Eingaben in positiver Richtung ein",
|
|
71
71
|
"limitMaxValue": "Maximalwert",
|
|
72
|
-
"limitMaxValueTooltip": "Geben Sie den Grenzwert in positiver Richtung ein"
|
|
72
|
+
"limitMaxValueTooltip": "Geben Sie den Grenzwert in positiver Richtung ein",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "Geben Sie die Zeit in Sekunden für die Keepalive-Funktion ein",
|
|
75
|
+
"unused": "ungenutzt"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "limit max.",
|
|
70
70
|
"limitMaxTooltip": "limits the possibility of inputs in positive direction",
|
|
71
71
|
"limitMaxValue": "max. value",
|
|
72
|
-
"limitMaxValueTooltip": "input the limit in positive direction"
|
|
72
|
+
"limitMaxValueTooltip": "input the limit in positive direction",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "input the time in seconds for keepalive function",
|
|
75
|
+
"unused": "unused"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "límite máx.",
|
|
70
70
|
"limitMaxTooltip": "limita la posibilidad de entradas en dirección positiva",
|
|
71
71
|
"limitMaxValue": "máx. valor",
|
|
72
|
-
"limitMaxValueTooltip": "Introduzca el límite en dirección positiva."
|
|
72
|
+
"limitMaxValueTooltip": "Introduzca el límite en dirección positiva.",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "ingrese el tiempo en segundos para la función keepalive",
|
|
75
|
+
"unused": "no usado"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "limite max.",
|
|
70
70
|
"limitMaxTooltip": "limite la possibilité d'entrées dans le sens positif",
|
|
71
71
|
"limitMaxValue": "maximum. valeur",
|
|
72
|
-
"limitMaxValueTooltip": "saisir la limite dans le sens positif"
|
|
72
|
+
"limitMaxValueTooltip": "saisir la limite dans le sens positif",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "entrez le temps en secondes pour la fonction keepalive",
|
|
75
|
+
"unused": "inutilisé"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "limite massimo",
|
|
70
70
|
"limitMaxTooltip": "limita la possibilità di input in direzione positiva",
|
|
71
71
|
"limitMaxValue": "massimo valore",
|
|
72
|
-
"limitMaxValueTooltip": "inserire il limite in direzione positiva"
|
|
72
|
+
"limitMaxValueTooltip": "inserire il limite in direzione positiva",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "inserire il tempo in secondi per la funzione keepalive",
|
|
75
|
+
"unused": "inutilizzato"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "limiet max.",
|
|
70
70
|
"limitMaxTooltip": "beperkt de mogelijkheid van input in positieve richting",
|
|
71
71
|
"limitMaxValue": "maximaal waarde",
|
|
72
|
-
"limitMaxValueTooltip": "voer de limiet in positieve richting in"
|
|
72
|
+
"limitMaxValueTooltip": "voer de limiet in positieve richting in",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "voer de tijd in seconden in voor de keepalive-functie",
|
|
75
|
+
"unused": "ongebruikt"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "ograniczenie maks.",
|
|
70
70
|
"limitMaxTooltip": "ogranicza możliwość wprowadzania danych w kierunku dodatnim",
|
|
71
71
|
"limitMaxValue": "maks. wartość",
|
|
72
|
-
"limitMaxValueTooltip": "wprowadź limit w kierunku dodatnim"
|
|
72
|
+
"limitMaxValueTooltip": "wprowadź limit w kierunku dodatnim",
|
|
73
|
+
"keepalive": "utrzymać przy życiu",
|
|
74
|
+
"keepaliveTooltip": "wprowadź czas w sekundach dla funkcji utrzymywania aktywności",
|
|
75
|
+
"unused": "nie używany"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "limite máx.",
|
|
70
70
|
"limitMaxTooltip": "limita a possibilidade de entradas na direção positiva",
|
|
71
71
|
"limitMaxValue": "máx. valor",
|
|
72
|
-
"limitMaxValueTooltip": "insira o limite na direção positiva"
|
|
72
|
+
"limitMaxValueTooltip": "insira o limite na direção positiva",
|
|
73
|
+
"keepalive": "keepalive",
|
|
74
|
+
"keepaliveTooltip": "insira o tempo em segundos para a função keepalive",
|
|
75
|
+
"unused": "não utilizado"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "предел макс.",
|
|
70
70
|
"limitMaxTooltip": "ограничивает возможность ввода в положительном направлении",
|
|
71
71
|
"limitMaxValue": "Макс. ценить",
|
|
72
|
-
"limitMaxValueTooltip": "введите предел в положительном направлении"
|
|
72
|
+
"limitMaxValueTooltip": "введите предел в положительном направлении",
|
|
73
|
+
"keepalive": "поддерживать активность",
|
|
74
|
+
"keepaliveTooltip": "введите время в секундах для функции поддержки активности",
|
|
75
|
+
"unused": "неиспользованный"
|
|
73
76
|
}
|
|
@@ -69,5 +69,8 @@
|
|
|
69
69
|
"limitMax": "обмеження макс.",
|
|
70
70
|
"limitMaxTooltip": "обмежує можливість входів у позитивному напрямку",
|
|
71
71
|
"limitMaxValue": "макс. значення",
|
|
72
|
-
"limitMaxValueTooltip": "введіть межу в позитивному напрямку"
|
|
72
|
+
"limitMaxValueTooltip": "введіть межу в позитивному напрямку",
|
|
73
|
+
"keepalive": "залишатися живим",
|
|
74
|
+
"keepaliveTooltip": "введіть час у секундах для функції підтримки активності",
|
|
75
|
+
"unused": "невикористаний"
|
|
73
76
|
}
|
package/admin/jsonConfig.json
CHANGED
|
@@ -85,7 +85,22 @@
|
|
|
85
85
|
{"label":"Chirpstack","value":"chirpstack"}
|
|
86
86
|
],
|
|
87
87
|
"default": "ttn",
|
|
88
|
-
"sm":
|
|
88
|
+
"sm":2
|
|
89
|
+
},
|
|
90
|
+
"keepalive":{
|
|
91
|
+
"type": "select",
|
|
92
|
+
"label": "keepalive",
|
|
93
|
+
"tooltip": "keepaliveTooltip",
|
|
94
|
+
"options": [
|
|
95
|
+
{"label":"unused","value":0},
|
|
96
|
+
{"label":"60s","value":60},
|
|
97
|
+
{"label":"120s","value":120},
|
|
98
|
+
{"label":"180s","value":180},
|
|
99
|
+
{"label":"240s","value":240},
|
|
100
|
+
{"label":"300s","value":300}
|
|
101
|
+
],
|
|
102
|
+
"default": 0,
|
|
103
|
+
"sm":2
|
|
89
104
|
}
|
|
90
105
|
}
|
|
91
106
|
},
|
|
@@ -355,7 +370,7 @@
|
|
|
355
370
|
"tooltip": "limitMinTooltip",
|
|
356
371
|
"hidden": "data.type !== 'number'",
|
|
357
372
|
"default": false,
|
|
358
|
-
"sm":
|
|
373
|
+
"sm":2
|
|
359
374
|
},
|
|
360
375
|
{
|
|
361
376
|
"type": "number",
|
|
@@ -373,7 +388,7 @@
|
|
|
373
388
|
"tooltip": "limitMaxTooltip",
|
|
374
389
|
"hidden": "data.type !== 'number'",
|
|
375
390
|
"default": false,
|
|
376
|
-
"sm":
|
|
391
|
+
"sm":2
|
|
377
392
|
},
|
|
378
393
|
{
|
|
379
394
|
"type": "number",
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.1.0": {
|
|
7
|
+
"en": "implement keepalive in config",
|
|
8
|
+
"de": "betreuen in config",
|
|
9
|
+
"ru": "реализуй сохранение в настройке",
|
|
10
|
+
"pt": "implementar manter em config",
|
|
11
|
+
"nl": "keepalive in config implementeren",
|
|
12
|
+
"fr": "mettre en œuvre keepalive in config",
|
|
13
|
+
"it": "implementare manalive in config",
|
|
14
|
+
"es": "mantenimiento de implementos en config",
|
|
15
|
+
"pl": "implementation keeplive in config",
|
|
16
|
+
"uk": "реалізація конфіденційності в конфігурації",
|
|
17
|
+
"zh-cn": "在配置中执行保存"
|
|
18
|
+
},
|
|
19
|
+
"1.0.9": {
|
|
20
|
+
"en": "remove debug warn logging",
|
|
21
|
+
"de": "debug warnen protokoll entfernen",
|
|
22
|
+
"ru": "удалить отладку предупредить",
|
|
23
|
+
"pt": "remover debug avisar o registro",
|
|
24
|
+
"nl": "debug-waarschuwing verwijderen",
|
|
25
|
+
"fr": "supprimer l'avertissement de débogage",
|
|
26
|
+
"it": "rimuovere debug avvertire logging",
|
|
27
|
+
"es": "eliminar debug registro de advertencia",
|
|
28
|
+
"pl": "usuń alarm debugowania logowanie",
|
|
29
|
+
"uk": "видалити debug попередження",
|
|
30
|
+
"zh-cn": "删除调试警告日志"
|
|
31
|
+
},
|
|
6
32
|
"1.0.8": {
|
|
7
33
|
"en": "set keepalive value to 0 => deactivate automatic reconnection",
|
|
8
34
|
"de": "festhaltenswert auf 0 gesetzt => deaktivieren der automatischen wiederverbindung",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "zmieniony czas ikon i offline",
|
|
68
94
|
"uk": "змінена ікона і в автономному режимі",
|
|
69
95
|
"zh-cn": "更改图标和离线时间"
|
|
70
|
-
},
|
|
71
|
-
"1.0.3": {
|
|
72
|
-
"en": "notifications for connection and disconnection LNS added\nnotifiction for device offline added",
|
|
73
|
-
"de": "benachrichtigungen für Anschluss und Abschaltung LNS hinzugefügt\nnotification für gerät offline hinzugefügt",
|
|
74
|
-
"ru": "уведомления для подключения и отключения\nnotification for device offline added",
|
|
75
|
-
"pt": "notificações para conexão e desconexão LNS adicionado\nnotificação para dispositivo offline adicionado",
|
|
76
|
-
"nl": "meldingen voor verbinding en loskoppeling LNS toegevoegd\nnotatie voor apparaat offline toegevoegd",
|
|
77
|
-
"fr": "notifications pour connexion et déconnexion LNS ajoutées\nnotifition pour périphérique hors ligne ajouté",
|
|
78
|
-
"it": "notifiche per connessione e disconnessione LNS aggiunto\nnotifica per dispositivo offline aggiunto",
|
|
79
|
-
"es": "notificaciones para conexión y desconexión LNS añadido\nnotifiction para dispositivo offline añadido",
|
|
80
|
-
"pl": "powiadomienia o dodanych LNS podłączenia i odłączenia\nname",
|
|
81
|
-
"uk": "повідомлення про підключення та відключення LNS додано\nдодано невідповідність пристрою",
|
|
82
|
-
"zh-cn": "添加连接和断开LNS的通知\n设备下线通知已添加"
|
|
83
|
-
},
|
|
84
|
-
"1.0.2": {
|
|
85
|
-
"en": "change some comments and logging",
|
|
86
|
-
"de": "einige kommentare und protokollierung ändern",
|
|
87
|
-
"ru": "изменить некоторые комментарии и блог",
|
|
88
|
-
"pt": "alterar alguns comentários e logar",
|
|
89
|
-
"nl": "sommige opmerkingen en loggen wijzigen",
|
|
90
|
-
"fr": "modifier certains commentaires et l'enregistrement",
|
|
91
|
-
"it": "cambiare alcuni commenti e logging",
|
|
92
|
-
"es": "cambiar algunos comentarios y registro",
|
|
93
|
-
"pl": "zmienić niektóre komentarze i logowanie",
|
|
94
|
-
"uk": "змінити деякі коментарі та журналювання",
|
|
95
|
-
"zh-cn": "更改一些注释和记录"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -61,7 +61,6 @@ class messagehandlerClass {
|
|
|
61
61
|
const deviceObject = await this.adapter.getObjectAsync(deviceId);
|
|
62
62
|
// Set foldericon to low / no connection
|
|
63
63
|
if(deviceObject){
|
|
64
|
-
this.adapter.log.warn(JSON.stringify(deviceObject));
|
|
65
64
|
deviceObject.common.icon = "icons/offline.png";
|
|
66
65
|
await this.adapter.setObjectAsync(deviceId,deviceObject);
|
|
67
66
|
}
|
|
@@ -9,7 +9,7 @@ class mqttClientClass {
|
|
|
9
9
|
username: settings.username,
|
|
10
10
|
password: settings.password,
|
|
11
11
|
clientId: `iobroker_${this.adapter.namespace}`,
|
|
12
|
-
keepalive:
|
|
12
|
+
keepalive: settings.keepalive
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
// Variables for correct connection (disconnection) notification / logging
|