iobroker.lorawan 1.18.53 → 1.18.55

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,12 @@ 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.55 (2025-12-29)
27
+ * (BenAhrdt) bugfix folderinclusion
28
+
29
+ ### 1.18.54 (2025-12-29)
30
+ * (BenAhrdt) add '.' to folders in config selection
31
+
26
32
  ### 1.18.53 (2025-12-29)
27
33
  * (BenAhrdt) add possibility to add folders to
28
34
 
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.18.53",
4
+ "version": "1.18.55",
5
5
  "news": {
6
+ "1.18.55": {
7
+ "en": "bugfix folderinclusion",
8
+ "de": "bugfix ordnerinclusion",
9
+ "ru": "bugfix включение папок",
10
+ "pt": "inclusão de pastas de correção de erros",
11
+ "nl": "bugfix-map-integratie",
12
+ "fr": "bugfix dossierinclusion",
13
+ "it": "bugfix folderinclusione",
14
+ "es": "carpeta bugfixinclusion",
15
+ "pl": "włączenie folderu bugfix",
16
+ "uk": "папка прикусу",
17
+ "zh-cn": "包含错误文件夹"
18
+ },
19
+ "1.18.54": {
20
+ "en": "add '.' to folders in config selection",
21
+ "de": "fügen sie '.' in ordner in config auswahl",
22
+ "ru": "добавить '.' в папки в настройках выбора",
23
+ "pt": "adicionar '.' às pastas na seleção de configuração",
24
+ "nl": "'.' toevoegen aan mappen in configuratieselectie",
25
+ "fr": "ajouter '.' aux dossiers dans la sélection de configuration",
26
+ "it": "aggiungere '.' alle cartelle nella selezione di configurazione",
27
+ "es": "añadir '.' a carpetas en la selección de configuración",
28
+ "pl": "dodaj '.' do folderów w zaznaczeniu konfiguracyjnym",
29
+ "uk": "додати '.' до папок у вибраному конфігурації",
30
+ "zh-cn": "在配置选中的文件夹中添加“. ”"
31
+ },
6
32
  "1.18.53": {
7
33
  "en": "add possibility to add folders to",
8
34
  "de": "die möglichkeit hinzufügen von ordnern",
@@ -67,32 +93,6 @@
67
93
  "pl": "Czytaj i wysyłaj zawsze wszystkie atrybuty światła",
68
94
  "uk": "Читайте і надсилайте завжди всі атрибути світла",
69
95
  "zh-cn": "读取并发送所有光属性"
70
- },
71
- "1.18.48": {
72
- "en": "Set the selection to usedNames (application and device)",
73
- "de": "Setzen Sie die Auswahl auf gebrauchtNamen (Anwendung und Gerät)",
74
- "ru": "Установите выбор используемых имен (приложения и устройства)",
75
- "pt": "Define a seleção para nomes usados (aplicação e dispositivo)",
76
- "nl": "De selectie instellen op gebruikte Namen (toepassing en apparaat)",
77
- "fr": "Définissez la sélection aux noms utilisés (application et périphérique)",
78
- "it": "Impostare la selezione per i nomi utilizzati (applicazione e dispositivo)",
79
- "es": "Establecer la selección para utilizarNames (aplicación y dispositivo)",
80
- "pl": "Ustaw wybór na używane Nazwy (aplikacja i urządzenie)",
81
- "uk": "Налаштуйте вибір для використанняНазви (застосування та пристрій)",
82
- "zh-cn": "将选中区域设定为使用的名称( 应用程序和设备)"
83
- },
84
- "1.18.47": {
85
- "en": "* CustomSend becomes possibility for different order of parameters.\n payloadInHex, port, confirmed, priority, push (push is written as string 'push')",
86
- "de": "* CustomSend wird Möglichkeit für verschiedene Parameterreihenfolge.\nnutzlast InHex, Port, bestätigt, Priorität, Push (Push wird als String 'Push' geschrieben)",
87
- "ru": "* CustomSend становится возможностью для различных порядков параметров.\nполезная нагрузка InHex, порт, подтвержденный, приоритет, push (push пишется как строка «push»)",
88
- "pt": "* CustomSend torna-se possibilidade para diferentes ordens de parâmetros.\ncarga útil InHex, porto, confirmado, prioridade, push (empurra é escrito como string 'push')",
89
- "nl": "* AangepastVerzenden wordt mogelijk voor verschillende orde van parameters.\nlaadvermogen InHex, poort, bevestigd, prioriteit, push (push is geschreven als string 'push')",
90
- "fr": "* CustomSend devient possibilité pour différents ordres de paramètres.\ncharge utile InHex, port, confirmé, priorité, push (push est écrit comme chaîne de caractères \"push\")",
91
- "it": "* CustomSend diventa possibilità per ordine diverso di parametri.\ncarico utile InHex, porto, confermato, priorità, spinta (push è scritto come stringa 'push')",
92
- "es": "* CustomSend se convierte en posibilidad para diferentes tipos de parámetros.\ncarga útil InHex, port, confirmed, priority, push (push está escrito como cadena 'push')",
93
- "pl": "* CustomSend staje się możliwością dla różnych kolejności parametrów.\nładowność InHex, port, potwierdzone, priorytet, push (push jest zapisany jako ciąg 'push')",
94
- "uk": "* Користувальницька робота на різних параметрах.\nзавантажити InHex, порт, підтверджений, пріоритет, штовхач (подушка написана як рядок 'push')",
95
- "zh-cn": "* CustomSend成为不同参数顺序的可能.\n有效载荷 InHex, 端口, 确认, 优先级, 推( 推为字符串“ push” )"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -993,7 +993,9 @@ class bridgeClass {
993
993
  (changeInfo.applicationId === config.Application || config.Application === '*') &&
994
994
  (changeInfo.deviceEUI === config.Device || config.Device === '*') &&
995
995
  (id.includes(`.${config.Folder}.`) || config.Folder === '*') &&
996
- (id.includes(`.decoded.${config.State}`) || config.State === '*')
996
+ (config.State === '*' ||
997
+ (config.State.endsWith('.') && id.includes(`.decoded.${config.State}`)) ||
998
+ (!config.State.endsWith('.') && id.endsWith(`.decoded.${config.State}`)))
997
999
  ) {
998
1000
  Bridgestate.discover = !config.exclude;
999
1001
  Bridgestate.publish = true;
@@ -1065,7 +1067,9 @@ class bridgeClass {
1065
1067
  (changeInfo.applicationId === config.Application || config.Application === '*') &&
1066
1068
  (changeInfo.deviceEUI === config.Device || config.Device === '*') &&
1067
1069
  (id.includes(`.${config.Folder}.`) || config.Folder === '*') &&
1068
- (id.includes(`.control.${config.State}`) || config.State === '*')
1070
+ (config.State === '*' ||
1071
+ (config.State.endsWith('.') && id.includes(`.control.${config.State}`)) ||
1072
+ (!config.State.endsWith('.') && id.endsWith(`.control.${config.State}`)))
1069
1073
  ) {
1070
1074
  Bridgestate.discover = !config.exclude;
1071
1075
  Bridgestate.publish = config.publish;
package/main.js CHANGED
@@ -1461,6 +1461,9 @@ class Lorawan extends utils.Adapter {
1461
1461
  fullStatename += changeInfo?.allElements[i];
1462
1462
  }
1463
1463
  }
1464
+ if (adapterObject.type === 'folder') {
1465
+ fullStatename += '.';
1466
+ }
1464
1467
  const label = fullStatename;
1465
1468
  const value = fullStatename;
1466
1469
  if (!currentStates[value]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.18.53",
3
+ "version": "1.18.55",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",