iobroker.lorawan 1.19.13 → 1.19.14
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/bridge.js +10 -7
- 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.19.14 (2026-01-11)
|
|
27
|
+
* (BenAhrdt) bugfixes cover
|
|
28
|
+
|
|
26
29
|
### 1.19.13 (2026-01-11)
|
|
27
30
|
* (BenAhrdt) first test with number for cover config
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.14",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.19.14": {
|
|
7
|
+
"en": "bugfixes cover",
|
|
8
|
+
"de": "bugfixes cover",
|
|
9
|
+
"ru": "багфикс покрытия",
|
|
10
|
+
"pt": "cobertura de correções de erros",
|
|
11
|
+
"nl": "bugfixes cover",
|
|
12
|
+
"fr": "bugfixes couverture",
|
|
13
|
+
"it": "copertura bugfixs",
|
|
14
|
+
"es": "bugfixes cover",
|
|
15
|
+
"pl": "pokrywa błędów",
|
|
16
|
+
"uk": "виправлення помилок",
|
|
17
|
+
"zh-cn": "错误修正覆盖"
|
|
18
|
+
},
|
|
6
19
|
"1.19.13": {
|
|
7
20
|
"en": "first test with number for cover config",
|
|
8
21
|
"de": "erste prüfung mit nummer für cover config",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "poprawić dostępną logikę",
|
|
81
94
|
"uk": "поліпшення логіки",
|
|
82
95
|
"zh-cn": "改进可用的逻辑"
|
|
83
|
-
},
|
|
84
|
-
"1.19.6": {
|
|
85
|
-
"en": "add available bit",
|
|
86
|
-
"de": "hinzufügen von bit",
|
|
87
|
-
"ru": "добавить доступный бит",
|
|
88
|
-
"pt": "adicionar bit disponível",
|
|
89
|
-
"nl": "beschikbare bit toevoegen",
|
|
90
|
-
"fr": "ajouter le bit disponible",
|
|
91
|
-
"it": "aggiungere bit disponibile",
|
|
92
|
-
"es": "añadir bit disponible",
|
|
93
|
-
"pl": "dodaj dostępny bit",
|
|
94
|
-
"uk": "додати доступний біт",
|
|
95
|
-
"zh-cn": "添加可用位"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -2859,16 +2859,16 @@ class bridgeClass {
|
|
|
2859
2859
|
|
|
2860
2860
|
// Command
|
|
2861
2861
|
if (config.CoverIds.command) {
|
|
2862
|
-
Cover.
|
|
2862
|
+
Cover.command = {};
|
|
2863
2863
|
setAssign.OPEN = { id: config.CoverIds.command, val: 'OPEN' };
|
|
2864
2864
|
setAssign.CLOSE = { id: config.CoverIds.command, val: 'CLOSE' };
|
|
2865
2865
|
setAssign.STOP = { id: config.CoverIds.command, val: 'STOP' };
|
|
2866
|
-
Cover.
|
|
2866
|
+
Cover.command.DeviceIdentifier = (await this.getParentNameing(config.CoverIds.command))?.parentName;
|
|
2867
2867
|
}
|
|
2868
2868
|
|
|
2869
2869
|
// Number
|
|
2870
2870
|
if (config.CoverIds.number) {
|
|
2871
|
-
Cover.
|
|
2871
|
+
Cover.number = {};
|
|
2872
2872
|
const numberObject = await this.adapter.getObjectAsync(config.CoverIds.number);
|
|
2873
2873
|
if (numberObject.common.states) {
|
|
2874
2874
|
for (const [key, value] of Object.entries(numberObject.common.states)) {
|
|
@@ -2886,11 +2886,11 @@ class bridgeClass {
|
|
|
2886
2886
|
}
|
|
2887
2887
|
}
|
|
2888
2888
|
} else {
|
|
2889
|
-
setAssign[1] = { id: config.CoverIds.
|
|
2890
|
-
setAssign[2] = { id: config.CoverIds.
|
|
2891
|
-
setAssign[3] = { id: config.CoverIds.
|
|
2889
|
+
setAssign[1] = { id: config.CoverIds.number, val: 'OPEN' };
|
|
2890
|
+
setAssign[2] = { id: config.CoverIds.number, val: 'CLOSE' };
|
|
2891
|
+
setAssign[3] = { id: config.CoverIds.number, val: 'STOP' };
|
|
2892
2892
|
}
|
|
2893
|
-
Cover.
|
|
2893
|
+
Cover.number.DeviceIdentifier = (await this.getParentNameing(config.CoverIds.number))?.parentName;
|
|
2894
2894
|
}
|
|
2895
2895
|
|
|
2896
2896
|
// Position
|
|
@@ -2939,6 +2939,9 @@ class bridgeClass {
|
|
|
2939
2939
|
} else if (Cover.command) {
|
|
2940
2940
|
deviceIdentifier = Cover.command.DeviceIdentifier;
|
|
2941
2941
|
generalId = config.CoverIds.command;
|
|
2942
|
+
} else if (Cover.number) {
|
|
2943
|
+
deviceIdentifier = Cover.number.DeviceIdentifier;
|
|
2944
|
+
generalId = config.CoverIds.number;
|
|
2942
2945
|
} else if (Cover.position) {
|
|
2943
2946
|
deviceIdentifier = Cover.position.DeviceIdentifier;
|
|
2944
2947
|
generalId = config.CoverIds.position;
|