iobroker.lorawan 1.18.61 → 1.18.62
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 +12 -10
- 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.62 (2026-01-01)
|
|
27
|
+
* (BenAhrdt) Promise the foreign functions in Promise.all
|
|
28
|
+
|
|
26
29
|
### 1.18.61 (2026-01-01)
|
|
27
30
|
* (BenAhrdt) set chunksize to 32
|
|
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.62",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.62": {
|
|
7
|
+
"en": "Promise the foreign functions in Promise.all",
|
|
8
|
+
"de": "Versprechen Sie die ausländischen Funktionen in Promise.all",
|
|
9
|
+
"ru": "Обещайте иностранные функции в Promise.all",
|
|
10
|
+
"pt": "Prometa as funções estrangeiras em Promise.all",
|
|
11
|
+
"nl": "Beloof de buitenlandse functies in Promise.all",
|
|
12
|
+
"fr": "Promets les fonctions étrangères dans Promise.all",
|
|
13
|
+
"it": "Promettere le funzioni straniere in Promise.all",
|
|
14
|
+
"es": "Prométeme las funciones extranjeras en Promesa.todos",
|
|
15
|
+
"pl": "Obiecaj funkcje zagraniczne w Promise.all",
|
|
16
|
+
"uk": "Використовуйте іноземні функції в Promise.all",
|
|
17
|
+
"zh-cn": "在保证中保证外国职能"
|
|
18
|
+
},
|
|
6
19
|
"1.18.61": {
|
|
7
20
|
"en": "set chunksize to 32",
|
|
8
21
|
"de": "set chunksize auf 32",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "remoove namespace two remooved\nserialize getConfigurations",
|
|
81
94
|
"uk": "remoove namespace двічі remooved\nсертифіковано getConfigStates",
|
|
82
95
|
"zh-cn": "两次重新移动命名空间\n序列化获取配置状态"
|
|
83
|
-
},
|
|
84
|
-
"1.18.55": {
|
|
85
|
-
"en": "bugfix folderinclusion",
|
|
86
|
-
"de": "bugfix ordnerinclusion",
|
|
87
|
-
"ru": "bugfix включение папок",
|
|
88
|
-
"pt": "inclusão de pastas de correção de erros",
|
|
89
|
-
"nl": "bugfix-map-integratie",
|
|
90
|
-
"fr": "bugfix dossierinclusion",
|
|
91
|
-
"it": "bugfix folderinclusione",
|
|
92
|
-
"es": "carpeta bugfixinclusion",
|
|
93
|
-
"pl": "włączenie folderu bugfix",
|
|
94
|
-
"uk": "папка прикусу",
|
|
95
|
-
"zh-cn": "包含错误文件夹"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -1792,26 +1792,28 @@ class bridgeClass {
|
|
|
1792
1792
|
|
|
1793
1793
|
chunk.push(this.work(adapterObject._id, undefined, localOptions));
|
|
1794
1794
|
|
|
1795
|
-
//
|
|
1795
|
+
// if chunk full => do
|
|
1796
1796
|
if (chunk.length >= CHUNK_SIZE) {
|
|
1797
1797
|
await Promise.all(chunk);
|
|
1798
1798
|
chunk = [];
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
//
|
|
1802
|
+
// Do until chunk is 0
|
|
1803
1803
|
if (chunk.length > 0) {
|
|
1804
1804
|
await Promise.all(chunk);
|
|
1805
1805
|
}
|
|
1806
1806
|
|
|
1807
|
-
//
|
|
1808
|
-
await
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1807
|
+
// Promise all functions
|
|
1808
|
+
await Promise.all([
|
|
1809
|
+
this.discoverClimate(),
|
|
1810
|
+
this.getForeignStatesForStandardEntities(),
|
|
1811
|
+
this.getForeignClimateConfig(),
|
|
1812
|
+
this.getForeignHumidifierConfig(),
|
|
1813
|
+
this.getForeignLightConfig(),
|
|
1814
|
+
this.getForeignCoverConfig(),
|
|
1815
|
+
this.getForeignLockConfig(),
|
|
1816
|
+
]);
|
|
1815
1817
|
await this.checkDiscoveries();
|
|
1816
1818
|
} catch (error) {
|
|
1817
1819
|
this.adapter.log.error(`error at ${activeFunction}: ${error}`);
|