iobroker.lorawan 1.22.15 → 1.22.17
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 -6
- package/io-package.json +27 -27
- package/lib/modules/bridgeDeviceHandler.js +16 -5
- 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.17 (2026-06-07)
|
|
28
|
+
- (BenAhrdt) Fixed writing valid zero values from bridged Home Assistant entities to ioBroker states.
|
|
29
|
+
|
|
30
|
+
### 1.22.16 (2026-06-06)
|
|
31
|
+
- (BenAhrdt) Bugfix COver in ToIob
|
|
32
|
+
|
|
27
33
|
### 1.22.15 (2026-06-05)
|
|
28
34
|
- (BenAhrdt) Add roles for some new devices
|
|
29
35
|
|
|
@@ -35,12 +41,7 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
35
41
|
- (BenAhrdt) Changes in io-package.
|
|
36
42
|
- (BenAhrdt) Changes in package.json
|
|
37
43
|
|
|
38
|
-
|
|
39
|
-
- (copilot) Adapter requires node.js >= 22 now
|
|
40
|
-
* (BenAhrdt) Default Bridge all downlink.control and uplink.decoded to bridge
|
|
41
|
-
|
|
42
|
-
### 1.22.11 (2026-04-20)
|
|
43
|
-
* (BenAhrdt) correct default value for pause (worx)
|
|
44
|
+
[Older changes can be found there](CHANGELOG_OLD.md)
|
|
44
45
|
|
|
45
46
|
## License
|
|
46
47
|
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.17",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.22.17": {
|
|
7
|
+
"en": "Fixed writing valid zero values from bridged Home Assistant entities to ioBroker states.",
|
|
8
|
+
"de": "Behobenes Schreiben gültige Nullwerte von überbrückten Home Assistant-Einheiten zu ioBroker-Staaten.",
|
|
9
|
+
"ru": "Фиксированная запись действительных нулевых значений от подключенных объектов Home Assistant до штатов ioBroker.",
|
|
10
|
+
"pt": "Corrigido escrevendo valores zero válidos de entidades bridged Home Assistant para estados ioBroker.",
|
|
11
|
+
"nl": "Vaste schrijven geldig nul waarden van brugd Home Assistent entiteiten naar ioBroker staten.",
|
|
12
|
+
"fr": "Correction de l'écriture de valeurs nulles valides des entités d'aide à la maison pontées aux états ioBroker.",
|
|
13
|
+
"it": "Scrittura fissa valori zero validi da entità di Home Assistant colate a stati ioBroker.",
|
|
14
|
+
"es": "Escribir valores nulos válidos de las entidades auxiliares de casa puenteadas a los estados de yoBroker.",
|
|
15
|
+
"pl": "Naprawiono pisanie poprawnych wartości zerowych z zaokrąglonych jednostek Home Assistant do stanów jOBroker.",
|
|
16
|
+
"uk": "Фіксоване написання дійсних нульових значень з містованих домашніх помічників для ioBroker штатів.",
|
|
17
|
+
"zh-cn": "固定写入有效的零值,从桥接的家用助理实体到ioBroker状态."
|
|
18
|
+
},
|
|
19
|
+
"1.22.16": {
|
|
20
|
+
"en": "Bugfix COver in ToIob",
|
|
21
|
+
"de": "Bugfix COver in ToIob",
|
|
22
|
+
"ru": "Bugfix COver в ToIob",
|
|
23
|
+
"pt": "Correção de Erros no Tolob",
|
|
24
|
+
"nl": "Bugfix COver in Toiob",
|
|
25
|
+
"fr": "Bugfix Cover dans TOIob",
|
|
26
|
+
"it": "Bugfix COver in ToIob",
|
|
27
|
+
"es": "Bugfix COver en ToIob",
|
|
28
|
+
"pl": "Bugfix Cover w Tołobie",
|
|
29
|
+
"uk": "Бугфікс Ковер в Тойоб",
|
|
30
|
+
"zh-cn": "在 ToIob 中错误修正 Cover"
|
|
31
|
+
},
|
|
6
32
|
"1.22.15": {
|
|
7
33
|
"en": "Add roles for some new devices",
|
|
8
34
|
"de": "Rollen für einige neue Geräte hinzufügen",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "poprawna wartość domyślna dla pauzy (worx)",
|
|
68
94
|
"uk": "виправлено значення за замовчуванням для паузи (worx)",
|
|
69
95
|
"zh-cn": "校正暂停( worx) 的默认值"
|
|
70
|
-
},
|
|
71
|
-
"1.22.10": {
|
|
72
|
-
"en": "implements button in card",
|
|
73
|
-
"de": "implementiert knopf in der karte",
|
|
74
|
-
"ru": "реализует кнопку в карточке",
|
|
75
|
-
"pt": "implementa o botão no cartão",
|
|
76
|
-
"nl": "implementeert knop in kaart",
|
|
77
|
-
"fr": "implémente bouton dans la carte",
|
|
78
|
-
"it": "implementa il pulsante nella scheda",
|
|
79
|
-
"es": "implementa el botón en la tarjeta",
|
|
80
|
-
"pl": "implementuje przycisk w karcie",
|
|
81
|
-
"uk": "реалізується кнопка в картці",
|
|
82
|
-
"zh-cn": "执行卡中的按钮"
|
|
83
|
-
},
|
|
84
|
-
"1.22.9": {
|
|
85
|
-
"en": "error resolve git push",
|
|
86
|
-
"de": "fehler beheben git push",
|
|
87
|
-
"ru": "решение ошибки git push",
|
|
88
|
-
"pt": "erro resolver git push",
|
|
89
|
-
"nl": "fout bij oplossen git push",
|
|
90
|
-
"fr": "erreur résoudre git push",
|
|
91
|
-
"it": "errore risolvere git push",
|
|
92
|
-
"es": "error resolver git push",
|
|
93
|
-
"pl": "błąd rozwiązać git push",
|
|
94
|
-
"uk": "виправлення помилок git push",
|
|
95
|
-
"zh-cn": "错误解析 git 推"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -210,8 +210,8 @@ class bridgeDeviceHandlerClass {
|
|
|
210
210
|
}
|
|
211
211
|
if (
|
|
212
212
|
this.adapter.objectExists(state.id) &&
|
|
213
|
-
|
|
214
|
-
stateValue
|
|
213
|
+
state.val != null &&
|
|
214
|
+
!Number.isNaN(stateValue) &&
|
|
215
215
|
stateValue != '#000000'
|
|
216
216
|
) {
|
|
217
217
|
await this.adapter.setState(state.id, stateValue, true);
|
|
@@ -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.17",
|
|
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",
|