diff --git a/README.md b/README.md index b55ddaa..a9b63f2 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,9 @@ with the ioBroker CLI. You can change the port via `iob set hm-rega. - ### __WORK IN PROGRESS__ --> +### 3.0.14 (2021-01-30) +* (foxriver76) fix pot. crash after reconnect because of existingStates array + ### 3.0.13 (2021-01-30) * (foxriver76) ensure to not set states of non-existing RPC objects due to differences in the APIs (fixes #123) diff --git a/hm-rega.js b/hm-rega.js index 17b5ac3..43a292b 100644 --- a/hm-rega.js +++ b/hm-rega.js @@ -1403,9 +1403,9 @@ async function getDatapoints() { } // endFor adapter.log.info('Updated all datapoints'); - // delete it from RAM + // free RAM units = null; - existingStates = null; + existingStates = []; } /** diff --git a/io-package.json b/io-package.json index 3241324..4542125 100644 --- a/io-package.json +++ b/io-package.json @@ -2,8 +2,20 @@ "$schema": "https://raw.githubusercontent.com/foxriver76/ioBroker.js-controller/schemas/schemas/io-package.json", "common": { "name": "hm-rega", - "version": "3.0.13", + "version": "3.0.14", "news": { + "3.0.14": { + "en": "fix pot. crash after reconnect because of existingStates array", + "de": "Topf reparieren. Absturz nach erneuter Verbindung aufgrund des vorhandenen State-Arrays", + "ru": "исправить горшок. сбой после повторного подключения из-за массива существующих состояний", + "pt": "consertar maconha. travar após reconectar por causa da matriz existingStates", + "nl": "maak de pot vast. crasht na opnieuw verbinden vanwege een bestaande matrix", + "fr": "réparer le pot. crash après reconnexion à cause du tableau existingStates", + "it": "piatto fisso. arresto anomalo dopo la riconnessione a causa dell'array existingStates", + "es": "arreglar la olla. falla después de reconectar debido a una matriz de estado existente", + "pl": "naprawić garnek. Awaria po ponownym połączeniu z powodu tablicy existingStates", + "zh-cn": "修理锅。由于existingStates数组而重新连接后崩溃" + }, "3.0.13": { "en": "ensure to not set states of non-existing RPC objects due to differences in the APIs (fixes #123)", "de": "Stellen Sie sicher, dass keine Zustände nicht vorhandener RPC-Objekte aufgrund von Unterschieden in den APIs festgelegt werden (Fixes # 123).", @@ -231,18 +243,6 @@ "es": "problema potencial solucionado en la sincronización de enumeración", "pl": "naprawiono potencjalny problem z synchronizacją enum", "zh-cn": "修复了枚举同步的潜在问题" - }, - "2.6.11": { - "en": "timeout of requests increased to 90 seconds", - "de": "Das Zeitlimit für Anforderungen wurde auf 90 Sekunden erhöht", - "ru": "таймаут запросов увеличен до 90 секунд", - "pt": "o tempo limite das solicitações aumentou para 90 segundos", - "nl": "time-out van verzoeken is verhoogd tot 90 seconden", - "fr": "délai d'expiration des demandes augmenté à 90 secondes", - "it": "timeout delle richieste aumentato a 90 secondi", - "es": "el tiempo de espera de las solicitudes aumentó a 90 segundos", - "pl": "limit czasu żądań zwiększony do 90 sekund", - "zh-cn": "请求超时增加到90秒" } }, "title": "HomeMatic ReGaHSS", diff --git a/package-lock.json b/package-lock.json index 2248c5d..546104b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "iobroker.hm-rega", - "version": "3.0.13", + "version": "3.0.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bb98bf7..b4ad0c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.hm-rega", - "version": "3.0.13", + "version": "3.0.14", "engines": { "node": ">=10.0.0" },