iobroker.lorawan 1.18.11 → 1.18.13
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/bridge.js +7 -2
- 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.18.13 (2025-11-23)
|
|
27
|
+
* (BenAhrdt) Bugfix: wrong subscribtion of fx ids
|
|
28
|
+
|
|
29
|
+
### 1.18.12 (2025-11-23)
|
|
30
|
+
* (BenAhrdt) Bugfix fx in case of number
|
|
31
|
+
|
|
26
32
|
### 1.18.11 (2025-11-23)
|
|
27
33
|
* (BenAhrdt) Bugfix fx for published ids
|
|
28
34
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.13",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.13": {
|
|
7
|
+
"en": "Bugfix: wrong subscribtion of fx ids",
|
|
8
|
+
"de": "Bugfix: falsche Anmeldung von fx ids",
|
|
9
|
+
"ru": "Bugfix: неправильная подписка на fx ids",
|
|
10
|
+
"pt": "Correção de Bugfix: subscrita errada de fx ids",
|
|
11
|
+
"nl": "Bugfix: verkeerde subscriptie van fx ids",
|
|
12
|
+
"fr": "Bugfix : mauvaise subscribtion des ids fx",
|
|
13
|
+
"it": "Bugfix: sottoscrizione sbagliata di fx ids",
|
|
14
|
+
"es": "Bugfix: la subscripción incorrecta de los ids de fx",
|
|
15
|
+
"pl": "Bugfix: błędna subskrypcja fix ids",
|
|
16
|
+
"uk": "Помилки: неправильне підсобнення попелиці",
|
|
17
|
+
"zh-cn": "错误fix: fx ID 的子缩写错误"
|
|
18
|
+
},
|
|
19
|
+
"1.18.12": {
|
|
20
|
+
"en": "Bugfix fx in case of number",
|
|
21
|
+
"de": "Bugfix fx bei Anzahl",
|
|
22
|
+
"ru": "Bugfix fx в случае номера",
|
|
23
|
+
"pt": "Bugfix fx em caso de número",
|
|
24
|
+
"nl": "Bugfix fx bij aantal",
|
|
25
|
+
"fr": "Bugfix fx en cas de nombre",
|
|
26
|
+
"it": "Bugfix fx in caso di numero",
|
|
27
|
+
"es": "Fx Bugfix en caso de número",
|
|
28
|
+
"pl": "Bugfix fx w przypadku liczby",
|
|
29
|
+
"uk": "Виправлення помилок при кількості",
|
|
30
|
+
"zh-cn": "如果出现数字, 错误fx"
|
|
31
|
+
},
|
|
6
32
|
"1.18.11": {
|
|
7
33
|
"en": "Bugfix fx for published ids",
|
|
8
34
|
"de": "Bugfix fx für veröffentlichte ids",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Dodaj światło do możliwych urządzeń specjalnych",
|
|
68
94
|
"uk": "Додати світло для можливих спеціальних пристроїв",
|
|
69
95
|
"zh-cn": "在可能的特殊设备中添加光"
|
|
70
|
-
},
|
|
71
|
-
"1.18.6": {
|
|
72
|
-
"en": "set role color to entity_category config",
|
|
73
|
-
"de": "rollenfarbe auf entity_category config einstellen",
|
|
74
|
-
"ru": "установить цвет ролей в конфигурации entity_category",
|
|
75
|
-
"pt": "definir a cor do papel para a configuração entity_category",
|
|
76
|
-
"nl": "rolkleur instellen op entiteit_categorie configuratie",
|
|
77
|
-
"fr": "définir la couleur du rôle à la config entity_category",
|
|
78
|
-
"it": "impostare colore ruolo a enti_category config",
|
|
79
|
-
"es": "definir el papel color a entity_category config",
|
|
80
|
-
"pl": "ustaw kolor ról do konfiguracji podmiotu _ kategorii",
|
|
81
|
-
"uk": "встановити колір ролі на сутність_category config",
|
|
82
|
-
"zh-cn": "设置角色颜色到实体_ 类别配置"
|
|
83
|
-
},
|
|
84
|
-
"1.18.5": {
|
|
85
|
-
"en": "add mixed to type text for color values",
|
|
86
|
-
"de": "hinzufügen gemischt zu geben text für farbwerte",
|
|
87
|
-
"ru": "добавить смешанный текст для цветовых значений",
|
|
88
|
-
"pt": "adicionar texto misto ao tipo para valores de cores",
|
|
89
|
-
"nl": "gemengd toevoegen aan type tekst voor kleurwaarden",
|
|
90
|
-
"fr": "ajouter mélangé au texte type pour les valeurs de couleur",
|
|
91
|
-
"it": "aggiungere testo misto per digitare i valori di colore",
|
|
92
|
-
"es": "añadir mezclado para escribir texto para valores de color",
|
|
93
|
-
"pl": "dodaj mieszany do tekstu dla wartości kolorów",
|
|
94
|
-
"uk": "додати змішаний для типу текст для значень кольору",
|
|
95
|
-
"zh-cn": "在颜色值类型中添加混合文本"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -2224,10 +2224,15 @@ class bridgeClass {
|
|
|
2224
2224
|
if (config.LightEffects) {
|
|
2225
2225
|
const effectObject = await this.adapter.getForeignObjectAsync(config.LightIds.effects);
|
|
2226
2226
|
const effect_list = [];
|
|
2227
|
+
const isNumber = effectObject.common.type && effectObject.common.type === 'number' ? true : false;
|
|
2227
2228
|
if (effectObject.common.states) {
|
|
2228
2229
|
effectState = effectObject.common.states;
|
|
2229
2230
|
for (const effect in effectObject.common.states) {
|
|
2230
|
-
|
|
2231
|
+
if (isNumber) {
|
|
2232
|
+
effectSet[effectObject.common.states[effect]] = Number(effect);
|
|
2233
|
+
} else {
|
|
2234
|
+
effectSet[effectObject.common.states[effect]] = effect;
|
|
2235
|
+
}
|
|
2231
2236
|
effect_list.push(effectObject.common.states[effect]);
|
|
2232
2237
|
}
|
|
2233
2238
|
}
|
|
@@ -2339,7 +2344,7 @@ class bridgeClass {
|
|
|
2339
2344
|
await this.adapter.subscribeForeignStatesAsync(config.LightIds.color);
|
|
2340
2345
|
}
|
|
2341
2346
|
if (config.LightEffects) {
|
|
2342
|
-
await this.adapter.subscribeForeignStatesAsync(config.LightIds.
|
|
2347
|
+
await this.adapter.subscribeForeignStatesAsync(config.LightIds.effects);
|
|
2343
2348
|
}
|
|
2344
2349
|
}, 1000);
|
|
2345
2350
|
} catch (error) {
|