iobroker.lorawan 1.15.3 → 1.15.4
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 +4 -0
- package/io-package.json +14 -14
- package/lib/modules/bridge.js +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,10 @@ 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.15.4 (2025-09-15)
|
|
27
|
+
* (BenAhrdt) Bugfix send state topics retain
|
|
28
|
+
* (BenAhrdt) Bugfix with stateending
|
|
29
|
+
|
|
26
30
|
### 1.15.3 (2025-09-15)
|
|
27
31
|
* (BenAhrdt) dont translate the selected state in bridge config
|
|
28
32
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.15.
|
|
4
|
+
"version": "1.15.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.15.4": {
|
|
7
|
+
"en": "Bugfix send state topics retain\nBugfix with stateending",
|
|
8
|
+
"de": "Fehlerbehebung für das Beibehalten der Zustandsthemen beim Senden\nFehlerbehebung beim Zustandsende",
|
|
9
|
+
"ru": "Исправлена ошибка с сохранением тем состояний при отправке\nИсправлена ошибка со stateending",
|
|
10
|
+
"pt": "Correção de bug: envio de tópicos de estado mantendo a retenção.\nCorreção de bug com stateending",
|
|
11
|
+
"nl": "Bugfix stuurstatus onderwerpen behouden\nBugfix met stateending",
|
|
12
|
+
"fr": "Correction de bug pour conserver les sujets des états envoyés\nCorrection de bug avec stateEnding",
|
|
13
|
+
"it": "Risoluzione di bug per la conservazione dei topic di invio degli stati\nCorrezione di bug con stateending.",
|
|
14
|
+
"es": "Corrección de error en la retención de temas al enviar estados\nCorrección de error con state ending",
|
|
15
|
+
"pl": "Naprawiono błąd z zachowaniem tematów stanów wysyłanych.\nPoprawka błędu dotycząca kończenia stanu",
|
|
16
|
+
"uk": "Виправлено помилку збереження тем для відправлення стану\nВиправлено помилку з порядком стану",
|
|
17
|
+
"zh-cn": "修复发送状态主题时的保留问题\n修复了和状态结尾相关的问题"
|
|
18
|
+
},
|
|
6
19
|
"1.15.3": {
|
|
7
20
|
"en": "dont translate the selected state in bridge config",
|
|
8
21
|
"de": "Nicht den ausgewählten Status in der Bridge-Konfiguration übersetzen.",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Dodano ogólne powiadomienia offline i online do wykrytych urządzeń\nDodano ogólne powiadomienia do urządzenia o nazwie namespace adaptera",
|
|
81
94
|
"uk": "Додано загальні, офлайн та онлайн сповіщення до виявлених пристроїв\nДодано загальні сповіщення до пристрою під назвою namespace адаптера",
|
|
82
95
|
"zh-cn": "为发现的设备添加常规、离线和在线通知\n为名为适配器命名空间的设备添加常规通知"
|
|
83
|
-
},
|
|
84
|
-
"1.14.7": {
|
|
85
|
-
"en": "Add folders for target temperature in heating events\nCorrect unit handling and max value count in tab",
|
|
86
|
-
"de": "Ordner für Solltemperatur in Heizungsevents hinzufügen\nKorrekte Einheitenbehandlung und maximale Wertanzahl im Tab",
|
|
87
|
-
"ru": "Добавлены папки для целевой температуры в событиях отопления\nИсправлена обработка единиц и максимального количества значений на вкладке",
|
|
88
|
-
"pt": "Adicionar pastas para temperatura alvo em eventos de aquecimento\nCorrigir manuseio de unidades e contagem máxima de valores na aba",
|
|
89
|
-
"nl": "Mappen toevoegen voor doeltemperatuur in verwarmingsgebeurtenissen\nCorrecte eenhedenafhandeling en maximaal aantal waarden in tabblad",
|
|
90
|
-
"fr": "Ajouter des dossiers pour la température cible dans les événements de chauffage\nCorrection de la gestion des unités et du nombre maximal de valeurs dans l'onglet",
|
|
91
|
-
"it": "Aggiunta di cartelle per la temperatura target negli eventi di riscaldamento\nCorretto il trattamento delle unità e il numero massimo di valori nella scheda",
|
|
92
|
-
"es": "Agregar carpetas para la temperatura objetivo en eventos de calefacción\nCorregir el manejo de unidades y el número máximo de valores en la pestaña",
|
|
93
|
-
"pl": "Dodano foldery dla temperatury docelowej w zdarzeniach grzewczych\nPoprawiono obsługę jednostek i maksymalną liczbę wartości w zakładce",
|
|
94
|
-
"uk": "Додано папки для цільової температури у подіях опалення\nВиправлено обробку одиниць та максимальну кількість значень у вкладці",
|
|
95
|
-
"zh-cn": "在加热事件中添加目标温度文件夹\n修复单位处理和标签中的最大值计数"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -746,9 +746,12 @@ class bridgeClass {
|
|
|
746
746
|
if (typeof val !== 'string') {
|
|
747
747
|
val = JSON.stringify(val);
|
|
748
748
|
}
|
|
749
|
-
if (
|
|
749
|
+
if (!options) {
|
|
750
|
+
options = { retain: true };
|
|
751
|
+
} else if (options.retain === undefined) {
|
|
750
752
|
options.retain = true;
|
|
751
753
|
}
|
|
754
|
+
this.adapter.log.error(JSON.stringify(options));
|
|
752
755
|
await this.bridgeMqttClient.publish(this.PublishedIds[id].state_topic, val, options);
|
|
753
756
|
await this.adapter.setState('info.publishedIds', JSON.stringify(this.PublishedIds), true);
|
|
754
757
|
} else {
|
|
@@ -782,7 +785,7 @@ class bridgeClass {
|
|
|
782
785
|
(changeInfo.applicationId === config.Application || config.Application === '*') &&
|
|
783
786
|
(changeInfo.deviceEUI === config.Device || config.Device === '*') &&
|
|
784
787
|
(id.includes(`.${config.Folder}.`) || config.Folder === '*') &&
|
|
785
|
-
(id.endsWith(config.State) || config.State === '*')
|
|
788
|
+
(id.endsWith(`.${config.State}`) || config.State === '*')
|
|
786
789
|
) {
|
|
787
790
|
Bridgestate.discover = !config.exclude;
|
|
788
791
|
Bridgestate.publish = config.publish;
|
|
@@ -848,7 +851,7 @@ class bridgeClass {
|
|
|
848
851
|
(changeInfo.applicationId === config.Application || config.Application === '*') &&
|
|
849
852
|
(changeInfo.deviceEUI === config.Device || config.Device === '*') &&
|
|
850
853
|
(id.includes(`.${config.Folder}.`) || config.Folder === '*') &&
|
|
851
|
-
(id.endsWith(config.State) || config.State === '*')
|
|
854
|
+
(id.endsWith(`.${config.State}`) || config.State === '*')
|
|
852
855
|
) {
|
|
853
856
|
Bridgestate.discover = !config.exclude;
|
|
854
857
|
Bridgestate.publish = config.publish;
|