iobroker.lorawan 1.20.1 → 1.20.3
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 +13 -11
- package/lib/modules/objectStore.js +3 -0
- 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.3 (2026-01-25)
|
|
27
|
+
* (BenAhrdt) bugfix device Manager
|
|
28
|
+
|
|
29
|
+
### 1.20.2 (2026-01-25)
|
|
30
|
+
* (BenAhrdt) bugfix device Manager and objectStore device checks
|
|
31
|
+
|
|
26
32
|
### 1.20.1 (2026-01-25)
|
|
27
33
|
* (BenAhrdt) bugfix device Manager
|
|
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.3",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.20.3": {
|
|
7
|
+
"en": "bugfix device Manager",
|
|
8
|
+
"de": "bugfix Gerät Manager",
|
|
9
|
+
"ru": "bugfix устройство диспетчер",
|
|
10
|
+
"pt": "gerenciador de dispositivos de correção de erros",
|
|
11
|
+
"nl": "bugfix apparaatbeheer",
|
|
12
|
+
"fr": "gestionnaire de périphériques bugfix",
|
|
13
|
+
"it": "bugfix dispositivo Manager",
|
|
14
|
+
"es": "bugfix device Manager",
|
|
15
|
+
"pl": "menedżer urządzeń bugfix",
|
|
16
|
+
"uk": "диспетчер пристроїв",
|
|
17
|
+
"zh-cn": "错误修正设备管理器"
|
|
18
|
+
},
|
|
19
|
+
"1.20.2": {
|
|
20
|
+
"en": "bugfix device Manager and objectStore device checks",
|
|
21
|
+
"de": "bugfix device Manager und Objekt Geräteüberprüfungen",
|
|
22
|
+
"ru": "bugfix диспетчер устройств и объект Проверка устройств магазина",
|
|
23
|
+
"pt": "gestor e objecto do dispositivo de correção de erros Verificação do dispositivo de armazenamento",
|
|
24
|
+
"nl": "bugfix apparaatbeheer en object Controles van het opslagapparaat",
|
|
25
|
+
"fr": "bugfix device Manager et objet Contrôles des dispositifs de stockage",
|
|
26
|
+
"it": "bugfix device Manager e oggetto Controllo dispositivi di memorizzazione",
|
|
27
|
+
"es": "bugfix device Manager y objeto Controles de dispositivo de la tienda",
|
|
28
|
+
"pl": "menedżer i obiekt urządzenia bugfix Kontrole urządzeń do przechowywania",
|
|
29
|
+
"uk": "диспетчер пристроїв та об'єкт Перевірка пристрою магазину",
|
|
30
|
+
"zh-cn": "错误修正设备管理器和对象 存储设备检查"
|
|
31
|
+
},
|
|
6
32
|
"1.20.1": {
|
|
7
33
|
"en": "bugfix device Manager",
|
|
8
34
|
"de": "bugfix Gerät Manager",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "bugfix czeka na to. ObjectExists",
|
|
68
94
|
"uk": "виправлено помилку. Об'єкти",
|
|
69
95
|
"zh-cn": "bugfix 等待这个 。 对象存在"
|
|
70
|
-
},
|
|
71
|
-
"1.19.31": {
|
|
72
|
-
"en": "add try catch for adding filter (strage bug)",
|
|
73
|
-
"de": "fügen sie versuchen zu fangen für das hinzufügen von filter (strge bug)",
|
|
74
|
-
"ru": "добавить try catch для добавления фильтра (strage bug)",
|
|
75
|
-
"pt": "adicionar tentativa de captura para adicionar filtro (erro de fita)",
|
|
76
|
-
"nl": "add catch for add filter (strage bug)",
|
|
77
|
-
"fr": "ajouter une capture pour ajouter un filtre",
|
|
78
|
-
"it": "aggiungere la cattura per l'aggiunta di filtro (insetto di sforzo)",
|
|
79
|
-
"es": "añadir probar captura para añadir filtro (falta de tracción)",
|
|
80
|
-
"pl": "dodaj chwyt do dodawania filtra (błąd strage)",
|
|
81
|
-
"uk": "додати намагатися ловити для додавання фільтра (перевірити помилки)",
|
|
82
|
-
"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,18 +27,20 @@ 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
|
-
model: value.checks.devicetype.state.val, // - ${value.uplink.remaining.rxInfo[0].rssi.ts}`,
|
|
43
|
+
model: value.checks ? value.checks.devicetype.state.val : undefined, // - ${value.uplink.remaining.rxInfo[0].rssi.ts}`,
|
|
42
44
|
status: await this.getStatus(value),
|
|
43
45
|
hasDetails: undefined,
|
|
44
46
|
actions: [
|
|
@@ -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
|
}
|