iobroker.lorawan 1.18.59 → 1.18.61
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 +8 -2
- package/io-package.json +27 -27
- package/lib/modules/bridge.js +1 -3
- package/main.js +18 -0
- package/package.json +1 -1
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.61 (2026-01-01)
|
|
27
|
+
* (BenAhrdt) set chunksize to 32
|
|
28
|
+
|
|
29
|
+
### 1.18.60 (2026-01-01)
|
|
30
|
+
* (BenAhrdt) bugfix errorlogging
|
|
31
|
+
|
|
26
32
|
### 1.18.59 (2026-01-01)
|
|
27
33
|
* (BenAhrdt) Chuck checkAllStatesForBridgeWork for better performance
|
|
28
34
|
|
|
@@ -864,7 +870,7 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
864
870
|
MIT License
|
|
865
871
|
|
|
866
872
|
Copyright (c) 2025-2026 BenAhrdt <bsahrdt@gmail.com>
|
|
867
|
-
Copyright (c) 2025 Joerg Froehner <LoraWan@hafenmeister.com>
|
|
873
|
+
Copyright (c) 2025-2026 Joerg Froehner <LoraWan@hafenmeister.com>
|
|
868
874
|
|
|
869
875
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
870
876
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -893,4 +899,4 @@ If this repository is forked, it must be cited as the source.
|
|
|
893
899
|
LoRa® is a registered trademark or service
|
|
894
900
|
mark of Semtech Corporation or its affilantes.
|
|
895
901
|
|
|
896
|
-
LoRaWAN® is a licensed mark.
|
|
902
|
+
LoRaWAN® is a licensed mark.
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.61",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.61": {
|
|
7
|
+
"en": "set chunksize to 32",
|
|
8
|
+
"de": "set chunksize auf 32",
|
|
9
|
+
"ru": "устанавливает размер до 32",
|
|
10
|
+
"pt": "definir o tamanho do bloco como 32",
|
|
11
|
+
"nl": "blokgrootte instellen op 32",
|
|
12
|
+
"fr": "définir la taille des morceaux à 32",
|
|
13
|
+
"it": "set chunksize a 32",
|
|
14
|
+
"es": "set chunksize a 32",
|
|
15
|
+
"pl": "ustawiony rozmiar chunksize do 32",
|
|
16
|
+
"uk": "встановити chunksize до 32",
|
|
17
|
+
"zh-cn": "设置为32块"
|
|
18
|
+
},
|
|
19
|
+
"1.18.60": {
|
|
20
|
+
"en": "bugfix errorlogging",
|
|
21
|
+
"de": "fehlerbehebung von fehlern",
|
|
22
|
+
"ru": "bugfix ошибка",
|
|
23
|
+
"pt": "erro de correção",
|
|
24
|
+
"nl": "bugfix foutloggen",
|
|
25
|
+
"fr": "bugfix errorlogging",
|
|
26
|
+
"it": "bugfix errorelogging",
|
|
27
|
+
"es": "error bugfixlogging",
|
|
28
|
+
"pl": "błąd bugfix",
|
|
29
|
+
"uk": "повідомлень про помилку",
|
|
30
|
+
"zh-cn": "错误修正错误日志"
|
|
31
|
+
},
|
|
6
32
|
"1.18.59": {
|
|
7
33
|
"en": "Chuck checkAllStatesForBridgeWork for better performance",
|
|
8
34
|
"de": "Chuck-Check AllStatesForBridgeWork für bessere Leistung",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "włączenie folderu bugfix",
|
|
68
94
|
"uk": "папка прикусу",
|
|
69
95
|
"zh-cn": "包含错误文件夹"
|
|
70
|
-
},
|
|
71
|
-
"1.18.54": {
|
|
72
|
-
"en": "add '.' to folders in config selection",
|
|
73
|
-
"de": "fügen sie '.' in ordner in config auswahl",
|
|
74
|
-
"ru": "добавить '.' в папки в настройках выбора",
|
|
75
|
-
"pt": "adicionar '.' às pastas na seleção de configuração",
|
|
76
|
-
"nl": "'.' toevoegen aan mappen in configuratieselectie",
|
|
77
|
-
"fr": "ajouter '.' aux dossiers dans la sélection de configuration",
|
|
78
|
-
"it": "aggiungere '.' alle cartelle nella selezione di configurazione",
|
|
79
|
-
"es": "añadir '.' a carpetas en la selección de configuración",
|
|
80
|
-
"pl": "dodaj '.' do folderów w zaznaczeniu konfiguracyjnym",
|
|
81
|
-
"uk": "додати '.' до папок у вибраному конфігурації",
|
|
82
|
-
"zh-cn": "在配置选中的文件夹中添加“. ”"
|
|
83
|
-
},
|
|
84
|
-
"1.18.53": {
|
|
85
|
-
"en": "add possibility to add folders to",
|
|
86
|
-
"de": "die möglichkeit hinzufügen von ordnern",
|
|
87
|
-
"ru": "добавить возможность добавления папок в",
|
|
88
|
-
"pt": "adicionar a possibilidade de adicionar pastas",
|
|
89
|
-
"nl": "mogelijkheid toevoegen om mappen toe te voegen aan",
|
|
90
|
-
"fr": "ajouter la possibilité d'ajouter des dossiers à",
|
|
91
|
-
"it": "aggiungere la possibilità di aggiungere cartelle a",
|
|
92
|
-
"es": "añadir la posibilidad de añadir carpetas para",
|
|
93
|
-
"pl": "dodać możliwość dodawania folderów do",
|
|
94
|
-
"uk": "додати можливість додати папки до",
|
|
95
|
-
"zh-cn": "添加文件夹到"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -1768,9 +1768,8 @@ class bridgeClass {
|
|
|
1768
1768
|
|
|
1769
1769
|
const adapterObjects = await this.adapter.getAdapterObjectsAsync();
|
|
1770
1770
|
|
|
1771
|
-
const CHUNK_SIZE =
|
|
1771
|
+
const CHUNK_SIZE = (await this.adapter.getStateAsync('bridge.debug.chunk'))?.val || 32;
|
|
1772
1772
|
let chunk = [];
|
|
1773
|
-
this.adapter.log.error('Start');
|
|
1774
1773
|
for (const adapterObject of Object.values(adapterObjects)) {
|
|
1775
1774
|
if (adapterObject.type !== 'state') {
|
|
1776
1775
|
continue;
|
|
@@ -1800,7 +1799,6 @@ class bridgeClass {
|
|
|
1800
1799
|
}
|
|
1801
1800
|
}
|
|
1802
1801
|
|
|
1803
|
-
this.adapter.log.error('Ende');
|
|
1804
1802
|
// Rest abarbeiten
|
|
1805
1803
|
if (chunk.length > 0) {
|
|
1806
1804
|
await Promise.all(chunk);
|
package/main.js
CHANGED
|
@@ -846,6 +846,24 @@ class Lorawan extends utils.Adapter {
|
|
|
846
846
|
native: {},
|
|
847
847
|
});
|
|
848
848
|
await this.setState(id, '', true);
|
|
849
|
+
} else if (words[1] === 'chunk') {
|
|
850
|
+
this.extendObject('bridge.debug', {
|
|
851
|
+
type: 'folder',
|
|
852
|
+
common: { name: 'Debugfunctions of bridge' },
|
|
853
|
+
native: {},
|
|
854
|
+
});
|
|
855
|
+
this.extendObject('bridge.debug.chunk', {
|
|
856
|
+
type: 'state',
|
|
857
|
+
common: {
|
|
858
|
+
name: 'chunk of parallel works',
|
|
859
|
+
type: 'number',
|
|
860
|
+
read: true,
|
|
861
|
+
write: true,
|
|
862
|
+
def: 32,
|
|
863
|
+
},
|
|
864
|
+
native: {},
|
|
865
|
+
});
|
|
866
|
+
await this.setState(id, '', true);
|
|
849
867
|
}
|
|
850
868
|
} else {
|
|
851
869
|
let notificationId = `${this.namespace}.${this.bridge?.Words.notification}${this.bridge?.GeneralId}`;
|