iobroker.lorawan 1.19.27 → 1.19.28
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 +10 -18
- 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.19.28 (2026-01-16)
|
|
27
|
+
* (BenAhrdt) add logging possibility info, debug, warn, error to internal logging
|
|
28
|
+
|
|
26
29
|
### 1.19.27 (2026-01-15)
|
|
27
30
|
* (BenAhrdt) setting internal logging to debug path in bridge and query the json entries
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.28",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.19.28": {
|
|
7
|
+
"en": "add logging possibility info, debug, warn, error to internal logging",
|
|
8
|
+
"de": "hinzufügen von logging-möglichkeiten info, debug, warnen, fehler in der internen protokollierung",
|
|
9
|
+
"ru": "добавьте информацию о возможности регистрации, отладку, предупреждение, ошибку к внутренней регистрации",
|
|
10
|
+
"pt": "adicionar informações de possibilidade de registro, depurar, alertar, erro ao registro interno",
|
|
11
|
+
"nl": "log mogelijkheid info toevoegen, debug, waarschuwen, fout bij interne logging",
|
|
12
|
+
"fr": "ajouter des informations de possibilité de log, debug, avertissement, erreur à la log interne",
|
|
13
|
+
"it": "aggiungere informazioni possibilità di registrazione, debug, avvertire, errore di registrazione interna",
|
|
14
|
+
"es": "añadir información de la posibilidad de registro, depuración, aviso, error al registro interno",
|
|
15
|
+
"pl": "dodaj informacje o możliwości logowania, debugowanie, ostrzeganie, błąd logowania wewnętrznego",
|
|
16
|
+
"uk": "додайте інформацію про можливість входу, відхилити, попереджати, похибка до внутрішнього входу",
|
|
17
|
+
"zh-cn": "将记录可能性信息、调试、警告、错误添加到内部记录"
|
|
18
|
+
},
|
|
6
19
|
"1.19.27": {
|
|
7
20
|
"en": "setting internal logging to debug path in bridge and query the json entries",
|
|
8
21
|
"de": "interne protokollierung zum debug-pfad in der brücke einstellen und die json-einträge abfragen",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "zmiana Sprawdź getForeigen ObjectAsync do zagranicy ObjectExists (obiekty konfiguracyjne chek)",
|
|
81
94
|
"uk": "увійти Перевірити getForeigen Об'єкт Об'єктExists (пристрої налаштування)",
|
|
82
95
|
"zh-cn": "变动 检查是否获取 Foreigen 对象同步到外国 对象Exists (切克配置对象)"
|
|
83
|
-
},
|
|
84
|
-
"1.19.21": {
|
|
85
|
-
"en": "add color Termperature mode to foreign light config",
|
|
86
|
-
"de": "farbe hinzufügen Termperatur-Modus zu ausländischen Licht config",
|
|
87
|
-
"ru": "добавить цветовой режим термометрии в конфигурацию иностранного света",
|
|
88
|
-
"pt": "adicionar o modo de termos de cores à configuração de luz estrangeira",
|
|
89
|
-
"nl": "kleur Termperatuurmodus toevoegen aan vreemde lichtconfiguratie",
|
|
90
|
-
"fr": "ajouter le mode couleur Termperature à la configuration de la lumière étrangère",
|
|
91
|
-
"it": "aggiungere la modalità Termperature colore alla configurazione della luce straniera",
|
|
92
|
-
"es": "añadir el modo Termperature color a la luz extranjera",
|
|
93
|
-
"pl": "dodaj kolor Tryb termperature do konfigu światła obcego",
|
|
94
|
-
"uk": "додати кольоровий режим Termperature до зовнішньої конфігурації світла",
|
|
95
|
-
"zh-cn": "在外光配置中添加颜色"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -1209,11 +1209,9 @@ class bridgeClass {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
1211
1211
|
// Check for logging
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
);
|
|
1216
|
-
}
|
|
1212
|
+
this.adapter.log[this.adapter.logtypes.assign]?.(
|
|
1213
|
+
`Assign IdStructure for id: ${indexId}. Object: ${JSON.stringify(assignObject[indexId])}`,
|
|
1214
|
+
);
|
|
1217
1215
|
}
|
|
1218
1216
|
|
|
1219
1217
|
/*********************************************************************
|
|
@@ -1244,11 +1242,9 @@ class bridgeClass {
|
|
|
1244
1242
|
}
|
|
1245
1243
|
}
|
|
1246
1244
|
// Check for logging
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
);
|
|
1251
|
-
}
|
|
1245
|
+
this.adapter.log[this.adapter.logtypes.assign]?.(
|
|
1246
|
+
`Assign TopicStructure for Topic: ${indexTopic}. Object: ${JSON.stringify(assignObject[indexTopic])}`,
|
|
1247
|
+
);
|
|
1252
1248
|
}
|
|
1253
1249
|
|
|
1254
1250
|
/*********************************************************************
|
|
@@ -1361,11 +1357,9 @@ class bridgeClass {
|
|
|
1361
1357
|
// in case of delete entity => setting paylod = ''
|
|
1362
1358
|
// check for new device discovered, or new Id discovered
|
|
1363
1359
|
if (typeof DiscoveryObject.payload !== 'string') {
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
);
|
|
1368
|
-
}
|
|
1360
|
+
this.adapter.log[this.adapter.logtypes.discovery]?.(
|
|
1361
|
+
`Discover id: ${id} with Discoveryobject: ${JSON.stringify(DiscoveryObject)}`,
|
|
1362
|
+
);
|
|
1369
1363
|
// Payload is not empty => discover
|
|
1370
1364
|
const normalizedDeficeIdentifier = DiscoveryObject.payload.device.identifiers[0];
|
|
1371
1365
|
|
|
@@ -1402,9 +1396,7 @@ class bridgeClass {
|
|
|
1402
1396
|
returnValue.newId = DiscoveryObject;
|
|
1403
1397
|
}
|
|
1404
1398
|
} else {
|
|
1405
|
-
|
|
1406
|
-
this.adapter.log.warn(`Delete discover for id: ${id}`);
|
|
1407
|
-
}
|
|
1399
|
+
this.adapter.log[this.adapter.logtypes.discovery]?.(`Delete discover for id: ${id}`);
|
|
1408
1400
|
}
|
|
1409
1401
|
/******************************************************
|
|
1410
1402
|
* ****************************************************
|