iobroker.lorawan 1.18.48 → 1.18.49
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 +4 -3
- 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.18.49 (2025-12-16)
|
|
27
|
+
* (BenAhrdt) Read and send always all light attributes
|
|
28
|
+
|
|
26
29
|
### 1.18.48 (2025-12-16)
|
|
27
30
|
* (BenAhrdt) Set the selection to usedNames (application and device)
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.49",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.49": {
|
|
7
|
+
"en": "Read and send always all light attributes",
|
|
8
|
+
"de": "Lesen und senden Sie immer alle Licht-Attribute",
|
|
9
|
+
"ru": "Читайте и отправляйте всегда все световые атрибуты",
|
|
10
|
+
"pt": "Ler e enviar sempre todos os atributos de luz",
|
|
11
|
+
"nl": "Lees en stuur altijd alle lichtattributen",
|
|
12
|
+
"fr": "Lire et envoyer toujours tous les attributs de lumière",
|
|
13
|
+
"it": "Leggi e invia sempre tutti gli attributi leggeri",
|
|
14
|
+
"es": "Lea y envíe siempre todos los atributos de luz",
|
|
15
|
+
"pl": "Czytaj i wysyłaj zawsze wszystkie atrybuty światła",
|
|
16
|
+
"uk": "Читайте і надсилайте завжди всі атрибути світла",
|
|
17
|
+
"zh-cn": "读取并发送所有光属性"
|
|
18
|
+
},
|
|
6
19
|
"1.18.48": {
|
|
7
20
|
"en": "Set the selection to usedNames (application and device)",
|
|
8
21
|
"de": "Setzen Sie die Auswahl auf gebrauchtNamen (Anwendung und Gerät)",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "określony filtr w obiekcie Id wybór w konfiguracji",
|
|
81
94
|
"uk": "специфічний фільтр на об'єкті Вибір Id в config",
|
|
82
95
|
"zh-cn": "对象的特定过滤器 配置中的 ID 选择"
|
|
83
|
-
},
|
|
84
|
-
"1.18.42": {
|
|
85
|
-
"en": "change gate to garage_door in binary_sensor",
|
|
86
|
-
"de": "ändern sie das tor zu garage_door in binär_sensor",
|
|
87
|
-
"ru": "скачать игру garage_door in binary_sensor",
|
|
88
|
-
"pt": "mudar portão para garage_door em binário_sensor",
|
|
89
|
-
"nl": "poort wijzigen naar garage_deur in binaire _sensor",
|
|
90
|
-
"fr": "changer la porte en garage_door en binaire_sensor",
|
|
91
|
-
"it": "cambiare cancello a garage_door in binario_sensor",
|
|
92
|
-
"es": "cambio de puerta a garage_door en binario_sensor",
|
|
93
|
-
"pl": "zmiana bramy na garaż _ door w binarnym _ sensor",
|
|
94
|
-
"uk": "змінити ворота в гараж_критий в бінарних_сенсор",
|
|
95
|
-
"zh-cn": "在二进制中将门改为车库_门_传感器"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -815,16 +815,17 @@ class bridgeClass {
|
|
|
815
815
|
val = {};
|
|
816
816
|
val.state = (await this.adapter.getForeignStateAsync(publish.LightIds.onOff)).val;
|
|
817
817
|
val.state = val.state === true ? 'ON' : 'OFF';
|
|
818
|
-
|
|
818
|
+
// 16.12. Change: Read and Send always all attributes
|
|
819
|
+
if (publish.LightIds.brightness) {
|
|
819
820
|
val.brightness = (await this.adapter.getForeignStateAsync(publish.LightIds.brightness)).val;
|
|
820
821
|
}
|
|
821
|
-
if (
|
|
822
|
+
if (publish.LightIds.color) {
|
|
822
823
|
val.color_mode = 'rgb';
|
|
823
824
|
val.color = this.hexToRgb(
|
|
824
825
|
(await this.adapter.getForeignStateAsync(publish.LightIds.color)).val,
|
|
825
826
|
);
|
|
826
827
|
}
|
|
827
|
-
if (
|
|
828
|
+
if (publish.LightIds.effects) {
|
|
828
829
|
const effect = (await this.adapter.getForeignStateAsync(publish.LightIds.effects)).val;
|
|
829
830
|
val.effect = '';
|
|
830
831
|
if (publish.effects[effect]) {
|