iobroker.lorawan 1.22.3 → 1.22.4
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 -106
- package/io-package.json +14 -14
- package/lib/modules/deviceManager/bridgeDevices.js +7 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,9 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
24
24
|
Placeholder for the next version (at the beginning of the line):
|
|
25
25
|
### **WORK IN PROGRESS**
|
|
26
26
|
-->
|
|
27
|
+
### 1.22.4 (2026-04-10)
|
|
28
|
+
* (BenAhrdt) bugfix lock entity in dM card
|
|
29
|
+
|
|
27
30
|
### 1.22.3 (2026-04-10)
|
|
28
31
|
* (BenAhrdt) add first Test for states of configed devices shown in device Manager cards
|
|
29
32
|
|
|
@@ -36,112 +39,6 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
36
39
|
### 1.22.0 (2026-04-01)
|
|
37
40
|
* (BenAhrdt) new Design in device Manager Cards
|
|
38
41
|
|
|
39
|
-
### 1.21.31 (2026-04-01)
|
|
40
|
-
* (BenAhrdt) Display more Infos and colors in Cards
|
|
41
|
-
|
|
42
|
-
### 1.21.30 (2026-04-01)
|
|
43
|
-
* (BenAhrdt) bugfix warn logging
|
|
44
|
-
|
|
45
|
-
### 1.21.29 (2026-04-01)
|
|
46
|
-
* (BenAhrdt) check native
|
|
47
|
-
|
|
48
|
-
### 1.21.28 (2026-04-01)
|
|
49
|
-
* (BenAhrdt) add enum query to air quality
|
|
50
|
-
|
|
51
|
-
### 1.21.27 (2026-04-01)
|
|
52
|
-
* (BenAhrdt) bugfix airqulity
|
|
53
|
-
|
|
54
|
-
### 1.21.26 (2026-04-01)
|
|
55
|
-
* (BenAhrdt) add airquilty for toIob devices
|
|
56
|
-
* (BenAhrdt) add functionality off native card
|
|
57
|
-
|
|
58
|
-
### 1.21.25 (2026-04-01)
|
|
59
|
-
* (BenAhrdt) add prelabel to some roles for card
|
|
60
|
-
|
|
61
|
-
### 1.21.24 (2026-04-01)
|
|
62
|
-
* (BenAhrdt) Merge cardRoles at startup in default
|
|
63
|
-
* (BenAhrdt) add some roles to cardRoles
|
|
64
|
-
* (BenAhrdt) add some roles to toIob generation
|
|
65
|
-
|
|
66
|
-
### 1.21.23 (2026-03-31)
|
|
67
|
-
* (BenAhrdt) add DeviceObject to every device in dM
|
|
68
|
-
* (BenAhrdt) remove moin / max because used in default
|
|
69
|
-
|
|
70
|
-
### 1.21.22 (2026-03-31)
|
|
71
|
-
* (BenAhrdt) bugfix in bridge objectStore
|
|
72
|
-
* (BenAhrdt) add sensor.motion to cardRoles
|
|
73
|
-
|
|
74
|
-
### 1.21.21 (2026-03-30)
|
|
75
|
-
* (BenAhrdt) change priority to name => lable => id (in card)
|
|
76
|
-
|
|
77
|
-
### 1.21.20 (2026-03-30)
|
|
78
|
-
* (BenAhrdt) add more role definitions and logic to card roles
|
|
79
|
-
|
|
80
|
-
### 1.21.19 (2026-03-30)
|
|
81
|
-
* (BenAhrdt) add value.power.active to cardRoles and possibility for Name (label? Name? ID)
|
|
82
|
-
|
|
83
|
-
### 1.21.18 (2026-03-30)
|
|
84
|
-
* (BenAhrdt) bugfix display states for bridged devices in dM
|
|
85
|
-
|
|
86
|
-
### 1.21.17 (2026-03-30)
|
|
87
|
-
* (BenAhrdt) change display of sensor.contact in dM card
|
|
88
|
-
|
|
89
|
-
### 1.21.16 (2026-03-30)
|
|
90
|
-
* (BenAhrdt) implements cardRoles state to define displayed Roles in card
|
|
91
|
-
* (BenAhrdt) First try of custom Info at dM
|
|
92
|
-
|
|
93
|
-
### 1.21.15 (2026-03-28)
|
|
94
|
-
* (BenAhrdt) implement TTI tenant to download to TTI
|
|
95
|
-
|
|
96
|
-
### 1.21.14 (2026-03-27)
|
|
97
|
-
* (BenAhrdt) change userdata and alias query for bridge
|
|
98
|
-
|
|
99
|
-
### 1.21.13 (2026-03-23)
|
|
100
|
-
* (BenAhrdt) improve displaying devEUI in actual Values
|
|
101
|
-
|
|
102
|
-
### 1.21.12 (2026-03-19)
|
|
103
|
-
* (BenAhrdt) bugfix display devices in case of bridge is not selected
|
|
104
|
-
|
|
105
|
-
### 1.21.11 (2026-03-15)
|
|
106
|
-
* (BenAhrdt) improve nameing of actual values
|
|
107
|
-
* (BenAhrdt) imlpement digits to actual values
|
|
108
|
-
|
|
109
|
-
### 1.21.10 (2026-03-12)
|
|
110
|
-
* (BenAhrdt) change Testing and change standard value of lorawan origin to off
|
|
111
|
-
|
|
112
|
-
### 1.21.9 (2026-03-06)
|
|
113
|
-
* (BenAhrdt) persistant Bride DeviceIds
|
|
114
|
-
|
|
115
|
-
### 1.21.8 (2026-03-04)
|
|
116
|
-
* (BenAhrdt) update icons
|
|
117
|
-
|
|
118
|
-
### 1.21.7 (2026-03-04)
|
|
119
|
-
* (BenAhrdt) update logic for icons and link building
|
|
120
|
-
|
|
121
|
-
### 1.21.6 (2026-03-04)
|
|
122
|
-
* (BenAhrdt) change logic for TTN link and change base ip handling
|
|
123
|
-
* (BenAhrdt) set more devices at default
|
|
124
|
-
|
|
125
|
-
### 1.21.5 (2026-03-04)
|
|
126
|
-
* (BenAhrdt) implements link to Chirpstack / TTN
|
|
127
|
-
|
|
128
|
-
### 1.21.4 (2026-03-03)
|
|
129
|
-
* (BenAhrdt) update the updateBridge function in objectStore
|
|
130
|
-
* (BenAhrdt) improve LoraWAN and ToIob funkction (init / update)
|
|
131
|
-
|
|
132
|
-
### 1.21.3 (2026-03-02)
|
|
133
|
-
* (BenAhrdt) add Link to ToIoB Devices
|
|
134
|
-
|
|
135
|
-
### 1.21.2 (2026-03-02)
|
|
136
|
-
* (BenAhrdt) update icon for device link
|
|
137
|
-
|
|
138
|
-
### 1.21.1 (2026-03-02)
|
|
139
|
-
* (BenAhrdt) bring possibility for editing base ip in devce Manager
|
|
140
|
-
|
|
141
|
-
### 1.21.0 (2026-03-02)
|
|
142
|
-
* (BenAhrdt) update deviceManager (dm-utils) to 3.0.0
|
|
143
|
-
* (BenAhrdt) add Links for Bridge devices
|
|
144
|
-
|
|
145
42
|
### Older entries
|
|
146
43
|
[here](OLD_CHANGELOG.md)
|
|
147
44
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.22.4": {
|
|
7
|
+
"en": "bugfix lock entity in dM card",
|
|
8
|
+
"de": "bugfix Schloss Entität in dM Karte",
|
|
9
|
+
"ru": "bugfix lock entity в карте dM",
|
|
10
|
+
"pt": "entidade de bloqueio de bugfix no cartão dM",
|
|
11
|
+
"nl": "bugfix slot entiteit in dM-kaart",
|
|
12
|
+
"fr": "bugfix lock entity dans la carte dM",
|
|
13
|
+
"it": "entità di blocco bugfix nella scheda dM",
|
|
14
|
+
"es": "bugfix entidad de bloqueo en tarjeta dM",
|
|
15
|
+
"pl": "element blokujący bugfix w karcie dM",
|
|
16
|
+
"uk": "суб'єкт блокування помилок в картці dM",
|
|
17
|
+
"zh-cn": "dM 卡中的bugfix锁实体"
|
|
18
|
+
},
|
|
6
19
|
"1.22.3": {
|
|
7
20
|
"en": "add first Test for states of configed devices shown in device Manager cards",
|
|
8
21
|
"de": "fügen Sie ersten Test für Zustände von konfiktiven Geräten in Device Manager-Karten",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "bugfix ostrzega logowanie",
|
|
81
94
|
"uk": "виправлення помилок",
|
|
82
95
|
"zh-cn": "错误修正警告日志"
|
|
83
|
-
},
|
|
84
|
-
"1.21.29": {
|
|
85
|
-
"en": "check native",
|
|
86
|
-
"de": "check native",
|
|
87
|
-
"ru": "проверить родной",
|
|
88
|
-
"pt": "verificar nativo",
|
|
89
|
-
"nl": "native controleren",
|
|
90
|
-
"fr": "vérifier native",
|
|
91
|
-
"it": "controllare nativo",
|
|
92
|
-
"es": "cheque nativo",
|
|
93
|
-
"pl": "sprawdź rodzime",
|
|
94
|
-
"uk": "перевірити рідний",
|
|
95
|
-
"zh-cn": "检查本地"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -239,7 +239,6 @@ class bridgeDevicesClass {
|
|
|
239
239
|
if (deviceValue.entityType.cover) {
|
|
240
240
|
for (const discovery of deviceValue.discovery) {
|
|
241
241
|
if (discovery.topic.startsWith('homeassistant/cover/')) {
|
|
242
|
-
this.adapter.log.warn(3);
|
|
243
242
|
let card = {};
|
|
244
243
|
if (discovery.ids.open) {
|
|
245
244
|
this.adapter.log[this.adapter.logtypes.listDevices]?.(
|
|
@@ -432,11 +431,11 @@ class bridgeDevicesClass {
|
|
|
432
431
|
}
|
|
433
432
|
if (discovery.ids.unlock) {
|
|
434
433
|
this.adapter.log[this.adapter.logtypes.listDevices]?.(
|
|
435
|
-
`Start building Light On for Id: ${discovery.ids.
|
|
434
|
+
`Start building Light On for Id: ${discovery.ids.unlock}`,
|
|
436
435
|
);
|
|
437
|
-
usedId[discovery.ids.
|
|
436
|
+
usedId[discovery.ids.unlock] = true;
|
|
438
437
|
card = { preLabel: '🔓 ', label: 'Aufschließen' };
|
|
439
|
-
card = lodash.merge(card, deviceValue.ids[discovery.ids.
|
|
438
|
+
card = lodash.merge(card, deviceValue.ids[discovery.ids.unlock].object.native?.card);
|
|
440
439
|
const preLabel = card.preLabel ?? '';
|
|
441
440
|
let label = '';
|
|
442
441
|
if (card.name) {
|
|
@@ -444,14 +443,14 @@ class bridgeDevicesClass {
|
|
|
444
443
|
} else if (card.label) {
|
|
445
444
|
label = card.label;
|
|
446
445
|
} else {
|
|
447
|
-
label = deviceValue.ids[discovery.ids.
|
|
448
|
-
deviceValue.ids[discovery.ids.
|
|
446
|
+
label = deviceValue.ids[discovery.ids.unlock].object._id.substring(
|
|
447
|
+
deviceValue.ids[discovery.ids.unlock].object._id.lastIndexOf('.') + 1,
|
|
449
448
|
);
|
|
450
449
|
}
|
|
451
|
-
res.customInfo.schema.items[`${discovery.ids.
|
|
450
|
+
res.customInfo.schema.items[`${discovery.ids.unlock}`] = {
|
|
452
451
|
type: 'state',
|
|
453
452
|
// The full state ID including namespace (foreign = true means it's an absolute ID).
|
|
454
|
-
oid: discovery.ids.
|
|
453
|
+
oid: discovery.ids.unlock,
|
|
455
454
|
foreign: true,
|
|
456
455
|
// Render as an interactive switch control.
|
|
457
456
|
control: 'button',
|