iobroker.lorawan 1.20.9 → 1.20.10
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/main.js +7 -7
- 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.20.10 (2026-01-26)
|
|
27
|
+
* (BenAhrdt) return to root getCnageInfo
|
|
28
|
+
|
|
26
29
|
### 1.20.9 (2026-01-26)
|
|
27
30
|
* (BenAhrdt) experimental for form
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.10",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.20.10": {
|
|
7
|
+
"en": "return to root getCnageInfo",
|
|
8
|
+
"de": "zurück zu root getCnageInfo",
|
|
9
|
+
"ru": "вернуться в root getCnageInfo",
|
|
10
|
+
"pt": "voltar ao root getCnageInfo",
|
|
11
|
+
"nl": "terug naar root getCnageInfo",
|
|
12
|
+
"fr": "retour à la racine getCnageInfo",
|
|
13
|
+
"it": "ritorno a root getCnageInfo",
|
|
14
|
+
"es": "volver a root getCnageInfo",
|
|
15
|
+
"pl": "powrót do root getCnageInfo",
|
|
16
|
+
"uk": "повернення в корінь GetCnageInfo",
|
|
17
|
+
"zh-cn": "返回到 root 获取CnageInfo"
|
|
18
|
+
},
|
|
6
19
|
"1.20.9": {
|
|
7
20
|
"en": "experimental for form",
|
|
8
21
|
"de": "experiment für form",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "eksperymentalne debugowanie w systemie live",
|
|
81
94
|
"uk": "експериментальна дебюга в живій системі",
|
|
82
95
|
"zh-cn": "正在运行系统中调试的实验"
|
|
83
|
-
},
|
|
84
|
-
"1.20.3": {
|
|
85
|
-
"en": "bugfix device Manager",
|
|
86
|
-
"de": "bugfix Gerät Manager",
|
|
87
|
-
"ru": "bugfix устройство диспетчер",
|
|
88
|
-
"pt": "gerenciador de dispositivos de correção de erros",
|
|
89
|
-
"nl": "bugfix apparaatbeheer",
|
|
90
|
-
"fr": "gestionnaire de périphériques bugfix",
|
|
91
|
-
"it": "bugfix dispositivo Manager",
|
|
92
|
-
"es": "bugfix device Manager",
|
|
93
|
-
"pl": "menedżer urządzeń bugfix",
|
|
94
|
-
"uk": "диспетчер пристроїв",
|
|
95
|
-
"zh-cn": "错误修正设备管理器"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/main.js
CHANGED
|
@@ -1144,13 +1144,13 @@ class Lorawan extends utils.Adapter {
|
|
|
1144
1144
|
// Check for logging
|
|
1145
1145
|
this.log[this.logtypes.getChangeInfo]?.(`changeinfo of id ${id}, will be generated.`);
|
|
1146
1146
|
const changeInfo = this.getBaseDeviceInfo(id);
|
|
1147
|
-
|
|
1147
|
+
const myId = `${changeInfo?.objectStartDirectory}.${this.messagehandler?.directoryhandler.reachableSubfolders.configuration}.devicetype`; // commented out on: 26.01.2026 => Use objectStore
|
|
1148
1148
|
// Check for changeInfo
|
|
1149
1149
|
if (changeInfo) {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
const applicationDirectoryObject = this.objectStore?.applications[changeInfo.applicationId].object;
|
|
1153
|
-
const startDirectoryObject = this.objectStore?.devices[changeInfo.deviceEUI].object;
|
|
1150
|
+
const applicationDirectoryObject = await this.getObjectAsync(changeInfo.applicationId); // commented out on: 26.01.2026 => Use objectStore
|
|
1151
|
+
const startDirectoryObject = await this.getObjectAsync(changeInfo.objectStartDirectory); // commented out on: 26.01.2026 => Use objectStore
|
|
1152
|
+
//const applicationDirectoryObject = this.objectStore?.applications[changeInfo.applicationId].object;
|
|
1153
|
+
//const startDirectoryObject = this.objectStore?.devices[changeInfo.deviceEUI].object;
|
|
1154
1154
|
if (applicationDirectoryObject && startDirectoryObject) {
|
|
1155
1155
|
changeInfo.applicationName = applicationDirectoryObject.native.applicationName;
|
|
1156
1156
|
changeInfo.usedApplicationName = applicationDirectoryObject.common.name;
|
|
@@ -1158,8 +1158,8 @@ class Lorawan extends utils.Adapter {
|
|
|
1158
1158
|
changeInfo.usedDeviceId = startDirectoryObject.common.name;
|
|
1159
1159
|
}
|
|
1160
1160
|
// Get deviceType
|
|
1161
|
-
|
|
1162
|
-
const deviceTypeIdState = this.objectStore?.devices[changeInfo.deviceEUI].informations.devicetype.state;
|
|
1161
|
+
const deviceTypeIdState = await this.getStateAsync(myId); // commented out on: 26.01.2026 => Use objectStore
|
|
1162
|
+
//const deviceTypeIdState = this.objectStore?.devices[changeInfo.deviceEUI].informations.devicetype.state;
|
|
1163
1163
|
if (deviceTypeIdState) {
|
|
1164
1164
|
changeInfo.deviceType = deviceTypeIdState.val;
|
|
1165
1165
|
if (options && options.withBestMatch) {
|