iobroker.lorawan 1.18.21 → 1.18.22
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 +3 -0
- package/io-package.json +14 -14
- package/lib/modules/bridge.js +4 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ 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.18.22 (2025-11-26)
|
|
27
|
+
* (BenAhrdt) Bugfix message to brige with discovered device
|
|
28
|
+
|
|
26
29
|
### 1.18.21 (2025-11-26)
|
|
27
30
|
* (BenAhrdt) Bugfix reading value for light in puslish
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.22",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.22": {
|
|
7
|
+
"en": "Bugfix message to brige with discovered device",
|
|
8
|
+
"de": "Bugfix-Nachricht zu brige mit entdecktem Gerät",
|
|
9
|
+
"ru": "Сообщение Bugfix с обнаруженным устройством",
|
|
10
|
+
"pt": "Mensagem de correção de erros para o brige com o dispositivo descoberto",
|
|
11
|
+
"nl": "Bugfix-bericht naar Brugge met ontdekt apparaat",
|
|
12
|
+
"fr": "Message de bogue pour bricker avec le périphérique découvert",
|
|
13
|
+
"it": "Messaggio di Bugfix a brige con dispositivo scoperto",
|
|
14
|
+
"es": "Mensaje de Bugfix para cerrar con dispositivo descubierto",
|
|
15
|
+
"pl": "Komunikat Bugfix do przepłukiwania z odkrytym urządzeniem",
|
|
16
|
+
"uk": "Повідомлень про помилку при відкритті пристрою",
|
|
17
|
+
"zh-cn": "用已发现的设备绑定错误修正消息"
|
|
18
|
+
},
|
|
6
19
|
"1.18.21": {
|
|
7
20
|
"en": "Bugfix reading value for light in puslish",
|
|
8
21
|
"de": "Bugfix Lesewert für Licht in puslish",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "zmiana stanu pokrycia na niższy przypadek",
|
|
81
94
|
"uk": "змінити обкладинки станів в нижній випадок",
|
|
82
95
|
"zh-cn": "更改覆盖状态为小写"
|
|
83
|
-
},
|
|
84
|
-
"1.18.15": {
|
|
85
|
-
"en": "add '#' to normalized String",
|
|
86
|
-
"de": "'#' zu normalisieren String hinzufügen",
|
|
87
|
-
"ru": "добавить «#» в нормализованную строку",
|
|
88
|
-
"pt": "adicionar '#' à string normalizada",
|
|
89
|
-
"nl": "'#' toevoegen aan genormaliseerde tekenreeks",
|
|
90
|
-
"fr": "ajouter '#' à la chaîne normalisée",
|
|
91
|
-
"it": "aggiungere '#' a normalized String",
|
|
92
|
-
"es": "añadir '#' a la cuerda normalizada",
|
|
93
|
-
"pl": "dodaj '#' do znormalizowanego String",
|
|
94
|
-
"uk": "додати '#' для нормалізації String",
|
|
95
|
-
"zh-cn": "添加“ # ” 到正态字符串"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -1244,15 +1244,10 @@ class bridgeClass {
|
|
|
1244
1244
|
if (!this.oldDiscoveredDevices[normalizedDeficeIdentifier]) {
|
|
1245
1245
|
// Only messegae with ne fiscovered dewvice, if not in old discovered devices
|
|
1246
1246
|
returnValue.newDevice = DiscoveryObject;
|
|
1247
|
-
let device =
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
DiscoveryObject.informations.target &&
|
|
1252
|
-
DiscoveryObject.informations.target.usedDeviceId
|
|
1253
|
-
) {
|
|
1254
|
-
device = DiscoveryObject.informations.target.usedDeviceId;
|
|
1255
|
-
}
|
|
1247
|
+
let device =
|
|
1248
|
+
DiscoveryObject.informations.usedDeviceId ??
|
|
1249
|
+
DiscoveryObject.informations[0]?.usedDeviceId ??
|
|
1250
|
+
'unknown';
|
|
1256
1251
|
let message = `${this.adapter.i18nTranslation['new device discovered']}.\n${this.adapter.i18nTranslation['Device']}: ${device}`;
|
|
1257
1252
|
if (DiscoveryObject.informations.usedApplicationName) {
|
|
1258
1253
|
const application = DiscoveryObject.informations.usedApplicationName;
|