iobroker.lorawan 1.19.30 → 1.19.31

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.19.31 (2026-01-16)
27
+ * (BenAhrdt) add try catch for adding filter (strage bug)
28
+
26
29
  ### 1.19.30 (2026-01-16)
27
30
  * (BenAhrdt) add simulation of Position for cover
28
31
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.19.30",
4
+ "version": "1.19.31",
5
5
  "news": {
6
+ "1.19.31": {
7
+ "en": "add try catch for adding filter (strage bug)",
8
+ "de": "fügen sie versuchen zu fangen für das hinzufügen von filter (strge bug)",
9
+ "ru": "добавить try catch для добавления фильтра (strage bug)",
10
+ "pt": "adicionar tentativa de captura para adicionar filtro (erro de fita)",
11
+ "nl": "add catch for add filter (strage bug)",
12
+ "fr": "ajouter une capture pour ajouter un filtre",
13
+ "it": "aggiungere la cattura per l'aggiunta di filtro (insetto di sforzo)",
14
+ "es": "añadir probar captura para añadir filtro (falta de tracción)",
15
+ "pl": "dodaj chwyt do dodawania filtra (błąd strage)",
16
+ "uk": "додати намагатися ловити для додавання фільтра (перевірити помилки)",
17
+ "zh-cn": "添加添加过滤器的尝试抓取( strage bug)"
18
+ },
6
19
  "1.19.30": {
7
20
  "en": "add simulation of Position for cover",
8
21
  "de": "simulation von Position für Cover hinzufügen",
@@ -80,19 +93,6 @@
80
93
  "pl": "obsługiwać odrzucenie obietnicy przed publikacją",
81
94
  "uk": "ручка обіцяє відхилення перед опублікуванням",
82
95
  "zh-cn": "在发布前处理拒绝承诺"
83
- },
84
- "1.19.24": {
85
- "en": "assign Filter at startup\nbugfix assign color temperature id in case of no color is configed",
86
- "de": "filter beim Start zuordnen\nbugfix ordnen sie farbtemperatur id, wenn keine farbe konfisziert wird",
87
- "ru": "назначение фильтра при запуске\nbugfix присваивает цветовую температуру id в случае отсутствия цвета",
88
- "pt": "atribuir o Filtro na inicialização\nbugfix atribuir id de temperatura de cor no caso de nenhuma cor ser configurada",
89
- "nl": "filter toewijzen bij opstarten\nbugfix kleurtemperatuur-id toewijzen in geval er geen kleur is ingesteld",
90
- "fr": "assigner le filtre au démarrage\nbugfix assigner l'id de température de couleur en cas de aucune couleur est configuré",
91
- "it": "assegnare il filtro all'avvio\nbugfix assegna la temperatura di colore id in caso di nessun colore è configed",
92
- "es": "asignar filtro al inicio\nbugfix asigna la temperatura de color id en caso de que no se confite color",
93
- "pl": "przypisz filtr przy starcie\nbugfix przypisać id temperatury koloru w przypadku braku koloru jest configed",
94
- "uk": "призначте фільтр на старті\nвиправлення призначає колірну температуру при відсутності кольору",
95
- "zh-cn": "启动时指定过滤器\n在无颜色时指定颜色温度 id"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -29,12 +29,17 @@ class bridgeMqttClientClass {
29
29
 
30
30
  this.client.on('connect', async () => {
31
31
  // Assign filter, if present
32
- if (this.adapter.objectExists('bridge.debug.incommingTopicFilter')) {
33
- this.filter.incomming = (await this.adapter.getStateAsync('bridge.debug.incommingTopicFilter')).val;
34
- }
35
- if (this.adapter.objectExists('bridge.debug.outgoingTopicFilter')) {
36
- this.filter.outgoing = (await this.adapter.getStateAsync('bridge.debug.outgoingTopicFilter')).val;
32
+ try {
33
+ if (this.adapter.objectExists('bridge.debug.incommingTopicFilter')) {
34
+ this.filter.incomming = (await this.adapter.getStateAsync('bridge.debug.incommingTopicFilter')).val;
35
+ }
36
+ if (this.adapter.objectExists('bridge.debug.outgoingTopicFilter')) {
37
+ this.filter.outgoing = (await this.adapter.getStateAsync('bridge.debug.outgoingTopicFilter')).val;
38
+ }
39
+ } catch (error) {
40
+ this.adapter.log.error(`error at conect and assign filter: ${error}`);
37
41
  }
42
+
38
43
  if (!this.internalConnectionstate) {
39
44
  this.adapter.log.info(`Connection to Bridge is active.`);
40
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.19.30",
3
+ "version": "1.19.31",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",