iobroker.lorawan 1.18.52 → 1.18.53
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 +3 -0
- package/io-package.json +14 -14
- package/lib/modules/bridge.js +2 -2
- package/main.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ 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.53 (2025-12-29)
|
|
27
|
+
* (BenAhrdt) add possibility to add folders to
|
|
28
|
+
|
|
26
29
|
### 1.18.52 (2025-12-29)
|
|
27
30
|
* (BenAhrdt) add possibility to set Devicesuffix in LoraWAN States
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.53",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.53": {
|
|
7
|
+
"en": "add possibility to add folders to",
|
|
8
|
+
"de": "die möglichkeit hinzufügen von ordnern",
|
|
9
|
+
"ru": "добавить возможность добавления папок в",
|
|
10
|
+
"pt": "adicionar a possibilidade de adicionar pastas",
|
|
11
|
+
"nl": "mogelijkheid toevoegen om mappen toe te voegen aan",
|
|
12
|
+
"fr": "ajouter la possibilité d'ajouter des dossiers à",
|
|
13
|
+
"it": "aggiungere la possibilità di aggiungere cartelle a",
|
|
14
|
+
"es": "añadir la posibilidad de añadir carpetas para",
|
|
15
|
+
"pl": "dodać możliwość dodawania folderów do",
|
|
16
|
+
"uk": "додати можливість додати папки до",
|
|
17
|
+
"zh-cn": "添加文件夹到"
|
|
18
|
+
},
|
|
6
19
|
"1.18.52": {
|
|
7
20
|
"en": "add possibility to set Devicesuffix in LoraWAN States",
|
|
8
21
|
"de": "möglichkeit hinzufügen, Devicesuffix in LoraWAN-Staaten einzustellen",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
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')",
|
|
81
94
|
"uk": "* Користувальницька робота на різних параметрах.\nзавантажити InHex, порт, підтверджений, пріоритет, штовхач (подушка написана як рядок 'push')",
|
|
82
95
|
"zh-cn": "* CustomSend成为不同参数顺序的可能.\n有效载荷 InHex, 端口, 确认, 优先级, 推( 推为字符串“ push” )"
|
|
83
|
-
},
|
|
84
|
-
"1.18.46": {
|
|
85
|
-
"en": "CustomSend has been extended to include the option of direct push.",
|
|
86
|
-
"de": "CustomSend wurde erweitert, um die Möglichkeit der direkten Push.",
|
|
87
|
-
"ru": "CustomSend был расширен, чтобы включить возможность прямого толчка.",
|
|
88
|
-
"pt": "O CustomSend foi estendido para incluir a opção de push direto.",
|
|
89
|
-
"nl": "AangepastVerzenden is uitgebreid met de optie van directe push.",
|
|
90
|
-
"fr": "CustomSend a été étendu pour inclure l'option de poussée directe.",
|
|
91
|
-
"it": "CustomSend è stato esteso per includere l'opzione di spinta diretta.",
|
|
92
|
-
"es": "CustomSend se ha ampliado para incluir la opción de empuje directo.",
|
|
93
|
-
"pl": "CustomSend został rozszerzony o opcję bezpośredniego pchnięcia.",
|
|
94
|
-
"uk": "CustomSend було розширено, щоб включити опцію прямого натискання.",
|
|
95
|
-
"zh-cn": "CustomSend已被扩展,以包括直接推动的选择."
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -993,7 +993,7 @@ 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.
|
|
996
|
+
(id.includes(`.decoded.${config.State}`) || config.State === '*')
|
|
997
997
|
) {
|
|
998
998
|
Bridgestate.discover = !config.exclude;
|
|
999
999
|
Bridgestate.publish = true;
|
|
@@ -1065,7 +1065,7 @@ class bridgeClass {
|
|
|
1065
1065
|
(changeInfo.applicationId === config.Application || config.Application === '*') &&
|
|
1066
1066
|
(changeInfo.deviceEUI === config.Device || config.Device === '*') &&
|
|
1067
1067
|
(id.includes(`.${config.Folder}.`) || config.Folder === '*') &&
|
|
1068
|
-
(id.
|
|
1068
|
+
(id.includes(`.control.${config.State}`) || config.State === '*')
|
|
1069
1069
|
) {
|
|
1070
1070
|
Bridgestate.discover = !config.exclude;
|
|
1071
1071
|
Bridgestate.publish = config.publish;
|
package/main.js
CHANGED
|
@@ -1429,15 +1429,17 @@ class Lorawan extends utils.Adapter {
|
|
|
1429
1429
|
try {
|
|
1430
1430
|
let myCount = 0;
|
|
1431
1431
|
const states = [];
|
|
1432
|
+
const possibleTypes = { state: true };
|
|
1432
1433
|
if (obj.command === 'getStatesForConfig') {
|
|
1433
1434
|
states[myCount] = { label: '* (Wildcard)', value: '*' };
|
|
1434
1435
|
myCount++;
|
|
1436
|
+
possibleTypes.folder = true;
|
|
1435
1437
|
}
|
|
1436
1438
|
const currentStates = {};
|
|
1437
1439
|
const adapterObjects = await this.getAdapterObjectsAsync();
|
|
1438
1440
|
for (const adapterObject of Object.values(adapterObjects)) {
|
|
1439
1441
|
if (
|
|
1440
|
-
adapterObject.type ===
|
|
1442
|
+
possibleTypes[adapterObject.type] === true &&
|
|
1441
1443
|
(adapterObject._id.includes(obj.message.application) ||
|
|
1442
1444
|
obj.message.application === '*') &&
|
|
1443
1445
|
(adapterObject._id.includes(obj.message.device) || obj.message.device === '*') &&
|