iobroker.lorawan 1.18.47 → 1.18.49

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.49 (2025-12-16)
27
+ * (BenAhrdt) Read and send always all light attributes
28
+
29
+ ### 1.18.48 (2025-12-16)
30
+ * (BenAhrdt) Set the selection to usedNames (application and device)
31
+
26
32
  ### 1.18.47 (2025-12-09)
27
33
  * (BenAhrdt) CustomSend becomes possibility for different order of parameters.
28
34
  payloadInHex, port, confirmed, priority, push (push is written as string 'push')
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.18.47",
4
+ "version": "1.18.49",
5
5
  "news": {
6
+ "1.18.49": {
7
+ "en": "Read and send always all light attributes",
8
+ "de": "Lesen und senden Sie immer alle Licht-Attribute",
9
+ "ru": "Читайте и отправляйте всегда все световые атрибуты",
10
+ "pt": "Ler e enviar sempre todos os atributos de luz",
11
+ "nl": "Lees en stuur altijd alle lichtattributen",
12
+ "fr": "Lire et envoyer toujours tous les attributs de lumière",
13
+ "it": "Leggi e invia sempre tutti gli attributi leggeri",
14
+ "es": "Lea y envíe siempre todos los atributos de luz",
15
+ "pl": "Czytaj i wysyłaj zawsze wszystkie atrybuty światła",
16
+ "uk": "Читайте і надсилайте завжди всі атрибути світла",
17
+ "zh-cn": "读取并发送所有光属性"
18
+ },
19
+ "1.18.48": {
20
+ "en": "Set the selection to usedNames (application and device)",
21
+ "de": "Setzen Sie die Auswahl auf gebrauchtNamen (Anwendung und Gerät)",
22
+ "ru": "Установите выбор используемых имен (приложения и устройства)",
23
+ "pt": "Define a seleção para nomes usados (aplicação e dispositivo)",
24
+ "nl": "De selectie instellen op gebruikte Namen (toepassing en apparaat)",
25
+ "fr": "Définissez la sélection aux noms utilisés (application et périphérique)",
26
+ "it": "Impostare la selezione per i nomi utilizzati (applicazione e dispositivo)",
27
+ "es": "Establecer la selección para utilizarNames (aplicación y dispositivo)",
28
+ "pl": "Ustaw wybór na używane Nazwy (aplikacja i urządzenie)",
29
+ "uk": "Налаштуйте вибір для використанняНазви (застосування та пристрій)",
30
+ "zh-cn": "将选中区域设定为使用的名称( 应用程序和设备)"
31
+ },
6
32
  "1.18.47": {
7
33
  "en": "* CustomSend becomes possibility for different order of parameters.\n payloadInHex, port, confirmed, priority, push (push is written as string 'push')",
8
34
  "de": "* CustomSend wird Möglichkeit für verschiedene Parameterreihenfolge.\nnutzlast InHex, Port, bestätigt, Priorität, Push (Push wird als String 'Push' geschrieben)",
@@ -67,32 +93,6 @@
67
93
  "pl": "określony filtr w obiekcie Id wybór w konfiguracji",
68
94
  "uk": "специфічний фільтр на об'єкті Вибір Id в config",
69
95
  "zh-cn": "对象的特定过滤器 配置中的 ID 选择"
70
- },
71
- "1.18.42": {
72
- "en": "change gate to garage_door in binary_sensor",
73
- "de": "ändern sie das tor zu garage_door in binär_sensor",
74
- "ru": "скачать игру garage_door in binary_sensor",
75
- "pt": "mudar portão para garage_door em binário_sensor",
76
- "nl": "poort wijzigen naar garage_deur in binaire _sensor",
77
- "fr": "changer la porte en garage_door en binaire_sensor",
78
- "it": "cambiare cancello a garage_door in binario_sensor",
79
- "es": "cambio de puerta a garage_door en binario_sensor",
80
- "pl": "zmiana bramy na garaż _ door w binarnym _ sensor",
81
- "uk": "змінити ворота в гараж_критий в бінарних_сенсор",
82
- "zh-cn": "在二进制中将门改为车库_门_传感器"
83
- },
84
- "1.18.41": {
85
- "en": "change sending the payload in case of light",
86
- "de": "änderung des sendens der nutzlast bei licht",
87
- "ru": "изменение отправки полезной нагрузки в случае света",
88
- "pt": "alterar o envio da carga útil em caso de luz",
89
- "nl": "verandering in het verzenden van de lading in geval van licht",
90
- "fr": "changement d'envoi de la charge utile en cas de lumière",
91
- "it": "cambiare inviando il carico utile in caso di luce",
92
- "es": "cambio enviar la carga útil en caso de luz",
93
- "pl": "zmiana wysyłania ładunku w przypadku światła",
94
- "uk": "змінити відправлення корисного навантаження при світлі",
95
- "zh-cn": "更改发送有效载荷的光线"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -815,16 +815,17 @@ class bridgeClass {
815
815
  val = {};
816
816
  val.state = (await this.adapter.getForeignStateAsync(publish.LightIds.onOff)).val;
817
817
  val.state = val.state === true ? 'ON' : 'OFF';
818
- if (id === publish.LightIds.brightness) {
818
+ // 16.12. Change: Read and Send always all attributes
819
+ if (publish.LightIds.brightness) {
819
820
  val.brightness = (await this.adapter.getForeignStateAsync(publish.LightIds.brightness)).val;
820
821
  }
821
- if (id === publish.LightIds.color) {
822
+ if (publish.LightIds.color) {
822
823
  val.color_mode = 'rgb';
823
824
  val.color = this.hexToRgb(
824
825
  (await this.adapter.getForeignStateAsync(publish.LightIds.color)).val,
825
826
  );
826
827
  }
827
- if (id === publish.LightIds.effects) {
828
+ if (publish.LightIds.effects) {
828
829
  const effect = (await this.adapter.getForeignStateAsync(publish.LightIds.effects)).val;
829
830
  val.effect = '';
830
831
  if (publish.effects[effect]) {
package/main.js CHANGED
@@ -1343,7 +1343,7 @@ class Lorawan extends utils.Adapter {
1343
1343
  if (adapterObject.type === 'folder' && adapterObject._id.endsWith('uplink')) {
1344
1344
  adapterObject._id = this.removeNamespace(adapterObject._id);
1345
1345
  const changeInfo = await this.getChangeInfo(adapterObject._id);
1346
- const label = changeInfo?.applicationName;
1346
+ const label = changeInfo?.usedApplicationName;
1347
1347
  const value = changeInfo?.applicationId;
1348
1348
  if (!currentApplications[value]) {
1349
1349
  currentApplications[value] = value;
@@ -1375,7 +1375,7 @@ class Lorawan extends utils.Adapter {
1375
1375
  ) {
1376
1376
  adapterObject._id = this.removeNamespace(adapterObject._id);
1377
1377
  const changeInfo = await this.getChangeInfo(adapterObject._id);
1378
- const label = changeInfo?.deviceId;
1378
+ const label = changeInfo?.usedDeviceId;
1379
1379
  const value = changeInfo?.deviceEUI;
1380
1380
  devices[myCount] = { label: label, value: value };
1381
1381
  myCount++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.18.47",
3
+ "version": "1.18.49",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",