iobroker.lorawan 1.20.6 → 1.20.7
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/objectStore.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.7 (2026-01-25)
|
|
27
|
+
* (BenAhrdt) bugfix correct writing of indicators
|
|
28
|
+
|
|
26
29
|
### 1.20.6 (2026-01-25)
|
|
27
30
|
* (BenAhrdt) updateing assignhandler und modifying indicators and informations
|
|
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.7",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.20.7": {
|
|
7
|
+
"en": "bugfix correct writing of indicators",
|
|
8
|
+
"de": "bugfix korrektes schreiben von indikatoren",
|
|
9
|
+
"ru": "bugfix правильное написание индикаторов",
|
|
10
|
+
"pt": "errofix escrita correta de indicadores",
|
|
11
|
+
"nl": "foutfix correct schrijven van indicatoren",
|
|
12
|
+
"fr": "bugfix écriture correcte des indicateurs",
|
|
13
|
+
"it": "bugfix corretto scrittura di indicatori",
|
|
14
|
+
"es": "bugfix correcta escritura de indicadores",
|
|
15
|
+
"pl": "bugfix prawidłowe pisanie wskaźników",
|
|
16
|
+
"uk": "виправлення правильних показників",
|
|
17
|
+
"zh-cn": "错误修正正确的指标写法"
|
|
18
|
+
},
|
|
6
19
|
"1.20.6": {
|
|
7
20
|
"en": "updateing assignhandler und modifying indicators and informations",
|
|
8
21
|
"de": "aktualisierung von assignhandler und änderung von indikatoren und informationen",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "menedżer urządzeń bugfix",
|
|
81
94
|
"uk": "диспетчер пристроїв",
|
|
82
95
|
"zh-cn": "错误修正设备管理器"
|
|
83
|
-
},
|
|
84
|
-
"1.20.0": {
|
|
85
|
-
"en": "add first Steps of device Manager",
|
|
86
|
-
"de": "erste Schritte des Gerätemanagers hinzufügen",
|
|
87
|
-
"ru": "добавить первые шаги диспетчера устройств",
|
|
88
|
-
"pt": "adicionar os primeiros Passos do Gestor de Dispositivos",
|
|
89
|
-
"nl": "eerste stappen van apparaatbeheer toevoegen",
|
|
90
|
-
"fr": "ajouter les premières étapes du gestionnaire de périphérique",
|
|
91
|
-
"it": "aggiungere i primi passi di Gestione dispositivi",
|
|
92
|
-
"es": "añadir los primeros pasos del administrador del dispositivo",
|
|
93
|
-
"pl": "dodaj pierwsze kroki menedżera urządzeń",
|
|
94
|
-
"uk": "додати перші кроки диспетчера пристроїв",
|
|
95
|
-
"zh-cn": "添加设备管理器的第一个步骤"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -105,12 +105,12 @@ class objectStoreClass {
|
|
|
105
105
|
let assign = undefined;
|
|
106
106
|
if (payload.object) {
|
|
107
107
|
if (Object.hasOwn(this.rolesToCheck, payload.object.common.role)) {
|
|
108
|
-
if (!deviceObject[deviceId].
|
|
109
|
-
deviceObject[deviceId].
|
|
108
|
+
if (!deviceObject[deviceId].indicators) {
|
|
109
|
+
deviceObject[deviceId].indicators = {};
|
|
110
110
|
}
|
|
111
111
|
if (this.rolesToCheck[payload.object.common.role].indicator) {
|
|
112
112
|
if (typeof this.rolesToCheck[payload.object.common.role].indicator === 'string') {
|
|
113
|
-
deviceObject[deviceId].
|
|
113
|
+
deviceObject[deviceId].indicators[
|
|
114
114
|
this.rolesToCheck[payload.object.common.role].indicator
|
|
115
115
|
] = true;
|
|
116
116
|
} else if (
|
|
@@ -128,9 +128,9 @@ class objectStoreClass {
|
|
|
128
128
|
if (this.rolesToCheck[payload.object.common.role].indicator.name) {
|
|
129
129
|
name = this.rolesToCheck[payload.object.common.role].indicator.name;
|
|
130
130
|
}
|
|
131
|
-
deviceObject[deviceId].
|
|
131
|
+
deviceObject[deviceId].indicators[name] = true;
|
|
132
132
|
}
|
|
133
|
-
deviceObject[deviceId].
|
|
133
|
+
deviceObject[deviceId].indicators[
|
|
134
134
|
this.rolesToCheck[payload.object.common.role].indicator
|
|
135
135
|
] = true;
|
|
136
136
|
}
|
|
@@ -150,8 +150,8 @@ class objectStoreClass {
|
|
|
150
150
|
}
|
|
151
151
|
// Assign to device
|
|
152
152
|
if (Object.hasOwn(this.assignToDeviceInformations, key) || assign) {
|
|
153
|
-
if (!deviceObject[deviceId].
|
|
154
|
-
deviceObject[deviceId].
|
|
153
|
+
if (!deviceObject[deviceId].indicators) {
|
|
154
|
+
deviceObject[deviceId].indicators = {};
|
|
155
155
|
}
|
|
156
156
|
let name = key;
|
|
157
157
|
if (assign) {
|