iobroker.hm-rpc 1.14.46 → 1.14.47
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 +13 -13
- package/main.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -151,6 +151,9 @@ via or/and operator. The then clause of the program can remain empty. Now your s
|
|
|
151
151
|
Placeholder for the next version (at the beginning of the line):
|
|
152
152
|
### __WORK IN PROGRESS__
|
|
153
153
|
-->
|
|
154
|
+
### 1.14.47 (2021-11-17)
|
|
155
|
+
* (foxriver76) handle cases where we cannot retrive `meta.roles` (addresses #407)
|
|
156
|
+
|
|
154
157
|
### 1.14.46 (2021-11-14)
|
|
155
158
|
* (foxriver76) added logging for "no dpType" scenarios
|
|
156
159
|
* (foxriver76) added image of HmIP-eTRV-E
|
package/io-package.json
CHANGED
|
@@ -14,8 +14,20 @@
|
|
|
14
14
|
"pl": "Łączy procesy HomeMatic-Interface (BidCos-Services, Homegear i CUxD) za pośrednictwem XML-RPC lub BIN-RPC z ioBroker",
|
|
15
15
|
"zh-cn": "通过 XML-RPC 或 BIN-RPC 将 HomeMatic 接口进程(BidCos-Services、Homegear 和 CUxD)连接到 ioBroker"
|
|
16
16
|
},
|
|
17
|
-
"version": "1.14.
|
|
17
|
+
"version": "1.14.47",
|
|
18
18
|
"news": {
|
|
19
|
+
"1.14.47": {
|
|
20
|
+
"en": "handle cases where we cannot retrive `meta.roles` (addresses #407)",
|
|
21
|
+
"de": "behandelt Fälle, in denen wir `meta.roles` nicht abrufen können (Adressen #407)",
|
|
22
|
+
"ru": "обрабатывать случаи, когда мы не можем получить `meta.roles` (адреса # 407)",
|
|
23
|
+
"pt": "lidar com casos em que não podemos recuperar `meta.roles` (endereços # 407)",
|
|
24
|
+
"nl": "gevallen behandelen waarin we `meta.roles` niet kunnen ophalen (adressen #407)",
|
|
25
|
+
"fr": "gérer les cas où nous ne pouvons pas récupérer `meta.roles` (adresses #407)",
|
|
26
|
+
"it": "gestire i casi in cui non possiamo recuperare `meta.roles` (indirizzi #407)",
|
|
27
|
+
"es": "manejar casos donde no podemos recuperar `meta.roles` (direcciones # 407)",
|
|
28
|
+
"pl": "obsłużyć przypadki, w których nie możemy odzyskać `meta.roles` (adresy #407)",
|
|
29
|
+
"zh-cn": "处理我们无法检索 `meta.roles` 的情况(地址 #407)"
|
|
30
|
+
},
|
|
19
31
|
"1.14.46": {
|
|
20
32
|
"en": "added logging for \"no dpType\" scenarios\nadded image of HmIP-eTRV-E\nadded image of HmIPW-WRC6",
|
|
21
33
|
"de": "Logging für \"no dpType\"-Szenarien hinzugefügt\nBild von HmIP-eTRV-E hinzugefügt\nBild von HmIPW-WRC6 hinzugefügt",
|
|
@@ -87,18 +99,6 @@
|
|
|
87
99
|
"es": "eliminar el manejo de mensajes stopInstance y poner todo en descarga\neliminado el fondo blanco por algunos iconos",
|
|
88
100
|
"pl": "usuń obsługę wiadomości stopInstance i umieść wszystko w unload\nusunięto białe tło za pomocą niektórych ikon",
|
|
89
101
|
"zh-cn": "删除 stopInstance 消息处理并将所有内容卸载\n通过一些图标删除了白色背景"
|
|
90
|
-
},
|
|
91
|
-
"1.14.38": {
|
|
92
|
-
"en": "fixed the VirtualDevices min/max/default assignment (fixes #332)\ndo not scale on normal '%' UNIT because its inconsistent (fixes #326)",
|
|
93
|
-
"de": "Die Zuweisung von VirtualDevices min / max / default wurde korrigiert (Fixes # 332).\nSkalieren Sie nicht auf der normalen '%' UNIT, da diese inkonsistent ist (Fixes # 326).",
|
|
94
|
-
"ru": "исправлено назначение виртуальных устройств min / max / default (исправления # 332)\nне масштабируются по обычному ЕДИНИЦУ \"%\", потому что он несовместим (исправление # 326)",
|
|
95
|
-
"pt": "corrigiu a atribuição mín / máx / padrão VirtualDevices (corrige # 332)\nnão escalar na UNIDADE '%' normal porque é inconsistente (corrige # 326)",
|
|
96
|
-
"nl": "de VirtualDevices min / max / standaard toewijzing gerepareerd (fixes # 332)\nschaal niet op normale '%' UNIT omdat het inconsistent is (fix # 326)",
|
|
97
|
-
"fr": "correction de l'affectation min / max / par défaut de VirtualDevices (correctifs # 332)\nne pas mettre à l'échelle sur l'unité '%' normale car elle est incohérente (correction # 326)",
|
|
98
|
-
"it": "risolto l'assegnazione min / max / predefinita di VirtualDevices (correzioni # 332)\nnon scalare sulla normale UNITÀ '%' perché è incoerente (correzioni # 326)",
|
|
99
|
-
"es": "Se corrigió la asignación mínima / máxima / predeterminada de VirtualDevices (arreglos # 332)\nno escale en la UNIDAD '%' normal porque es inconsistente (corrige # 326)",
|
|
100
|
-
"pl": "naprawiono przypisanie wartości min / maks / domyślne VirtualDevices (poprawki # 332)\nnie skaluj na normalnej JEDNOSTCE „%”, ponieważ jest niespójna (poprawki # 326)",
|
|
101
|
-
"zh-cn": "修复了VirtualDevices的最小/最大/默认分配(修复#332)\n不能按正常的'%'UNIT缩放,因为它不一致(修复#326)"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"authors": [
|
package/main.js
CHANGED
|
@@ -681,9 +681,9 @@ let rpcClient;
|
|
|
681
681
|
let rpcServer;
|
|
682
682
|
|
|
683
683
|
const metaValues = {};
|
|
684
|
-
let metaRoles = {};
|
|
685
684
|
const dpTypes = {};
|
|
686
685
|
|
|
686
|
+
let metaRoles;
|
|
687
687
|
let lastEvent = 0;
|
|
688
688
|
let eventInterval;
|
|
689
689
|
let connInterval;
|
|
@@ -757,6 +757,13 @@ async function main() {
|
|
|
757
757
|
adapter.log.error(`hm-rpc.meta.roles: ${e.message}`);
|
|
758
758
|
}
|
|
759
759
|
|
|
760
|
+
if (!metaRoles) {
|
|
761
|
+
// if no meta roles we cannot run correctly
|
|
762
|
+
adapter.log.error('No meta values retrived, check your installation. "hm-rpc.meta.roles" may be corrupted.');
|
|
763
|
+
adapter.restart();
|
|
764
|
+
return;
|
|
765
|
+
}
|
|
766
|
+
|
|
760
767
|
try {
|
|
761
768
|
const res = await adapter.getObjectViewAsync('system', 'state', {
|
|
762
769
|
startkey: `${adapter.namespace}.`,
|
package/package.json
CHANGED