iobroker.lorawan 1.10.13 → 1.10.15
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 +7 -0
- package/admin/jsonConfig.json +0 -1
- package/io-package.json +27 -27
- package/lib/modules/assignhandler.js +70 -6
- package/lib/modules/messagehandler.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,13 @@ 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.10.15 (2025-06-16)
|
|
27
|
+
* (BenAhrdt) add some roles and Units
|
|
28
|
+
|
|
29
|
+
### 1.10.14 (2025-06-10)
|
|
30
|
+
* (BenAhrdt) bugfix jsonconfig schema
|
|
31
|
+
* (BenAhrdt) add some roles for uplink states
|
|
32
|
+
|
|
26
33
|
### 1.10.13 (2025-06-01)
|
|
27
34
|
* (BenAhrdt) update dependencie for mqtt in 5.13.0
|
|
28
35
|
|
package/admin/jsonConfig.json
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.15",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.10.15": {
|
|
7
|
+
"en": "add some roles and Units",
|
|
8
|
+
"de": "einige Rollen und Einheiten hinzufügen",
|
|
9
|
+
"ru": "добавить несколько ролей и единиц",
|
|
10
|
+
"pt": "adicionar algumas funções e unidades",
|
|
11
|
+
"nl": "enkele rollen en eenheden toevoegen",
|
|
12
|
+
"fr": "ajouter quelques rôles et unités",
|
|
13
|
+
"it": "aggiungere alcuni ruoli e unità",
|
|
14
|
+
"es": "añadir algunas funciones y dependencias",
|
|
15
|
+
"pl": "dodać kilka ról i jednostek",
|
|
16
|
+
"uk": "додати деякі ролі і блоки",
|
|
17
|
+
"zh-cn": "增加一些角色和单位"
|
|
18
|
+
},
|
|
19
|
+
"1.10.14": {
|
|
20
|
+
"en": "bugfix jsonconfig schema\nadd some roles for uplink states",
|
|
21
|
+
"de": "bugfix jsonconfig schema\neinige rollen für uplink-staaten hinzufügen",
|
|
22
|
+
"ru": "схема jsonconfig\nдобавить некоторые роли в uplink",
|
|
23
|
+
"pt": "esquema de configuração do bugfix jsonconfig\nadicionar algumas funções para estados de uplink",
|
|
24
|
+
"nl": "bugfix jsonconfig schema\nenkele rollen toevoegen voor uplink states",
|
|
25
|
+
"fr": "bugfix jsonconfig schéma\najouter quelques rôles pour les états uplink",
|
|
26
|
+
"it": "bugfix jsonconfig schema\naggiungere alcuni ruoli per gli stati uplink",
|
|
27
|
+
"es": "bugfix jsonconfig schema\nañadir algunos papeles para los estados de enlace",
|
|
28
|
+
"pl": "bugfix jsonconfig schema\ndodaj kilka ról dla stanów łączących",
|
|
29
|
+
"uk": "javascript licenses api веб-сайт\nдодати деякі ролі для uplink станів",
|
|
30
|
+
"zh-cn": "bugfix jsonconfig 计划\n为上行链接状态添加一些角色"
|
|
31
|
+
},
|
|
6
32
|
"1.10.13": {
|
|
7
33
|
"en": "update dependencie for mqtt in 5.13.0",
|
|
8
34
|
"de": "update-abhängigkeit für mqtt in 5.13.0",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "poprawny dolny przypadek dla Celu Temperatura Płyń\nusuń przełącznik ról w przypadku wysłania z łącza i zbierać",
|
|
68
94
|
"uk": "виправлено нижній випадок для цілейTemperature Флоат\nвидалення перемикача ролі в разі відправки за допомогою посилання і збору",
|
|
69
95
|
"zh-cn": "目标小写正确 浮点\n如果发送时带有上行链路并收集, 请删除角色切换"
|
|
70
|
-
},
|
|
71
|
-
"1.10.8": {
|
|
72
|
-
"en": "add some states for Mode",
|
|
73
|
-
"de": "einige Zustände für Mode hinzufügen",
|
|
74
|
-
"ru": "добавить несколько состояний в режим",
|
|
75
|
-
"pt": "adicionar alguns estados para o modo",
|
|
76
|
-
"nl": "enkele statussen toevoegen voor modus",
|
|
77
|
-
"fr": "ajouter quelques états pour Mode",
|
|
78
|
-
"it": "aggiungere alcuni stati per la modalità",
|
|
79
|
-
"es": "añadir algunos estados para Modo",
|
|
80
|
-
"pl": "dodaj kilka stanów dla Mode",
|
|
81
|
-
"uk": "додати деякі стани для режиму",
|
|
82
|
-
"zh-cn": "为模式添加一些状态"
|
|
83
|
-
},
|
|
84
|
-
"1.10.7": {
|
|
85
|
-
"en": "add some roles",
|
|
86
|
-
"de": "einige rollen hinzufügen",
|
|
87
|
-
"ru": "добавьте несколько ролей",
|
|
88
|
-
"pt": "adicionar alguns papéis",
|
|
89
|
-
"nl": "enkele rollen toevoegen",
|
|
90
|
-
"fr": "ajouter quelques rôles",
|
|
91
|
-
"it": "aggiungere alcuni ruoli",
|
|
92
|
-
"es": "añadir algunas funciones",
|
|
93
|
-
"pl": "dodaj kilka ról",
|
|
94
|
-
"uk": "додати деякі ролі",
|
|
95
|
-
"zh-cn": "添加一些角色"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -84,6 +84,36 @@ class assignhandlerClass {
|
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
},
|
|
87
|
+
CalibrationFailed: {
|
|
88
|
+
approvedFolders: {
|
|
89
|
+
'uplink.decoded': {
|
|
90
|
+
assignfunction: this.commonAssign,
|
|
91
|
+
common: {
|
|
92
|
+
role: 'indicator.maintenance',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
ChildLock: {
|
|
98
|
+
approvedFolders: {
|
|
99
|
+
'downlink.control': {
|
|
100
|
+
assignfunction: this.commonAssign,
|
|
101
|
+
common: {
|
|
102
|
+
role: 'switch.setting',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
ChildLockWhenOffline: {
|
|
108
|
+
approvedFolders: {
|
|
109
|
+
'downlink.control': {
|
|
110
|
+
assignfunction: this.commonAssign,
|
|
111
|
+
common: {
|
|
112
|
+
role: 'switch.setting',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
87
117
|
Contact: {
|
|
88
118
|
approvedFolders: {
|
|
89
119
|
'uplink.decoded': {
|
|
@@ -204,6 +234,16 @@ class assignhandlerClass {
|
|
|
204
234
|
},
|
|
205
235
|
},
|
|
206
236
|
},
|
|
237
|
+
Mode2: {
|
|
238
|
+
approvedFolders: {
|
|
239
|
+
'downlink.control': {
|
|
240
|
+
assignfunction: this.commonAssign,
|
|
241
|
+
common: {
|
|
242
|
+
role: 'switch.setting',
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
},
|
|
207
247
|
MotorPosition: {
|
|
208
248
|
approvedFolders: {
|
|
209
249
|
'uplink.decoded': {
|
|
@@ -275,6 +315,16 @@ class assignhandlerClass {
|
|
|
275
315
|
},
|
|
276
316
|
},
|
|
277
317
|
},
|
|
318
|
+
OpenWindowDetection: {
|
|
319
|
+
approvedFolders: {
|
|
320
|
+
'downlink.control': {
|
|
321
|
+
assignfunction: this.commonAssign,
|
|
322
|
+
common: {
|
|
323
|
+
role: 'switch.setting',
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
278
328
|
Pressure: {
|
|
279
329
|
approvedFolders: {
|
|
280
330
|
'uplink.decoded': {
|
|
@@ -318,6 +368,16 @@ class assignhandlerClass {
|
|
|
318
368
|
},
|
|
319
369
|
},
|
|
320
370
|
},
|
|
371
|
+
SetAutoMode: {
|
|
372
|
+
approvedFolders: {
|
|
373
|
+
'downlink.control': {
|
|
374
|
+
assignfunction: this.commonAssign,
|
|
375
|
+
common: {
|
|
376
|
+
role: 'switch.setting',
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
},
|
|
321
381
|
Soilconductivity: {
|
|
322
382
|
approvedFolders: {
|
|
323
383
|
'uplink.decoded': {
|
|
@@ -468,12 +528,6 @@ class assignhandlerClass {
|
|
|
468
528
|
unit: '°C',
|
|
469
529
|
},
|
|
470
530
|
},
|
|
471
|
-
'uplink.decoded.heating_control.set_point_temperature': {
|
|
472
|
-
assignfunction: this.commonAssign,
|
|
473
|
-
common: {
|
|
474
|
-
unit: '°C',
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
531
|
},
|
|
478
532
|
},
|
|
479
533
|
Volt: {
|
|
@@ -509,6 +563,16 @@ class assignhandlerClass {
|
|
|
509
563
|
},
|
|
510
564
|
},
|
|
511
565
|
},
|
|
566
|
+
WaterLeakStatus: {
|
|
567
|
+
approvedFolders: {
|
|
568
|
+
'uplink.decoded': {
|
|
569
|
+
assignfunction: this.commonAssign,
|
|
570
|
+
common: {
|
|
571
|
+
role: 'sensor.alarm.flood',
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
},
|
|
575
|
+
},
|
|
512
576
|
Winddirection: {
|
|
513
577
|
approvedFolders: {
|
|
514
578
|
'uplink.decoded': {
|
|
@@ -476,7 +476,7 @@ class messagehandlerClass {
|
|
|
476
476
|
common.custom = this.directoryhandler.customObject;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
|
|
479
|
+
/* Remove at 16.06.2025 => Solved with addition role switch.setting
|
|
480
480
|
// Correct role switch in case of send with uplink and collect (dont set role switch in this case)
|
|
481
481
|
if (common.role === 'switch') {
|
|
482
482
|
if (
|
|
@@ -487,7 +487,7 @@ class messagehandlerClass {
|
|
|
487
487
|
common.role = 'state';
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
|
|
490
|
+
*/
|
|
491
491
|
// Check for assign (new implemented function)
|
|
492
492
|
if (this.assignhandler.assign[downlinkParameter.name] && !options?.dontAssign) {
|
|
493
493
|
this.adapter.log.debug(
|