iobroker.lorawan 1.22.14 → 1.22.16
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 +7 -16
- package/io-package.json +27 -27
- package/lib/modules/assignhandler.js +10 -0
- package/lib/modules/bridgeDeviceHandler.js +14 -3
- package/lib/modules/bridgeMqttclient.js +0 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,6 +24,12 @@ 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.16 (2026-06-06)
|
|
28
|
+
- (BenAhrdt) Bugfix COver in ToIob
|
|
29
|
+
|
|
30
|
+
### 1.22.15 (2026-06-05)
|
|
31
|
+
- (BenAhrdt) Add roles for some new devices
|
|
32
|
+
|
|
27
33
|
### 1.22.14 (2026-06-03)
|
|
28
34
|
- (BenAhrdt) ToIob suports hs mode for color (light)
|
|
29
35
|
- (BenAhrdt) issues from depandabot
|
|
@@ -36,22 +42,7 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
36
42
|
- (copilot) Adapter requires node.js >= 22 now
|
|
37
43
|
* (BenAhrdt) Default Bridge all downlink.control and uplink.decoded to bridge
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
* (BenAhrdt) correct default value for pause (worx)
|
|
41
|
-
|
|
42
|
-
### 1.22.10 (2026-04-20)
|
|
43
|
-
* (BenAhrdt) implements button in card
|
|
44
|
-
|
|
45
|
-
[Older changelogs can be found there](CHANGELOG_OLD.md)## DISCLAIMER
|
|
46
|
-
The rights of the trademarks and company names,
|
|
47
|
-
remain with their owners and have no relation to this adapter.
|
|
48
|
-
The fairuse policy must continue to be adhered to by the operator of the adapter.
|
|
49
|
-
If this repository is forked, it must be cited as the source.
|
|
50
|
-
|
|
51
|
-
LoRa® is a registered trademark or service
|
|
52
|
-
mark of Semtech Corporation or its affilantes.
|
|
53
|
-
|
|
54
|
-
LoRaWAN® is a licensed mark.
|
|
45
|
+
[Older changes can be found there](CHANGELOG_OLD.md)
|
|
55
46
|
|
|
56
47
|
## License
|
|
57
48
|
MIT License
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.16",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.22.16": {
|
|
7
|
+
"en": "Bugfix COver in ToIob",
|
|
8
|
+
"de": "Bugfix COver in ToIob",
|
|
9
|
+
"ru": "Bugfix COver в ToIob",
|
|
10
|
+
"pt": "Correção de Erros no Tolob",
|
|
11
|
+
"nl": "Bugfix COver in Toiob",
|
|
12
|
+
"fr": "Bugfix Cover dans TOIob",
|
|
13
|
+
"it": "Bugfix COver in ToIob",
|
|
14
|
+
"es": "Bugfix COver en ToIob",
|
|
15
|
+
"pl": "Bugfix Cover w Tołobie",
|
|
16
|
+
"uk": "Бугфікс Ковер в Тойоб",
|
|
17
|
+
"zh-cn": "在 ToIob 中错误修正 Cover"
|
|
18
|
+
},
|
|
19
|
+
"1.22.15": {
|
|
20
|
+
"en": "Add roles for some new devices",
|
|
21
|
+
"de": "Rollen für einige neue Geräte hinzufügen",
|
|
22
|
+
"ru": "Добавить роли для некоторых новых устройств",
|
|
23
|
+
"pt": "Adicionar funções para alguns dispositivos novos",
|
|
24
|
+
"nl": "Rolletjes toevoegen voor sommige nieuwe apparaten",
|
|
25
|
+
"fr": "Ajouter des rôles pour certains nouveaux appareils",
|
|
26
|
+
"it": "Aggiungi ruoli per alcuni nuovi dispositivi",
|
|
27
|
+
"es": "Agregar roles para algunos nuevos dispositivos",
|
|
28
|
+
"pl": "Dodaj role dla niektórych nowych urządzeń",
|
|
29
|
+
"uk": "Додати ролі для деяких нових пристроїв",
|
|
30
|
+
"zh-cn": "为一些新设备添加角色"
|
|
31
|
+
},
|
|
6
32
|
"1.22.14": {
|
|
7
33
|
"en": "ToIob suports hs mode for color (light)\nissues from depandabot",
|
|
8
34
|
"de": "ToIob suports hs mode für color (light)\nfragen von depandabot",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "implementuje przycisk w karcie",
|
|
68
94
|
"uk": "реалізується кнопка в картці",
|
|
69
95
|
"zh-cn": "执行卡中的按钮"
|
|
70
|
-
},
|
|
71
|
-
"1.22.9": {
|
|
72
|
-
"en": "error resolve git push",
|
|
73
|
-
"de": "fehler beheben git push",
|
|
74
|
-
"ru": "решение ошибки git push",
|
|
75
|
-
"pt": "erro resolver git push",
|
|
76
|
-
"nl": "fout bij oplossen git push",
|
|
77
|
-
"fr": "erreur résoudre git push",
|
|
78
|
-
"it": "errore risolvere git push",
|
|
79
|
-
"es": "error resolver git push",
|
|
80
|
-
"pl": "błąd rozwiązać git push",
|
|
81
|
-
"uk": "виправлення помилок git push",
|
|
82
|
-
"zh-cn": "错误解析 git 推"
|
|
83
|
-
},
|
|
84
|
-
"1.22.7": {
|
|
85
|
-
"en": "add more device_class entries to assign roles",
|
|
86
|
-
"de": "mehr device class einträge hinzufügen, um rollen zuzuordnen",
|
|
87
|
-
"ru": "добавить больше записей device class для назначения ролей",
|
|
88
|
-
"pt": "adicionar mais entradas de dispositivo classe para atribuir funções",
|
|
89
|
-
"nl": "voeg meer apparaat klasse items toe om rollen toe te wijzen",
|
|
90
|
-
"fr": "ajouter plus d'entrées de classe de périphérique pour attribuer des rôles",
|
|
91
|
-
"it": "aggiungere più voci di device class per assegnare ruoli",
|
|
92
|
-
"es": "añadir más entradas de dispositivo clase para asignar roles",
|
|
93
|
-
"pl": "dodaj więcej wpisów _ device _ class do przypisywania ról",
|
|
94
|
-
"uk": "add more device class записів для позначення ролей",
|
|
95
|
-
"zh-cn": "添加更多设备 类条目以指定角色"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -316,6 +316,16 @@ class assignhandlerClass {
|
|
|
316
316
|
},
|
|
317
317
|
},
|
|
318
318
|
},
|
|
319
|
+
Occupied: {
|
|
320
|
+
approvedFolders: {
|
|
321
|
+
'uplink.decoded': {
|
|
322
|
+
assignfunction: this.commonAssign,
|
|
323
|
+
common: {
|
|
324
|
+
role: 'sensor.motion',
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
319
329
|
Open: {
|
|
320
330
|
approvedFolders: {
|
|
321
331
|
'uplink.decoded': {
|
|
@@ -439,11 +439,22 @@ class bridgeDeviceHandlerClass {
|
|
|
439
439
|
read: true,
|
|
440
440
|
write: true,
|
|
441
441
|
states: entity.capabilities.commands.states ? entity.capabilities.commands.states : undefined,
|
|
442
|
-
val:
|
|
443
|
-
? this.getKeyOfState(entity.state, entity.capabilities.commands.states)
|
|
444
|
-
: entity.state,
|
|
442
|
+
val: null,
|
|
445
443
|
isAttribute: true,
|
|
446
444
|
});
|
|
445
|
+
|
|
446
|
+
state.push({
|
|
447
|
+
id: `${channel.id}.state`,
|
|
448
|
+
name: clearStatename || stateId,
|
|
449
|
+
type: 'string',
|
|
450
|
+
role: this.detectRole(entity, type),
|
|
451
|
+
read: true,
|
|
452
|
+
write: true,
|
|
453
|
+
states: entity.capabilities.commands.states ? entity.capabilities.commands.states : undefined,
|
|
454
|
+
val: entity.state,
|
|
455
|
+
isAttribute: true,
|
|
456
|
+
});
|
|
457
|
+
|
|
447
458
|
if (entity.attributes.current_position !== undefined) {
|
|
448
459
|
state.push({
|
|
449
460
|
id: `${channel.id}.currentPosition`,
|
|
@@ -141,7 +141,6 @@ class bridgeMqttClientClass {
|
|
|
141
141
|
this.adapter.log[this.adapter.logtypes.bridgeMqtt]?.(
|
|
142
142
|
`Publishing bridge topic: ${topic} with message: ${message}.`,
|
|
143
143
|
);
|
|
144
|
-
|
|
145
144
|
// Write into debug
|
|
146
145
|
if (await this.adapter.objectExists('bridge.debug.outgoingTopic')) {
|
|
147
146
|
if (topic.includes(this.filter.outgoing)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.lorawan",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.16",
|
|
4
4
|
"description": "converts the desired lora gateway data to a ioBroker structure",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "BenAhrdt",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node-schedule": "^2.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@alcalzone/release-script": "^5.2.
|
|
36
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
37
37
|
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
38
38
|
"@alcalzone/release-script-plugin-license": "^5.2.0",
|
|
39
39
|
"@alcalzone/release-script-plugin-manual-review": "^5.2.0",
|