iobroker.lorawan 1.20.18 → 1.20.20
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/io-package.json +27 -27
- package/lib/modules/deviceManager.js +8 -3
- 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.20.20 (2026-01-27)
|
|
27
|
+
* (BenAhrdt) icon assign changed
|
|
28
|
+
|
|
29
|
+
### 1.20.19 (2026-01-27)
|
|
30
|
+
* (BenAhrdt) bugfix incon set
|
|
31
|
+
|
|
26
32
|
### 1.20.18 (2026-01-27)
|
|
27
33
|
* (BenAhrdt) bugfix nameing incomingTopic
|
|
28
34
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.20",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.20.20": {
|
|
7
|
+
"en": "icon assign changed",
|
|
8
|
+
"de": "symbol assign geändert",
|
|
9
|
+
"ru": "изменить иконку",
|
|
10
|
+
"pt": "atribuição do ícone alterada",
|
|
11
|
+
"nl": "pictogram toegewezen",
|
|
12
|
+
"fr": "icon assigner changé",
|
|
13
|
+
"it": "icona assegna cambiato",
|
|
14
|
+
"es": "icono asignado cambiado",
|
|
15
|
+
"pl": "ikona przypisz zmieniony",
|
|
16
|
+
"uk": "ікона призначає зміни",
|
|
17
|
+
"zh-cn": "图标已更改"
|
|
18
|
+
},
|
|
19
|
+
"1.20.19": {
|
|
20
|
+
"en": "bugfix incon set",
|
|
21
|
+
"de": "bugfix incon set",
|
|
22
|
+
"ru": "багфикс incon set",
|
|
23
|
+
"pt": "conjunto de incons de correção de erros",
|
|
24
|
+
"nl": "bugfix-inconset",
|
|
25
|
+
"fr": "bugfix incon set",
|
|
26
|
+
"it": "set bugfix incon",
|
|
27
|
+
"es": "bugfix incon set",
|
|
28
|
+
"pl": "bugfix incon set",
|
|
29
|
+
"uk": "виправлення помилок",
|
|
30
|
+
"zh-cn": "装入套装错误"
|
|
31
|
+
},
|
|
6
32
|
"1.20.18": {
|
|
7
33
|
"en": "bugfix nameing incomingTopic",
|
|
8
34
|
"de": "bugfix Nameing eingehend Thema",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "usunąć skinienie z krypto",
|
|
68
94
|
"uk": "видалити nod з крипто",
|
|
69
95
|
"zh-cn": "从加密中删除点头"
|
|
70
|
-
},
|
|
71
|
-
"1.20.11": {
|
|
72
|
-
"en": "improve device Manager icons and Buttons",
|
|
73
|
-
"de": "verbesserung der Vorrichtung Icons und Buttons verwalten",
|
|
74
|
-
"ru": "улучшить устройство Иконки менеджера и кнопки",
|
|
75
|
-
"pt": "melhorar o dispositivo Gerir ícones e botões",
|
|
76
|
-
"nl": "apparaat verbeteren Pictogrammen en knoppen voor de manager",
|
|
77
|
-
"fr": "améliorer l'appareil Icônes de gestionnaire et boutons",
|
|
78
|
-
"it": "migliorare il dispositivo Icone Manager e pulsanti",
|
|
79
|
-
"es": "mejorar el dispositivo Gestor de iconos y botones",
|
|
80
|
-
"pl": "ulepszenie urządzenia Ikony menedżera i przyciski",
|
|
81
|
-
"uk": "поліпшення пристрою Ім'я користувача",
|
|
82
|
-
"zh-cn": "改进设备 管理器图标和按钮"
|
|
83
|
-
},
|
|
84
|
-
"1.20.10": {
|
|
85
|
-
"en": "return to root getCnageInfo",
|
|
86
|
-
"de": "zurück zu root getCnageInfo",
|
|
87
|
-
"ru": "вернуться в root getCnageInfo",
|
|
88
|
-
"pt": "voltar ao root getCnageInfo",
|
|
89
|
-
"nl": "terug naar root getCnageInfo",
|
|
90
|
-
"fr": "retour à la racine getCnageInfo",
|
|
91
|
-
"it": "ritorno a root getCnageInfo",
|
|
92
|
-
"es": "volver a root getCnageInfo",
|
|
93
|
-
"pl": "powrót do root getCnageInfo",
|
|
94
|
-
"uk": "повернення в корінь GetCnageInfo",
|
|
95
|
-
"zh-cn": "返回到 root 获取CnageInfo"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -142,13 +142,18 @@ class LoRaWANDeviceManagement extends DeviceManagement {
|
|
|
142
142
|
hub5: 'hub5',
|
|
143
143
|
controller: 'controller',
|
|
144
144
|
};
|
|
145
|
-
if (deviceValue.
|
|
145
|
+
if (deviceValue.detectedRoles) {
|
|
146
146
|
if (deviceValue.detectedRoles['level.temperature']) {
|
|
147
147
|
return possibleIcons.thermostat;
|
|
148
148
|
} else if (deviceValue.detectedRoles['sensor.door']) {
|
|
149
|
-
return possibleIcons.
|
|
149
|
+
return possibleIcons.door;
|
|
150
150
|
} else if (deviceValue.detectedRoles['sensor.window']) {
|
|
151
|
-
return possibleIcons.
|
|
151
|
+
return possibleIcons.window;
|
|
152
|
+
} else if (deviceValue.detectedRoles['value.temperature']) {
|
|
153
|
+
if (deviceValue.detectedRoles['value.preasure']) {
|
|
154
|
+
return possibleIcons.weatherCurrent;
|
|
155
|
+
}
|
|
156
|
+
return possibleIcons.temperature;
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
return 'node'; //`/adapter/${this.adapter.name}/icons/Node.png`; //${value.object.common.icon}`,
|