iobroker.lorawan 1.18.7 → 1.18.8

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,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.8 (2025-11-23)
27
+ * (BenAhrdt) Bugfix: no notification in case of no bridge is used
28
+
26
29
  ### 1.18.7 (2025-11-22)
27
30
  * (BenAhrdt) Add light to possible special devices
28
31
 
@@ -1786,6 +1786,24 @@
1786
1786
  "lg": 2,
1787
1787
  "xl": 2
1788
1788
  },
1789
+ {
1790
+ "type": "select",
1791
+ "attr": "LightColorType",
1792
+ "label": "LightColorType",
1793
+ "tooltip": "LightColorTypeTooltip",
1794
+ "options": [
1795
+ {"label":"HexToRGB","value":"HexToRGB"},
1796
+ {"label":"HexToHS","value":"HexToHS"},
1797
+ {"label":"HexToXY","value":"HexToXY"}
1798
+ ],
1799
+ "default": "HexToRGB",
1800
+ "hidden": "true",
1801
+ "xs": 12,
1802
+ "sm": 2,
1803
+ "md": 2,
1804
+ "lg": 2,
1805
+ "xl": 2
1806
+ },
1789
1807
  {
1790
1808
  "type": "staticText",
1791
1809
  "attr": "_staticTextTarget",
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.18.7",
4
+ "version": "1.18.8",
5
5
  "news": {
6
+ "1.18.8": {
7
+ "en": "Bugfix: no notification in case of no bridge is used",
8
+ "de": "Bugfix: keine Benachrichtigung bei Nutzung einer Brücke",
9
+ "ru": "Bugfix: отсутствие уведомления в случае отсутствия моста",
10
+ "pt": "Correção de Bug: não é usada nenhuma notificação em caso de não haver ponte",
11
+ "nl": "Bugfix: geen melding in geval van geen brug wordt gebruikt",
12
+ "fr": "Bugfix: aucune notification en cas d'absence de pont n'est utilisée",
13
+ "it": "Bugfix: nessuna notifica in caso di utilizzo di nessun ponte",
14
+ "es": "Bugfix: no se utiliza notificación en caso de no puente",
15
+ "pl": "Bugfix: brak powiadomienia w przypadku braku mostu",
16
+ "uk": "Виправлення помилок: відсутність сповіщення при відсутності місту",
17
+ "zh-cn": "Bugfix: 在没有桥时没有使用通知"
18
+ },
6
19
  "1.18.7": {
7
20
  "en": "Add light to possible special devices",
8
21
  "de": "Licht zu möglichen Spezialgeräten hinzufügen",
@@ -80,19 +93,6 @@
80
93
  "pl": "Zmień format tematu z urządzenia _ state na urządzenie / stan",
81
94
  "uk": "Зміна Themeformat від device_state до пристрою/state",
82
95
  "zh-cn": "将主题格式从设备_状态更改为设备/状态"
83
- },
84
- "1.18.1": {
85
- "en": "Add Bridge Type Smarthome\nBugfix subscribed Topics\nBugfix on case of objectid starts with '.'",
86
- "de": "Bridge Type Smarthome hinzufügen\nBugfix abonniert Themen\nBugfix auf Fall von objectid beginnt mit '. '",
87
- "ru": "Обновление Bridge Type Smarthome\nBugfix подписался на Topics\nБагфикс на случай объектидов начинается с '. \"",
88
- "pt": "Adicionar tipo de ponte Smarthome\nTópicos subscritos por Bugfix\nBugfix no caso do objeto começa com '. '",
89
- "nl": "Brugtype Smarthome toevoegen\nBugfix-geabonneerde onderwerpen\nBugfix op geval objectid begint met '. '",
90
- "fr": "Ajouter le type de pont Smarthome\nSujets souscrits Bugfix\nBugfix sur le cas de l'objet commence par '. '",
91
- "it": "Aggiungi Bridge Type Smarthome\nBugfix sottoscritto Argomenti\nBugfix su caso di oggetto inizia con '. '",
92
- "es": "Agregar Bridge Type Smarthome\nBugfix suscrito Temas\nBugfix en caso de objetado comienza con '. '",
93
- "pl": "Dodaj typ mostu Smarthome\nBugfix subskrybowane tematy\nBugfix w przypadku obiektów zaczyna się od \". '",
94
- "uk": "Додати Bridge Type Smarthome\nВиправлено помилку\nВиправлення помилок при об'єктиві починається з '. Р",
95
- "zh-cn": "添加桥型 Smarthome\nBugfix 已订阅主题\n对象大小写上的错误fix 开始于 。 '"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -306,12 +306,14 @@ class directorieshandlerClass {
306
306
  'Lorawan device back online',
307
307
  message,
308
308
  );
309
- let notificationId = `${this.adapter.namespace}.${this.adapter.bridge.Words.notification}${this.adapter.bridge.GeneralId}`;
310
- await this.adapter.bridge?.publishNotification(
311
- notificationId,
312
- message,
313
- this.adapter.bridge?.Notificationlevel.deviceState,
314
- );
309
+ if (this.adapter.config.BridgeType !== 'off') {
310
+ let notificationId = `${this.adapter.namespace}.${this.adapter.bridge.Words.notification}${this.adapter.bridge.GeneralId}`;
311
+ await this.adapter.bridge?.publishNotification(
312
+ notificationId,
313
+ message,
314
+ this.adapter.bridge?.Notificationlevel.deviceState,
315
+ );
316
+ }
315
317
  }
316
318
  }
317
319
  }
@@ -510,7 +512,9 @@ class directorieshandlerClass {
510
512
  }
511
513
  }
512
514
  } catch (error) {
513
- this.adapter.log.error(`error at ${activeFunction}: ${error} - - - Message: ${JSON.stringify(message)}`);
515
+ this.adapter.log.error(
516
+ `error at ${activeFunction}: ${error} - - - Topic: ${JSON.stringify(topic)} - - - Message: ${JSON.stringify(message)}`,
517
+ );
514
518
  }
515
519
  }
516
520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.18.7",
3
+ "version": "1.18.8",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",