iobroker.lorawan 1.22.22 → 1.22.24
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 -6
- package/io-package.json +27 -27
- package/lib/modules/assignhandler.js +11 -0
- package/lib/modules/bridge.js +11 -3
- package/package.json +1 -1
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.24 (2026-06-24)
|
|
28
|
+
- (BenAhrdt) Add Absolute Humidity to device_class
|
|
29
|
+
|
|
30
|
+
### 1.22.23 (2026-06-17)
|
|
31
|
+
- (BenAhrdt) setTimeout changed into this.adapter.SetTimeout
|
|
32
|
+
|
|
27
33
|
### 1.22.22 (2026-06-16)
|
|
28
34
|
- (BenAhrdt) Remove writing of the last 10 values at receive and public message
|
|
29
35
|
|
|
@@ -33,12 +39,6 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
33
39
|
### 1.22.20 (2026-06-16)
|
|
34
40
|
- (BenAhrdt) Write publishIds and subscribedTopics delayed
|
|
35
41
|
|
|
36
|
-
### 1.22.19 (2026-06-16)
|
|
37
|
-
- (BenAhrdt) Test durch fehlerhaften git commit
|
|
38
|
-
|
|
39
|
-
### 1.22.18 (2026-06-16)
|
|
40
|
-
- (BenAhrdt) Testversion, ohne info. schreiben
|
|
41
|
-
|
|
42
42
|
[Older changes can be found there](CHANGELOG_OLD.md)
|
|
43
43
|
|
|
44
44
|
## 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.24",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.22.24": {
|
|
7
|
+
"en": "Add Absolute Humidity to device_class",
|
|
8
|
+
"de": "Füge der Geräteklasse die absolute Luftfeuchtigkeit hinzu.",
|
|
9
|
+
"ru": "Добавить абсолютную влажность в device_class",
|
|
10
|
+
"pt": "Adicionar umidade absoluta à classe do dispositivo",
|
|
11
|
+
"nl": "Voeg absolute luchtvochtigheid toe aan de device_class.",
|
|
12
|
+
"fr": "Ajouter l'humidité absolue à la classe de périphérique",
|
|
13
|
+
"it": "Aggiungi l'umidità assoluta alla classe di dispositivi",
|
|
14
|
+
"es": "Agregar humedad absoluta a device_class",
|
|
15
|
+
"pl": "Dodaj wilgotność bezwzględną do device_class",
|
|
16
|
+
"uk": "Додати абсолютну вологість до класу пристроїв",
|
|
17
|
+
"zh-cn": "将绝对湿度添加到设备类"
|
|
18
|
+
},
|
|
19
|
+
"1.22.23": {
|
|
20
|
+
"en": "setTimeout changed into this.adapter.SetTimeout",
|
|
21
|
+
"de": "setTimeout wurde in this.adapter geändert. SetTimeout",
|
|
22
|
+
"ru": "setTimeout изменился на этот.adapter. Установить время",
|
|
23
|
+
"pt": "setTimeout mudou para este.adapter. SetTimeout",
|
|
24
|
+
"nl": "setTimeout is veranderd in deze.adapter. SetTimeout",
|
|
25
|
+
"fr": "setTimeout a changé en ceci.adaptateur. Réglage des délais",
|
|
26
|
+
"it": "setTimeout è cambiato in questo.adapter. SetTimes",
|
|
27
|
+
"es": "setTimeout cambió en este.adapter. SetTimeout",
|
|
28
|
+
"pl": "set Timeout zmienił się w to. Adapter. Ustawienie timeout",
|
|
29
|
+
"uk": "setTimeout змінився в this.adapter. Навігація",
|
|
30
|
+
"zh-cn": "timeout 已更改为此。 adapter。 设置超时"
|
|
31
|
+
},
|
|
6
32
|
"1.22.22": {
|
|
7
33
|
"en": "Remove writing of the last 10 values at receive and public message",
|
|
8
34
|
"de": "Entfernen Sie das Schreiben der letzten 10 Werte bei Empfang und öffentliche Nachricht",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Testversion, ohne info. schreiben",
|
|
68
94
|
"uk": "Тестування, ohne info. schreiben",
|
|
69
95
|
"zh-cn": "Testversion, ohne info. schreiben (英语)"
|
|
70
|
-
},
|
|
71
|
-
"1.22.17": {
|
|
72
|
-
"en": "Fixed writing valid zero values from bridged Home Assistant entities to ioBroker states.",
|
|
73
|
-
"de": "Behobenes Schreiben gültige Nullwerte von überbrückten Home Assistant-Einheiten zu ioBroker-Staaten.",
|
|
74
|
-
"ru": "Фиксированная запись действительных нулевых значений от подключенных объектов Home Assistant до штатов ioBroker.",
|
|
75
|
-
"pt": "Corrigido escrevendo valores zero válidos de entidades bridged Home Assistant para estados ioBroker.",
|
|
76
|
-
"nl": "Vaste schrijven geldig nul waarden van brugd Home Assistent entiteiten naar ioBroker staten.",
|
|
77
|
-
"fr": "Correction de l'écriture de valeurs nulles valides des entités d'aide à la maison pontées aux états ioBroker.",
|
|
78
|
-
"it": "Scrittura fissa valori zero validi da entità di Home Assistant colate a stati ioBroker.",
|
|
79
|
-
"es": "Escribir valores nulos válidos de las entidades auxiliares de casa puenteadas a los estados de yoBroker.",
|
|
80
|
-
"pl": "Naprawiono pisanie poprawnych wartości zerowych z zaokrąglonych jednostek Home Assistant do stanów jOBroker.",
|
|
81
|
-
"uk": "Фіксоване написання дійсних нульових значень з містованих домашніх помічників для ioBroker штатів.",
|
|
82
|
-
"zh-cn": "固定写入有效的零值,从桥接的家用助理实体到ioBroker状态."
|
|
83
|
-
},
|
|
84
|
-
"1.22.16": {
|
|
85
|
-
"en": "Bugfix COver in ToIob",
|
|
86
|
-
"de": "Bugfix COver in ToIob",
|
|
87
|
-
"ru": "Bugfix COver в ToIob",
|
|
88
|
-
"pt": "Correção de Erros no Tolob",
|
|
89
|
-
"nl": "Bugfix COver in Toiob",
|
|
90
|
-
"fr": "Bugfix Cover dans TOIob",
|
|
91
|
-
"it": "Bugfix COver in ToIob",
|
|
92
|
-
"es": "Bugfix COver en ToIob",
|
|
93
|
-
"pl": "Bugfix Cover w Tołobie",
|
|
94
|
-
"uk": "Бугфікс Ковер в Тойоб",
|
|
95
|
-
"zh-cn": "在 ToIob 中错误修正 Cover"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -9,6 +9,17 @@ class assignhandlerClass {
|
|
|
9
9
|
this.adapter = adapter;
|
|
10
10
|
|
|
11
11
|
this.assign = {
|
|
12
|
+
AbsoluteHumidity: {
|
|
13
|
+
approvedFolders: {
|
|
14
|
+
'uplink.decoded': {
|
|
15
|
+
assignfunction: this.commonAssign,
|
|
16
|
+
common: {
|
|
17
|
+
role: 'value.humidity.absolute',
|
|
18
|
+
unit: 'g/m³',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
12
23
|
Alarm: {
|
|
13
24
|
approvedFolders: {
|
|
14
25
|
'uplink.decoded': {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -179,6 +179,9 @@ class bridgeClass extends EventEmiter {
|
|
|
179
179
|
s: { device_class: 'duration' },
|
|
180
180
|
min: { device_class: 'duration' },
|
|
181
181
|
h: { device_class: 'duration' },
|
|
182
|
+
|
|
183
|
+
'g/m³': { device_class: 'absolute_humidity' },
|
|
184
|
+
'mg/m³': { device_class: 'absolute_humidity' },
|
|
182
185
|
};
|
|
183
186
|
|
|
184
187
|
// Bridge internal loggin
|
|
@@ -1271,7 +1274,7 @@ class bridgeClass extends EventEmiter {
|
|
|
1271
1274
|
return;
|
|
1272
1275
|
}
|
|
1273
1276
|
|
|
1274
|
-
this.discoveredIdsWriteTimer = setTimeout(async () => {
|
|
1277
|
+
this.discoveredIdsWriteTimer = this.adapter.setTimeout(async () => {
|
|
1275
1278
|
this.discoveredIdsWriteTimer = undefined;
|
|
1276
1279
|
|
|
1277
1280
|
try {
|
|
@@ -1626,8 +1629,13 @@ class bridgeClass extends EventEmiter {
|
|
|
1626
1629
|
attributes.device_class = 'temperature';
|
|
1627
1630
|
attributes.unit_of_measurement = normalizedUnit || '°C';
|
|
1628
1631
|
} else if (role.includes('humidity')) {
|
|
1629
|
-
|
|
1630
|
-
|
|
1632
|
+
if (role.includes('humidity.absolute')) {
|
|
1633
|
+
attributes.device_class = 'absolute_humidity';
|
|
1634
|
+
attributes.unit_of_measurement = normalizedUnit || 'g/m³';
|
|
1635
|
+
} else {
|
|
1636
|
+
attributes.device_class = 'humidity';
|
|
1637
|
+
attributes.unit_of_measurement = normalizedUnit || '%';
|
|
1638
|
+
}
|
|
1631
1639
|
} else if (role.includes('illuminance') || role.includes('brightness')) {
|
|
1632
1640
|
attributes.device_class = 'illuminance';
|
|
1633
1641
|
attributes.unit_of_measurement = 'lx'; //normalizedUnit || 'lx';
|