iobroker.lorawan 1.20.1 → 1.20.2
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/deviceManager.js +12 -10
- package/lib/modules/objectStore.js +3 -0
- 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.2 (2026-01-25)
|
|
27
|
+
* (BenAhrdt) bugfix device Manager and objectStore device checks
|
|
28
|
+
|
|
26
29
|
### 1.20.1 (2026-01-25)
|
|
27
30
|
* (BenAhrdt) bugfix device Manager
|
|
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.2",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.20.2": {
|
|
7
|
+
"en": "bugfix device Manager and objectStore device checks",
|
|
8
|
+
"de": "bugfix device Manager und Objekt Geräteüberprüfungen",
|
|
9
|
+
"ru": "bugfix диспетчер устройств и объект Проверка устройств магазина",
|
|
10
|
+
"pt": "gestor e objecto do dispositivo de correção de erros Verificação do dispositivo de armazenamento",
|
|
11
|
+
"nl": "bugfix apparaatbeheer en object Controles van het opslagapparaat",
|
|
12
|
+
"fr": "bugfix device Manager et objet Contrôles des dispositifs de stockage",
|
|
13
|
+
"it": "bugfix device Manager e oggetto Controllo dispositivi di memorizzazione",
|
|
14
|
+
"es": "bugfix device Manager y objeto Controles de dispositivo de la tienda",
|
|
15
|
+
"pl": "menedżer i obiekt urządzenia bugfix Kontrole urządzeń do przechowywania",
|
|
16
|
+
"uk": "диспетчер пристроїв та об'єкт Перевірка пристрою магазину",
|
|
17
|
+
"zh-cn": "错误修正设备管理器和对象 存储设备检查"
|
|
18
|
+
},
|
|
6
19
|
"1.20.1": {
|
|
7
20
|
"en": "bugfix device Manager",
|
|
8
21
|
"de": "bugfix Gerät Manager",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "dodaj chwyt do dodawania filtra (błąd strage)",
|
|
81
94
|
"uk": "додати намагатися ловити для додавання фільтра (перевірити помилки)",
|
|
82
95
|
"zh-cn": "添加添加过滤器的尝试抓取( strage bug)"
|
|
83
|
-
},
|
|
84
|
-
"1.19.30": {
|
|
85
|
-
"en": "add simulation of Position for cover",
|
|
86
|
-
"de": "simulation von Position für Cover hinzufügen",
|
|
87
|
-
"ru": "добавить моделирование позиции для покрытия",
|
|
88
|
-
"pt": "adicionar simulação de Posição para cobertura",
|
|
89
|
-
"nl": "simulatie van positie voor dekking toevoegen",
|
|
90
|
-
"fr": "ajouter la simulation de la position pour la couverture",
|
|
91
|
-
"it": "aggiungere la simulazione di posizione per il coperchio",
|
|
92
|
-
"es": "añadir simulación de la posición para la cubierta",
|
|
93
|
-
"pl": "dodać symulację pozycji dla pokrycia",
|
|
94
|
-
"uk": "додати моделювання позиції для покриття",
|
|
95
|
-
"zh-cn": "添加覆盖位置模拟"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -27,16 +27,18 @@ class LoRaWANDeviceManagement extends DeviceManagement {
|
|
|
27
27
|
id: key,
|
|
28
28
|
name: value.object.common.name,
|
|
29
29
|
icon: await this.getIcon(value),
|
|
30
|
-
manufacturer: value.checks
|
|
31
|
-
?
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
manufacturer: value.checks
|
|
31
|
+
? value.checks.lastUplink
|
|
32
|
+
? new Date(value.checks.lastUplink.state.ts).toLocaleString('de-DE', {
|
|
33
|
+
weekday: 'short', // Mo
|
|
34
|
+
year: 'numeric', // 2026
|
|
35
|
+
month: '2-digit', // 01
|
|
36
|
+
day: '2-digit', // 24
|
|
37
|
+
hour: '2-digit', // 14
|
|
38
|
+
minute: '2-digit', // 32
|
|
39
|
+
second: '2-digit', // 10
|
|
40
|
+
})
|
|
41
|
+
: undefined
|
|
40
42
|
: undefined,
|
|
41
43
|
model: value.checks.devicetype.state.val, // - ${value.uplink.remaining.rxInfo[0].rssi.ts}`,
|
|
42
44
|
status: await this.getStatus(value),
|
|
@@ -180,6 +180,9 @@ class objectStoreClass {
|
|
|
180
180
|
name = this.assignToDevice[key].name;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
+
if (!deviceObject[deviceId].checks) {
|
|
184
|
+
deviceObject[deviceId].checks = {};
|
|
185
|
+
}
|
|
183
186
|
if (!deviceObject[deviceId].checks[name]) {
|
|
184
187
|
deviceObject[deviceId].checks[name] = node[key];
|
|
185
188
|
}
|