iobroker.lorawan 1.22.5 → 1.22.7

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
@@ -24,6 +24,12 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
24
24
  Placeholder for the next version (at the beginning of the line):
25
25
  ### **WORK IN PROGRESS**
26
26
  -->
27
+ ### 1.22.7 (2026-04-16)
28
+ * (BenAhrdt) add more device_class entries to assign roles
29
+
30
+ ### 1.22.6 (2026-04-10)
31
+ * (BenAhrdt) bugfix cover endposition open
32
+
27
33
  ### 1.22.5 (2026-04-10)
28
34
  * (BenAhrdt) bugfix displaying buttons in dM cards
29
35
 
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.22.5",
4
+ "version": "1.22.7",
5
5
  "news": {
6
+ "1.22.7": {
7
+ "en": "add more device_class entries to assign roles",
8
+ "de": "mehr device class einträge hinzufügen, um rollen zuzuordnen",
9
+ "ru": "добавить больше записей device class для назначения ролей",
10
+ "pt": "adicionar mais entradas de dispositivo classe para atribuir funções",
11
+ "nl": "voeg meer apparaat klasse items toe om rollen toe te wijzen",
12
+ "fr": "ajouter plus d'entrées de classe de périphérique pour attribuer des rôles",
13
+ "it": "aggiungere più voci di device class per assegnare ruoli",
14
+ "es": "añadir más entradas de dispositivo clase para asignar roles",
15
+ "pl": "dodaj więcej wpisów _ device _ class do przypisywania ról",
16
+ "uk": "add more device class записів для позначення ролей",
17
+ "zh-cn": "添加更多设备 类条目以指定角色"
18
+ },
19
+ "1.22.6": {
20
+ "en": "bugfix cover endposition open",
21
+ "de": "bugfix cover endposition offen",
22
+ "ru": "багфикс cover end end open",
23
+ "pt": "endposition de cobertura de bugfix aberta",
24
+ "nl": "bugfix cover endposition open",
25
+ "fr": "bugfix endposition de couverture ouverte",
26
+ "it": "bugfix cover endposition aperto",
27
+ "es": "tapa bugfix endposition open",
28
+ "pl": "bugfix pokrywa końcowa otwarta",
29
+ "uk": "відновлення пароля",
30
+ "zh-cn": "bugfix 封面结束位置打开"
31
+ },
6
32
  "1.22.5": {
7
33
  "en": "bugfix displaying buttons in dM cards",
8
34
  "de": "bugfix Anzeigetasten in dM-Karten",
@@ -67,32 +93,6 @@
67
93
  "pl": "dodaj więcej ról do urządzeń tolob",
68
94
  "uk": "додати більше ролей до пристроїв",
69
95
  "zh-cn": "向 toIob 设备添加更多角色"
70
- },
71
- "1.22.0": {
72
- "en": "new Design in device Manager Cards",
73
- "de": "neues Design in Gerätemanagerkarten",
74
- "ru": "новый дизайн в картах диспетчера устройств",
75
- "pt": "novo design em cartões gerenciadores de dispositivos",
76
- "nl": "nieuw ontwerp in apparaatbeheerkaarten",
77
- "fr": "nouvelle conception dans les cartes de gestionnaire d'appareils",
78
- "it": "nuovo design nelle schede di gestione dei dispositivi",
79
- "es": "nuevo diseño en tarjetas de gestión de dispositivos",
80
- "pl": "nowy projekt w urządzeniu karty menedżer",
81
- "uk": "новий дизайн в управлінні пристроями Картки",
82
- "zh-cn": "设备管理卡中的新设计"
83
- },
84
- "1.21.31": {
85
- "en": "Display more Infos and colors in Cards",
86
- "de": "Mehr Infos und Farben in Karten anzeigen",
87
- "ru": "Показать больше информации и цветов в картах",
88
- "pt": "Mostrar mais informações e cores nos cartões",
89
- "nl": "Meer informatie en kleuren in kaarten tonen",
90
- "fr": "Afficher plus Infos et couleurs dans les Cartes",
91
- "it": "Visualizza maggiori informazioni e colori nelle carte",
92
- "es": "Mostrar más Información y colores en tarjetas",
93
- "pl": "Wyświetl więcej informacji i kolorów w kartach",
94
- "uk": "Показати більше інформації та кольорів в картках",
95
- "zh-cn": "在卡片中显示更多信息和颜色"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -3418,6 +3418,10 @@ class bridgeClass extends EventEmiter {
3418
3418
  topic: DiscoveryTopic,
3419
3419
  payload: structuredClone(DiscoveryPayload),
3420
3420
  ids: config.CoverIds,
3421
+ limitLogic: {
3422
+ open: config.CoverOpenSignalTrue,
3423
+ close: config.CoverClosedSignalTrue,
3424
+ },
3421
3425
  informations: informations,
3422
3426
  from: 'foreignDevices',
3423
3427
  });
@@ -708,6 +708,12 @@ class bridgeDeviceHandlerClass {
708
708
  occupancy: 'sensor.motion',
709
709
  carbon_dioxide: 'value.co2',
710
710
  pm25: 'value.pm25',
711
+ pm10: 'value.pm10',
712
+ pm1: 'value.pm1',
713
+ carbon_monoxide: 'value.no',
714
+ nitrogen_dioxide: 'value.no2',
715
+ ozone: 'value.o3',
716
+ volatile_organic_compounds: 'value.tvoc',
711
717
  };
712
718
 
713
719
  if (map[entity.device_class]) {
@@ -354,8 +354,8 @@ class bridgeDevicesClass {
354
354
  control: 'text',
355
355
  // Style the text based on the boolean value.
356
356
  label: preLabel + label,
357
- trueText: 'nicht Offen',
358
- falseText: 'Aufgefahren',
357
+ trueText: discovery.limitLogic.open ? 'Aufgefahren' : 'nicht aufgefahren',
358
+ falseText: discovery.limitLogic.open ? 'nicht aufgefahren' : 'Aufgefahren',
359
359
  };
360
360
  }
361
361
  if (discovery.ids.closedSignal) {
@@ -363,7 +363,7 @@ class bridgeDevicesClass {
363
363
  `Start building Light On for Id: ${discovery.ids.closedSignal}`,
364
364
  );
365
365
  usedId[discovery.ids.closedSignal] = true;
366
- card = { preLabel: '', label: 'Unten (geschlossen)' };
366
+ card = { preLabel: '', label: 'Unten (zu)' };
367
367
  card = lodash.merge(card, deviceValue.ids[discovery.ids.closedSignal].object.native?.card);
368
368
  const preLabel = card.preLabel ?? '';
369
369
  let label = '';
@@ -385,8 +385,8 @@ class bridgeDevicesClass {
385
385
  control: 'text',
386
386
  // Style the text based on the boolean value.
387
387
  label: preLabel + label,
388
- trueText: 'nicht geschlossen',
389
- falseText: 'Zugefahren',
388
+ trueText: discovery.limitLogic.close ? 'Zugefahren' : 'nicht zugefahren',
389
+ falseText: discovery.limitLogic.close ? 'nicht zugefahren' : 'Zugefahren',
390
390
  };
391
391
  }
392
392
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.22.5",
3
+ "version": "1.22.7",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",