iobroker.lorawan 1.15.0 → 1.15.2

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 CHANGED
@@ -23,6 +23,14 @@ 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.2 (2025-09-15)
27
+ * (BenAhrdt) change wording of notifications
28
+ * (BenAhrdt) import diagnostic and config fpr entity_type
29
+ * (BenAhrdt) change extSernsorTemperature in ExtSernsorTemperature
30
+
31
+ ### 1.15.1 (2025-09-14)
32
+ * (BenAhrdt) Send Trigger retain = false
33
+
26
34
  ### 1.15.0 (2025-09-14)
27
35
  * (BenAhrdt) Bring notification for Bridge in Admin
28
36
  * (BenAhrdt) Notify different trigger to Bridge
@@ -157,6 +157,7 @@
157
157
  "LoRaWAN device is back online": "Folgendes Lorawan Gerät ist wieder online",
158
158
  "LoRaWAN device is offline": "Folgendes Lorawan Gerät ist offline",
159
159
  "connection to bridge is activ": "Die Verbindung zur Bridge ist aktiv",
160
- "connection to bridge will be closed": "Die Verbindung zur Bridge wird geschlossen",
161
- "new device discovered": "Neues Gerät discovered"
160
+ "connection to bridge is closed": "Die Verbindung zur Bridge ist geschlossen",
161
+ "new device discovered": "Neues Gerät discovered",
162
+ "Adapter will be stoped": "Der LoRaWAN Bridge Adapter wurde gestoppt"
162
163
  }
@@ -157,6 +157,7 @@
157
157
  "LoRaWAN device is back online": "The following LoRaWAN device is back online",
158
158
  "LoRaWAN device is offline": "The following LoRaWAN device is offline",
159
159
  "connection to bridge is activ": "connection to bridge is activ",
160
- "connection to bridge will be closed": "connection to bridge will be closed",
161
- "new device discovered": "new device discovered"
160
+ "connection to bridge is closed": "connection to bridge will be closed",
161
+ "new device discovered": "new device discovered",
162
+ "Adapter will be stoped": "The LoRaWAN Bridge Adapter will be stoped"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "sintificaciones",
155
155
  "LoRaWAN Network Service is connected": "El servicio de red de Lorawan está conectado",
156
156
  "LoRaWAN Network Service is disconnected": "El servicio de la red Lorawan está desconectado",
157
- "LoRaWAN device is back online": "El dispositivo Lorawan está de vuelta en línea",
158
- "LoRaWAN device is offline": "El dispositivo Lorawan está fuera de línea",
157
+ "LoRaWAN device is back online": "El siguiente dispositivo Lorawan está en línea",
158
+ "LoRaWAN device is offline": "El siguiente dispositivo Lorawan está fuera de línea",
159
159
  "connection to bridge is activ": "La conexión al puente es activado",
160
- "connection to bridge will be closed": "La conexión al puente se cerrará",
161
- "new device discovered": "nuevo dispositivo descubierto"
160
+ "connection to bridge is closed": "La conexión al puente se cerrará",
161
+ "new device discovered": "nuevo dispositivo descubierto",
162
+ "Adapter will be stoped": "El adaptador del puente Lorawan se detendrá"
162
163
  }
@@ -33,7 +33,7 @@
33
33
  "confirmed": "confirmé",
34
34
  "confirmedTooltip": "Si vous aimez envoyer le téléchargement avec le message confirmé, activez cette option",
35
35
  "front": "valeur avant",
36
- "frontTooltip": "Insérer la valeur avant, qui sera réglée sur la liaison descendante (la valeur doit être en chaîne de type hexadécimal)",
36
+ "frontTooltip": "Insérez la valeur avant, qui sera réglée sur la liaison descendante (la valeur doit être en chaîne de type hexadécimal)",
37
37
  "end": "valeur finale",
38
38
  "endTooltip": "Insérer la valeur finale, qui sera définie sur la liaison descendante (la valeur doit être en chaîne de type hexadécimal)",
39
39
  "lengthInByte": "longueur d'état (octet)",
@@ -77,7 +77,7 @@
77
77
  "unused": "inutilisé",
78
78
  "downlinkConfigHeader": "Ajoutez les liaisons descendantes de votre appareil spécifiques",
79
79
  "customConfig": "\"Custom\" -konfiguation",
80
- "customConfigHeader": "Ajoutez un objet personnalisé spécifique à chaque état décodé",
80
+ "customConfigHeader": "Ajouter un objet personnalisé spécifique à chaque état décodé",
81
81
  "customJson": "Objekt für den \"Custom\" -Bereich im \"commun\" objekt",
82
82
  "customJsonTooltip": "Fügen Sie Ein objekt Hinzu, Welches en commun. Custom Geschrieben Wird.",
83
83
  "customJsonInformation": "Avec cette fonction, il est possible d'ajouter vos propres entrées personnalisées aux états décodés. Entrez simplement le contenu JSON souhaité en fonction active.",
@@ -154,9 +154,10 @@
154
154
  "no notifications": "non-otifications",
155
155
  "LoRaWAN Network Service is connected": "Le service réseau Lorawan est connecté",
156
156
  "LoRaWAN Network Service is disconnected": "Le service réseau Lorawan est déconnecté",
157
- "LoRaWAN device is back online": "L'appareil Lorawan est de retour en ligne",
158
- "LoRaWAN device is offline": "Le dispositif Lorawan est hors ligne",
157
+ "LoRaWAN device is back online": "L'appareil Lorawan suivant est de retour en ligne",
158
+ "LoRaWAN device is offline": "Le dispositif Lorawan suivant est hors ligne",
159
159
  "connection to bridge is activ": "La connexion au pont est activ",
160
- "connection to bridge will be closed": "La connexion au pont sera fermée",
161
- "new device discovered": "Nouvel appareil découvert"
160
+ "connection to bridge is closed": "La connexion au pont sera fermée",
161
+ "new device discovered": "Nouvel appareil découvert",
162
+ "Adapter will be stoped": "L'adaptateur de pont Lorawan sera arrêté"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "nonotificazioni",
155
155
  "LoRaWAN Network Service is connected": "Il servizio di rete Lorawan è connesso",
156
156
  "LoRaWAN Network Service is disconnected": "Il servizio di rete Lorawan è disconnesso",
157
- "LoRaWAN device is back online": "Il dispositivo Lorawan è tornato online",
158
- "LoRaWAN device is offline": "Il dispositivo Lorawan è offline",
157
+ "LoRaWAN device is back online": "Il seguente dispositivo Lorawan è tornato online",
158
+ "LoRaWAN device is offline": "Il seguente dispositivo Lorawan è offline",
159
159
  "connection to bridge is activ": "La connessione a bridge è attiva",
160
- "connection to bridge will be closed": "La connessione al ponte sarà chiusa",
161
- "new device discovered": "Nuovo dispositivo scoperto"
160
+ "connection to bridge is closed": "La connessione al ponte sarà chiusa",
161
+ "new device discovered": "Nuovo dispositivo scoperto",
162
+ "Adapter will be stoped": "L'adattatore del ponte Lorawan sarà fermato"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "niet -outificaties",
155
155
  "LoRaWAN Network Service is connected": "Lorawan Network Service is verbonden",
156
156
  "LoRaWAN Network Service is disconnected": "Lorawan Network Service is losgekoppeld",
157
- "LoRaWAN device is back online": "Lorawan -apparaat is weer online",
158
- "LoRaWAN device is offline": "Lorawan -apparaat is offline",
157
+ "LoRaWAN device is back online": "Het volgende Lorawan -apparaat is weer online",
158
+ "LoRaWAN device is offline": "Het volgende Lorawan -apparaat is offline",
159
159
  "connection to bridge is activ": "Verbinding met Bridge is activ",
160
- "connection to bridge will be closed": "Verbinding met Bridge wordt gesloten",
161
- "new device discovered": "Nieuw apparaat ontdekt"
160
+ "connection to bridge is closed": "Verbinding met Bridge wordt gesloten",
161
+ "new device discovered": "Nieuw apparaat ontdekt",
162
+ "Adapter will be stoped": "De Lorawan Bridge -adapter wordt gestopt"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "nietyfikacje",
155
155
  "LoRaWAN Network Service is connected": "Lorawan Network Service jest podłączona",
156
156
  "LoRaWAN Network Service is disconnected": "Lorawan Network Service jest odłączona",
157
- "LoRaWAN device is back online": "Urządzenie Lorawan powraca online",
158
- "LoRaWAN device is offline": "Urządzenie Lorawan jest offline",
157
+ "LoRaWAN device is back online": "Następujące urządzenie Lorawan powraca do Internetu",
158
+ "LoRaWAN device is offline": "Następujące urządzenie Lorawan jest offline",
159
159
  "connection to bridge is activ": "Połączenie z mostem jest aktywne",
160
- "connection to bridge will be closed": "Połączenie z mostem zostanie zamknięte",
161
- "new device discovered": "odkryte nowe urządzenie"
160
+ "connection to bridge is closed": "Połączenie z mostem zostanie zamknięte",
161
+ "new device discovered": "odkryte nowe urządzenie",
162
+ "Adapter will be stoped": "Adapter mostu Lorawan zostanie zatrzymany"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "nãotificações",
155
155
  "LoRaWAN Network Service is connected": "O serviço de rede de Lorawan está conectado",
156
156
  "LoRaWAN Network Service is disconnected": "O serviço de rede de Lorawan está desconectado",
157
- "LoRaWAN device is back online": "O dispositivo Lorawan está novamente online",
158
- "LoRaWAN device is offline": "O dispositivo Lorawan está offline",
157
+ "LoRaWAN device is back online": "O seguinte dispositivo Lorawan está novamente online",
158
+ "LoRaWAN device is offline": "O seguinte dispositivo Lorawan está offline",
159
159
  "connection to bridge is activ": "A conexão com a ponte é ativista",
160
- "connection to bridge will be closed": "A conexão com a ponte será fechada",
161
- "new device discovered": "novo dispositivo descoberto"
160
+ "connection to bridge is closed": "A conexão com a ponte será fechada",
161
+ "new device discovered": "novo dispositivo descoberto",
162
+ "Adapter will be stoped": "O adaptador da ponte Lorawan será interrompido"
162
163
  }
@@ -33,7 +33,7 @@
33
33
  "confirmed": "подтвержденный",
34
34
  "confirmedTooltip": "Если вы хотите отправить загрузку с подтвержденным сообщением, включите эту опцию",
35
35
  "front": "фронт",
36
- "frontTooltip": "Вставьте переднюю ценность, WICH будет установлена ​​на нисходящую линейку (значение должно быть в строке HEX - Exept Type)",
36
+ "frontTooltip": "Вставьте переднюю ценность, Wich будет установлена ​​на нисходящую линию (значение должно быть в строке Hex - Exept Type)",
37
37
  "end": "конечное значение",
38
38
  "endTooltip": "Вставьте конечную стоимость, WICH будет установлена ​​на нисходящую линию (значение должно быть в строке HEX - Exept Type)",
39
39
  "lengthInByte": "продолжительность состояния (байт)",
@@ -154,9 +154,10 @@
154
154
  "no notifications": "Нетификации",
155
155
  "LoRaWAN Network Service is connected": "СЕВЕТЫЙ СЕВЕТ ЛОРАВАН подключен",
156
156
  "LoRaWAN Network Service is disconnected": "Сетевая служба Lorawan отключена",
157
- "LoRaWAN device is back online": "Устройство Lorawan возвращается в Интернет",
158
- "LoRaWAN device is offline": "Устройство Lorawan в автономном режиме",
157
+ "LoRaWAN device is back online": "Следующее устройство Lorawan возвращается в Интернет",
158
+ "LoRaWAN device is offline": "Следующее устройство Lorawan в автономном режиме",
159
159
  "connection to bridge is activ": "Соединение с мостом является активацией",
160
- "connection to bridge will be closed": "Соединение с мостом будет закрыто",
161
- "new device discovered": "Новое устройство обнаружено"
160
+ "connection to bridge is closed": "Соединение с мостом будет закрыто",
161
+ "new device discovered": "Новое устройство обнаружено",
162
+ "Adapter will be stoped": "Адаптер моста Лораван будет остановлен"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "неофіції",
155
155
  "LoRaWAN Network Service is connected": "Служба мережі Lorawan підключена",
156
156
  "LoRaWAN Network Service is disconnected": "Служба мережі Lorawan відключена",
157
- "LoRaWAN device is back online": "Пристрій Lorawan повернувся в Інтернет",
158
- "LoRaWAN device is offline": "Пристрій Lorawan офлайн",
157
+ "LoRaWAN device is back online": "Наступний пристрій Lorawan повернувся в Інтернет",
158
+ "LoRaWAN device is offline": "Наступний пристрій Lorawan є в режимі офлайн",
159
159
  "connection to bridge is activ": "Підключення до мосту активується",
160
- "connection to bridge will be closed": "Підключення до мосту буде закрито",
161
- "new device discovered": "Виявлений новий пристрій"
160
+ "connection to bridge is closed": "Підключення до мосту буде закрито",
161
+ "new device discovered": "Виявлений новий пристрій",
162
+ "Adapter will be stoped": "Адаптер мосту Лоравана буде зупинено"
162
163
  }
@@ -154,9 +154,10 @@
154
154
  "no notifications": "非专用",
155
155
  "LoRaWAN Network Service is connected": "Lorawan网络服务已连接",
156
156
  "LoRaWAN Network Service is disconnected": "Lorawan网络服务已断开连接",
157
- "LoRaWAN device is back online": "Lorawan设备返回在线",
158
- "LoRaWAN device is offline": "Lorawan设备离线",
157
+ "LoRaWAN device is back online": "以下Lorawan设备返回在线",
158
+ "LoRaWAN device is offline": "以下Lorawan设备离线",
159
159
  "connection to bridge is activ": "连接到桥梁是激活",
160
- "connection to bridge will be closed": "连接到桥梁将关闭",
161
- "new device discovered": "发现了新设备"
160
+ "connection to bridge is closed": "连接到桥梁将关闭",
161
+ "new device discovered": "发现了新设备",
162
+ "Adapter will be stoped": "Lorawan桥适配器将停止"
162
163
  }
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.15.0",
4
+ "version": "1.15.2",
5
5
  "news": {
6
+ "1.15.2": {
7
+ "en": "change wording of notifications\nimport diagnostic and config fpr entity_type\nchange extSernsorTemperature in ExtSernsorTemperature",
8
+ "de": "Änderung der Benachrichtigungen\nDiagnose und konfiguriere entity_type\nÄndern von extSernsorTemperature in ExtSernsorTemperature",
9
+ "ru": "изменить формулировку уведомлений\nИсправление диагностики и конфигурации для типа entity\nИзменено extSernsorTemperature на ExtSernsorTemperature",
10
+ "pt": "alterar a redação das notificações\nimportação de diagnóstico e configuração para o tipo de entidade\nAlterar extSernsorTemperature para ExtSernsorTemperature",
11
+ "nl": "wijziging van meldingen\nimport diagnose en configuratie voor entity_type\nVerander extSernsorTemperature in ExtSernsorTemperature",
12
+ "fr": "modifier le libellé des notifications\nImporter le diagnostic et la configuration pour le type d'entité\nChanger extSernsorTemperature en ExtSernsorTemperature",
13
+ "it": "modificare i testi delle notifiche\nimport diagnostiche e configurazioni per il tipo di entità\nModifica extSernsorTemperature in ExtSernsorTemperature",
14
+ "es": "cambiar la redacción de las notificaciones\nimportar diagnóstico y configuración para el tipo de entidad\nCambiar extSensorTemperature a ExtSensorTemperature",
15
+ "pl": "zmień sformułowanie powiadomień\nimport diagnostyka i konfiguracja dla entity_type\nzmień extSensorTemperature na ExtSensorTemperature",
16
+ "uk": "змінити формулювання сповіщень\nімпорт діагнострики та конфігурації для типу entity\nЗміна extSensorTemperature на ExtSensorTemperature",
17
+ "zh-cn": "更改通知内容\n为entity_type添加诊断和配置\n将\"extSensorTemperature\"更改为\"ExtSensorTemperature\""
18
+ },
19
+ "1.15.1": {
20
+ "en": "Send trigger with retain = false",
21
+ "de": "Trigger mit retain = false senden",
22
+ "ru": "Отправка триггера с retain = false",
23
+ "pt": "Enviar trigger com retain = false",
24
+ "nl": "Verzend trigger met retain = false",
25
+ "fr": "Envoyer le trigger avec retain = false",
26
+ "it": "Invia trigger con retain = false",
27
+ "es": "Enviar trigger con retain = false",
28
+ "pl": "Wyślij trigger z retain = false",
29
+ "uk": "Надіслати тригер з retain = false",
30
+ "zh-cn": "发送带有 retain = false 的触发器"
31
+ },
6
32
  "1.15.0": {
7
33
  "en": "Bring notification for bridge in admin\nNotify different triggers to bridge",
8
34
  "de": "Benachrichtigung für Bridge im Admin hinzufügen\nUnterschiedliche Trigger an Bridge melden",
@@ -67,32 +93,6 @@
67
93
  "pl": "Więcej logowania w trybie debugowania",
68
94
  "uk": "Більше журналювання в режимі налагодження",
69
95
  "zh-cn": "调试模式下的更多日志记录"
70
- },
71
- "1.14.5": {
72
- "en": "Save last 10 published and subscribed values",
73
- "de": "Speichere die letzten 10 veröffentlichten und abonnierten Werte",
74
- "ru": "Сохранение последних 10 опубликованных и подписанных значений",
75
- "pt": "Salvar os últimos 10 valores publicados e subscritos",
76
- "nl": "Bewaar de laatste 10 gepubliceerde en geabonneerde waarden",
77
- "fr": "Sauvegarder les 10 dernières valeurs publiées et souscrites",
78
- "it": "Salva gli ultimi 10 valori pubblicati e sottoscritti",
79
- "es": "Guardar los últimos 10 valores publicados y suscritos",
80
- "pl": "Zapisz ostatnie 10 opublikowanych i subskrybowanych wartości",
81
- "uk": "Зберігати останні 10 опублікованих і підписаних значень",
82
- "zh-cn": "保存最近 10 个已发布和已订阅的值"
83
- },
84
- "1.14.4": {
85
- "en": "Return the virtual mode",
86
- "de": "Rückkehr des Virtual Mode",
87
- "ru": "Возврат виртуального режима",
88
- "pt": "Retornar o modo virtual",
89
- "nl": "Herstel de virtuele modus",
90
- "fr": "Rétablir le mode virtuel",
91
- "it": "Ripristino della modalità virtuale",
92
- "es": "Restaurar el modo virtual",
93
- "pl": "Przywrócenie trybu wirtualnego",
94
- "uk": "Повернення віртуального режиму",
95
- "zh-cn": "恢复虚拟模式"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -144,7 +144,7 @@ class assignhandlerClass {
144
144
  },
145
145
  },
146
146
  },
147
- extSensorTemperature: {
147
+ ExtSensorTemperature: {
148
148
  approvedFolders: {
149
149
  'uplink.decoded': {
150
150
  assignfunction: this.commonAssign,
@@ -204,7 +204,7 @@ class bridgeClass {
204
204
  );
205
205
  this.VitualIds[this.SubscribedTopics[topic].id] = message;
206
206
  // Return the virtual mode
207
- await this.publishId(this.SubscribedTopics[topic].id, message);
207
+ await this.publishId(this.SubscribedTopics[topic].id, message, {});
208
208
  return;
209
209
  }
210
210
  await this.adapter.setState(this.SubscribedTopics[topic].id, message);
@@ -243,7 +243,10 @@ class bridgeClass {
243
243
  this.adapter.bridge?.Notificationlevel.deviceState,
244
244
  false,
245
245
  );
246
- await this.publishId(id, Stateval);
246
+ // Delay for publish new entitys
247
+ setTimeout(async () => {
248
+ await this.publishId(id, Stateval, {});
249
+ }, 1000);
247
250
  }
248
251
  } else {
249
252
  this.adapter.log.debug(`work called with id ${id}, but Bridge is not connected yet.`);
@@ -611,9 +614,9 @@ class bridgeClass {
611
614
  },
612
615
  },
613
616
  });
614
- await this.publishId(config.climateIds.target, undefined);
615
- await this.publishId(config.climateIds.act, undefined);
616
- await this.publishId(config.climateIds.mode, modeval);
617
+ await this.publishId(config.climateIds.target, undefined, {});
618
+ await this.publishId(config.climateIds.act, undefined, {});
619
+ await this.publishId(config.climateIds.mode, modeval, {});
617
620
  }
618
621
  }
619
622
  } catch (error) {
@@ -676,7 +679,7 @@ class bridgeClass {
676
679
  if (this.adapter.bridge.Notifications[id]) {
677
680
  if (device) {
678
681
  if (this.adapter.config.BridgeDevicenotificationActivation.includes(level)) {
679
- await this.adapter.bridge.publishId(id, message);
682
+ await this.publishId(id, message, { retain: false });
680
683
  } else {
681
684
  this.adapter.log.debug(
682
685
  `the level ${level} is not reached. Actual level: ${this.adapter.config.BridgeDevicenotificationActivation}`,
@@ -684,7 +687,7 @@ class bridgeClass {
684
687
  }
685
688
  } else {
686
689
  if (this.adapter.config.BridgenotificationActivation.includes(level)) {
687
- await this.adapter.bridge.publishId(id, message);
690
+ await this.publishId(id, message, { retain: false });
688
691
  } else {
689
692
  this.adapter.log.debug(
690
693
  `the level ${level} is not reached. Actual level: ${this.adapter.config.BridgenotificationActivation}`,
@@ -706,8 +709,9 @@ class bridgeClass {
706
709
  /**
707
710
  * @param id Id, wich is to discover
708
711
  * @param val Value of the used Id
712
+ * @param options options for special values
709
713
  */
710
- async publishId(id, val) {
714
+ async publishId(id, val, options) {
711
715
  const activeFunction = 'bridge.js - publishId';
712
716
  this.adapter.log.debug(`Function ${activeFunction} started.`);
713
717
  try {
@@ -742,9 +746,10 @@ class bridgeClass {
742
746
  if (typeof val !== 'string') {
743
747
  val = JSON.stringify(val);
744
748
  }
745
- await this.bridgeMqttClient.publish(this.PublishedIds[id].state_topic, val, {
746
- retain: true,
747
- });
749
+ if (options && !options.reatin === false) {
750
+ options.retain = true;
751
+ }
752
+ await this.bridgeMqttClient.publish(this.PublishedIds[id].state_topic, val, options);
748
753
  await this.adapter.setState('info.publishedIds', JSON.stringify(this.PublishedIds), true);
749
754
  } else {
750
755
  this.adapter.log.debug(`Id ${id} is not set for publish.`);
@@ -1078,7 +1083,18 @@ class bridgeClass {
1078
1083
  attributes.unit_of_measurement = 'lx'; //normalizedUnit || 'lx';
1079
1084
  } else if (role.includes('battery')) {
1080
1085
  attributes.device_class = 'battery';
1086
+ attributes.entity_category = 'diagnostic';
1081
1087
  attributes.unit_of_measurement = normalizedUnit || '%';
1088
+ } else if (role.includes('voltage')) {
1089
+ attributes.device_class = 'voltage';
1090
+ attributes.entity_category = 'diagnostic';
1091
+ attributes.unit_of_measurement = normalizedUnit || 'V';
1092
+ if (attributes.unit_of_measurement === 'V') {
1093
+ attributes.suggested_display_precision = 2;
1094
+ }
1095
+ } else if (role.includes('level.timer')) {
1096
+ attributes.entity_category = 'config';
1097
+ attributes.unit_of_measurement = normalizedUnit || 'min';
1082
1098
  } else if (role.includes('power') && !normalizedUnitLower.includes('wh')) {
1083
1099
  // Sonoff mit value.power.consumtion und kWh ausnehmen
1084
1100
  attributes.device_class = 'power';
@@ -84,7 +84,7 @@ class bridgeMqttClientClass {
84
84
  this.adapter.registerNotification(
85
85
  'lorawan',
86
86
  'Bridge disconnected',
87
- this.adapter.i18nTranslation['connection to bridge will be closed'],
87
+ this.adapter.i18nTranslation['connection to bridge is closed'],
88
88
  );
89
89
  }
90
90
  this.internalConnectionstate = false;
package/main.js CHANGED
@@ -386,7 +386,7 @@ class Lorawan extends utils.Adapter {
386
386
  const notificationId = `${this.bridge?.Words.notification}${this.bridge?.GeneralId}`;
387
387
  await this.bridge?.publishNotification(
388
388
  notificationId,
389
- this.i18nTranslation['connection to bridge will be closed'],
389
+ this.i18nTranslation['Adapter will be stoped'],
390
390
  this.bridge?.Notificationlevel.bridgeConnection,
391
391
  false,
392
392
  );
@@ -559,7 +559,7 @@ class Lorawan extends utils.Adapter {
559
559
  this.setState(id, state.val, true);
560
560
  }
561
561
  } else {
562
- await this.bridge?.publishId(await this.removeNamespace(id), state.val);
562
+ await this.bridge?.publishId(await this.removeNamespace(id), state.val, {});
563
563
  }
564
564
  } else {
565
565
  // The state was deleted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",