iobroker.lorawan 1.19.32 → 1.19.34

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.19.34 (2026-01-20)
27
+ * (BenAhrdt) assign Percent & Liter in assignhandler
28
+
29
+ ### 1.19.33 (2026-01-18)
30
+ * (BenAhrdt) sonoff bugfix aparrant_power
31
+
26
32
  ### 1.19.32 (2026-01-16)
27
33
  * (BenAhrdt) bugfix await this.ObjectExists
28
34
 
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.19.32",
4
+ "version": "1.19.34",
5
5
  "news": {
6
+ "1.19.34": {
7
+ "en": "assign Percent & Liter in assignhandler",
8
+ "de": "percent & Liter in assignhandler zuweisen",
9
+ "ru": "производитель Percent & Liter",
10
+ "pt": "atribuir a percentagem & Liter no atribuidor",
11
+ "nl": "procent & Liter toewijzen aan attributen",
12
+ "fr": "assigner Pourcentage & Liter dans l'attributhandler",
13
+ "it": "assegnare Percent & Liter in assegnatore",
14
+ "es": "asignar Percent \" Liter in assignhandler",
15
+ "pl": "przypisz Procent i Liter w assignhandler",
16
+ "uk": "призначте відсоток & Література в assignhandler",
17
+ "zh-cn": "在指定手牌中指定百分数( L)"
18
+ },
19
+ "1.19.33": {
20
+ "en": "sonoff bugfix aparrant_power",
21
+ "de": "sonoff bugfix aparrant_power",
22
+ "ru": "sonoff bugfix aparrant_power скачать бесплатно",
23
+ "pt": "sonoff bugfix aparrant_ power",
24
+ "nl": "sonoff bugfix aparrant_power",
25
+ "fr": "sonoff bugfix aparrant_power",
26
+ "it": "sonoff bugfix aparrant_power",
27
+ "es": "sonoff bugfix aparrant_power",
28
+ "pl": "sonoff bugfix aparrant _ power",
29
+ "uk": "gaeilge, english, українська..",
30
+ "zh-cn": "sonoff 错误修补parrant_power"
31
+ },
6
32
  "1.19.32": {
7
33
  "en": "bugfix await this.ObjectExists",
8
34
  "de": "bugfix warten darauf. ObjekteExperimente",
@@ -67,32 +93,6 @@
67
93
  "pl": "dodaj informacje o możliwości logowania, debugowanie, ostrzeganie, błąd logowania wewnętrznego",
68
94
  "uk": "додайте інформацію про можливість входу, відхилити, попереджати, похибка до внутрішнього входу",
69
95
  "zh-cn": "将记录可能性信息、调试、警告、错误添加到内部记录"
70
- },
71
- "1.19.27": {
72
- "en": "setting internal logging to debug path in bridge and query the json entries",
73
- "de": "interne protokollierung zum debug-pfad in der brücke einstellen und die json-einträge abfragen",
74
- "ru": "установка внутренней регистрации для отладки пути в мосту и запроса записей json",
75
- "pt": "definindo o registro interno para o caminho de depuração na ponte e consultando os itens json",
76
- "nl": "interne logging instellen op debugpad in de brug en de json-items opvragen",
77
- "fr": "paramétrer l'enregistrement interne pour déboguer le chemin dans le pont et interroger les entrées de json",
78
- "it": "impostare logging interno per debug percorso in ponte e query le voci json",
79
- "es": "establecer registro interno para depurar el camino en puente y consultar las entradas json",
80
- "pl": "ustawienie wewnętrznego logowania do debugowania ścieżki w moście i zapytanie wpisów json",
81
- "uk": "встановлення внутрішнього входу в дебюговий шлях в мост і переробити записи json",
82
- "zh-cn": "设置内部日志以调试桥上的路径并查询 json 条目"
83
- },
84
- "1.19.26": {
85
- "en": "build internal logging",
86
- "de": "interne protokollierung erstellen",
87
- "ru": "построить внутренние лесозаготовки",
88
- "pt": "criar registro interno",
89
- "nl": "interne logging bouwen",
90
- "fr": "construire l'exploitation forestière interne",
91
- "it": "costruire logging interno",
92
- "es": "construir registro interno",
93
- "pl": "budować wewnętrzny logowanie",
94
- "uk": "створення внутрішнього входу",
95
- "zh-cn": "建立内部记录"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -218,6 +218,17 @@ class assignhandlerClass {
218
218
  },
219
219
  },
220
220
  },
221
+ Liter: {
222
+ approvedFolders: {
223
+ 'uplink.decoded': {
224
+ assignfunction: this.commonAssign,
225
+ common: {
226
+ role: 'value.fill',
227
+ unit: 'l',
228
+ },
229
+ },
230
+ },
231
+ },
221
232
  LoRa_Voltage: {
222
233
  approvedFolders: {
223
234
  'uplink.decoded': {
@@ -345,6 +356,16 @@ class assignhandlerClass {
345
356
  },
346
357
  },
347
358
  },
359
+ Percent: {
360
+ approvedFolders: {
361
+ 'uplink.decoded': {
362
+ assignfunction: this.commonAssign,
363
+ common: {
364
+ unit: '%',
365
+ },
366
+ },
367
+ },
368
+ },
348
369
  Pressure: {
349
370
  approvedFolders: {
350
371
  'uplink.decoded': {
@@ -119,8 +119,8 @@ class bridgeClass {
119
119
  'm³': { device_class: 'gas', state_class: 'total_increasing' },
120
120
  'ft³': { device_class: 'gas', state_class: 'total_increasing' },
121
121
 
122
- L: { device_class: 'water', state_class: 'total_increasing' },
123
- mL: { device_class: 'volume' },
122
+ l: { device_class: 'water', state_class: 'total_increasing' },
123
+ ml: { device_class: 'volume' },
124
124
  gal: { device_class: 'volume' },
125
125
 
126
126
  'L/min': { device_class: 'volumetric_flow_rate' },
@@ -1534,8 +1534,11 @@ class bridgeClass {
1534
1534
  } else if (role.includes('level.timer')) {
1535
1535
  attributes.entity_category = 'config';
1536
1536
  attributes.unit_of_measurement = normalizedUnit || 'min';
1537
- } else if (role.includes('power') && !normalizedUnitLower.includes('wh')) {
1538
- // Sonoff mit value.power.consumtion und kWh ausnehmen
1537
+ } else if (
1538
+ role.includes('power') &&
1539
+ !normalizedUnitLower.includes('wh') && // Sonoff mit kWh ausnehmen
1540
+ !normalizedUnitLower.includes('va') // Sonoff mit VA ausnehmen
1541
+ ) {
1539
1542
  attributes.device_class = 'power';
1540
1543
  attributes.unit_of_measurement = normalizedUnit || 'W';
1541
1544
  } else if (
@@ -1679,8 +1682,8 @@ class bridgeClass {
1679
1682
  .replace(/^mcg\/m3$/i, 'µg/m³')
1680
1683
  .replace(/^um\/m3$/i, 'µg/m³')
1681
1684
 
1682
- .replace(/^l\/min$/i, 'L/min')
1683
- .replace(/^l\/s$/i, 'L/s')
1685
+ .replace(/^L\/min$/i, 'l/min')
1686
+ .replace(/^L\/s$/i, 'l/s')
1684
1687
 
1685
1688
  .replace(/^m\^?3\/h$/i, 'm³/h')
1686
1689
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.19.32",
3
+ "version": "1.19.34",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",