From 4a55c4893aa879178b906b4dffdaaca9c676cb2b Mon Sep 17 00:00:00 2001 From: Moritz Heusinger Date: Mon, 24 Jan 2022 12:19:48 +0100 Subject: [PATCH] chore: release v3.0.34 * (martin-herzog/foxriver76) fixed unnedded call which lead to warnings in rega log --- LICENSE | 2 +- README.md | 5 +++- io-package.json | 26 ++++++++++---------- package-lock.json | 48 ++++++++++++++++++------------------- package.json | 12 +++++----- regascripts/pollingInv.fn | 2 +- regascripts/variables.fn | 2 +- regascripts/variablesInv.fn | 2 +- 8 files changed, 51 insertions(+), 48 deletions(-) diff --git a/LICENSE b/LICENSE index 1c7d724..0e7be23 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2021 bluefox +Copyright (c) 2014-2022 bluefox Copyright (c) 2014 hobbyquaker diff --git a/README.md b/README.md index 6d392b3..7f73d67 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,9 @@ with the ioBroker CLI. You can change the port via `iob set hm-rega. - Placeholder for the next version (at the beginning of the line): ### __WORK IN PROGRESS__ --> +### 3.0.34 (2022-01-24) +* (martin-herzog/foxriver76) fixed unnedded call which lead to warnings in rega log + ### 3.0.33 (2021-11-18) * (foxriver76) if function or room names on CCU include dots, we replace them (fixes Sentry IOBROKER-HM-REGA-3H) @@ -505,7 +508,7 @@ or non existent if no rpc instance existed ## License The MIT License (MIT) -Copyright (c) 2014-2021 bluefox +Copyright (c) 2014-2022 bluefox Copyright (c) 2014 hobbyquaker diff --git a/io-package.json b/io-package.json index 2e4309e..e176275 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,20 @@ { "common": { "name": "hm-rega", - "version": "3.0.33", + "version": "3.0.34", "news": { + "3.0.34": { + "en": "(martin-herzog/foxriver76) fixed unnedded call which lead to warnings in rega log", + "de": "(martin-herzog/foxriver76) Unnötige Aufrufe behoben, die zu Warnungen im Rega-Log führten", + "ru": "(martin-herzog/foxriver76) исправлен ненужный вызов, который приводил к предупреждениям в журнале rega", + "pt": "(martin-herzog/foxriver76) corrigiu a chamada unnedded que levava a avisos no log de rega", + "nl": "(martin-herzog/foxriver76) opgeloste oproep die leidde tot waarschuwingen in het rega-logboek", + "fr": "(martin-herzog/foxriver76) correction d'un appel sans numéro qui conduisait à des avertissements dans le journal rega", + "it": "(martin-herzog/foxriver76) risolta la chiamata non ripetuta che portava ad avvisi nel registro rega", + "es": "(martin-herzog/foxriver76) arregló una llamada no necesaria que generaba advertencias en el registro de registro", + "pl": "(martin-herzog/foxriver76) naprawiono nieoczekiwane połączenie, które prowadziło do ostrzeżeń w dzienniku rega", + "zh-cn": "(martin-herzog/foxriver76) 修复了导致 rega 日志中警告的 unnedded 调用" + }, "3.0.33": { "en": "if function or room names on CCU include dots, we replace them (fixes Sentry IOBROKER-HM-REGA-3H)", "de": "Wenn Funktions- oder Raumnamen auf der CCU Punkte enthalten, ersetzen wir diese (behebt Sentry IOBROKER-HM-REGA-3H)", @@ -74,18 +86,6 @@ "es": "mejorar la creación de ALARM dps incluso si no hay estados proporcionados por `getDatapoints` (arreglos # 168)", "pl": "poprawić tworzenie ALARM dps, nawet jeśli nie ma stanów dostarczonych przez `getDatapoints` (poprawki #168)", "zh-cn": "即使`getDatapoints` 没有提供状态,也会改进 ALARM dps 的创建(修复 #168)" - }, - "3.0.27": { - "en": "* fixed a bug that already deleted programs were only partially deleted in ioBroker\n__Please note: This will only work for deleted programs up from now. You have to clean up orphan programs manually__", - "de": "* Fehler behoben, bei dem bereits gelöschte Programme in ioBroker nur teilweise gelöscht wurden\n__Bitte beachten Sie: Dies funktioniert ab jetzt nur noch für gelöschte Programme. Sie müssen verwaiste Programme manuell bereinigen__", - "ru": "* исправлена ошибка, из-за которой уже удаленные программы удалялись лишь частично в ioBroker\n__Обратите внимание: с этого момента это будет работать только для удаленных программ. Вам нужно вручную очистить бесхозные программы __", - "pt": "* corrigido um bug que os programas já excluídos eram apenas parcialmente excluídos no ioBroker\n__Por favor, observe: Isso só funcionará para programas excluídos a partir de agora. Você tem que limpar programas órfãos manualmente__", - "nl": "* een bug opgelost waarbij reeds verwijderde programma's slechts gedeeltelijk werden verwijderd in ioBroker\n__Let op: dit werkt vanaf nu alleen voor verwijderde programma's. U moet weesprogramma's handmatig opschonen__", - "fr": "* correction d'un bug qui faisait que les programmes déjà supprimés n'étaient que partiellement supprimés dans ioBroker\n__Veuillez noter : cela ne fonctionnera que pour les programmes supprimés à partir de maintenant. Vous devez nettoyer les programmes orphelins manuellement__", - "it": "* risolto un bug per il quale i programmi già eliminati venivano eliminati solo parzialmente in ioBroker\n__Nota: d'ora in poi funzionerà solo per i programmi eliminati. Devi pulire i programmi orfani manualmente__", - "es": "* Se corrigió un error por el cual los programas ya eliminados solo se eliminaron parcialmente en ioBroker\n__Tenga en cuenta: esto solo funcionará para los programas eliminados a partir de ahora. Tienes que limpiar los programas huérfanos manualmente__", - "pl": "* naprawiono błąd, który powodował, że już usunięte programy były tylko częściowo usuwane w ioBroker\n__Uwaga: od teraz będzie to działać tylko w przypadku usuniętych programów. Musisz ręcznie wyczyścić osierocone programy__", - "zh-cn": "* 修复了 ioBroker 中已删除的程序仅部分删除的问题\n__请注意:这仅适用于从现在开始删除的程序。您必须手动清理孤立程序__" } }, "title": "HomeMatic ReGaHSS", diff --git a/package-lock.json b/package-lock.json index 9c0551e..06c6325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "iobroker.hm-rega", - "version": "3.0.33", + "version": "3.0.34", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3099,32 +3099,32 @@ } }, "mocha": { - "version": "9.1.4", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.4.tgz", - "integrity": "sha512-+q2aV5VlJZuLgCWoBvGI5zEwPF9eEI0kr/sAA9Jm4xMND7RfIEyF8JE7C0JIg8WXRG+P1sdIAb5ccoHPlXLzcw==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.0.tgz", + "integrity": "sha512-kNn7E8g2SzVcq0a77dkphPsDSN7P+iYkqE0ZsGCYWRsoiKjOt+NvXfaagik8vuDa6W5Zw3qxe8Jfpt5qKf+6/Q==", "dev": true, "requires": { "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.2", - "debug": "4.3.2", + "chokidar": "3.5.3", + "debug": "4.3.3", "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.1.7", + "glob": "7.2.0", "growl": "1.10.5", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "3.0.4", "ms": "2.1.3", - "nanoid": "3.1.25", + "nanoid": "3.2.0", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", "which": "2.0.2", - "workerpool": "6.1.5", + "workerpool": "6.2.0", "yargs": "16.2.0", "yargs-parser": "20.2.4", "yargs-unparser": "2.0.0" @@ -3162,9 +3162,9 @@ } }, "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "dev": true, "requires": { "anymatch": "~3.1.2", @@ -3178,9 +3178,9 @@ } }, "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dev": true, "requires": { "ms": "2.1.2" @@ -3211,9 +3211,9 @@ "optional": true }, "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -3312,9 +3312,9 @@ "optional": true }, "nanoid": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", - "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.2.0.tgz", + "integrity": "sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==", "dev": true }, "nanomatch": { @@ -5173,9 +5173,9 @@ "dev": true }, "workerpool": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", - "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", + "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", "dev": true }, "wrap-ansi": { diff --git a/package.json b/package.json index 9c6f621..ce8ef96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.hm-rega", - "version": "3.0.33", + "version": "3.0.34", "engines": { "node": ">=10.0.0" }, @@ -31,15 +31,15 @@ "xml2js": "^0.4.23" }, "devDependencies": { - "@alcalzone/release-script": "^3.4.1", - "@alcalzone/release-script-plugin-iobroker": "^3.4.1", - "@alcalzone/release-script-plugin-license": "^3.4.1", + "@alcalzone/release-script": "^3.5.0", + "@alcalzone/release-script-plugin-iobroker": "^3.5.0", + "@alcalzone/release-script-plugin-license": "^3.5.0", "@iobroker/testing": "^2.5.2", "axios": "^0.25.0", "chai": "^4.3.4", - "eslint": "^8.2.0", + "eslint": "^8.7.0", "gulp": "^4.0.2", - "mocha": "^9.1.3" + "mocha": "^9.2.0" }, "bugs": { "url": "https://github.com/ioBroker/ioBroker.hm-rega/issues" diff --git a/regascripts/pollingInv.fn b/regascripts/pollingInv.fn index 3e831f9..b8d8455 100644 --- a/regascripts/pollingInv.fn +++ b/regascripts/pollingInv.fn @@ -31,7 +31,6 @@ foreach (sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumIDs()) { sValue = oSysVar.Value(); iValueType = oSysVar.ValueType(); iValueSubType = oSysVar.ValueSubType(); - sValueList = oSysVar.ValueList(); Write('"' # sSysVarId # '":['); if (iValueType == 20) { @@ -45,6 +44,7 @@ foreach (sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumIDs()) { string sItem; integer iIndex = 0; string sIndex = "null"; + sValueList = oSysVar.ValueList(); foreach(sItem, sValueList.Split(";")) { if ((sIndex == "null") && (sItem == sValue)) { sIndex = iIndex.ToString(); diff --git a/regascripts/variables.fn b/regascripts/variables.fn index 5698c4f..df2f1c3 100644 --- a/regascripts/variables.fn +++ b/regascripts/variables.fn @@ -38,7 +38,6 @@ foreach(sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumUsedIDs()) { sValue = oSysVar.Value(); iValueType = oSysVar.ValueType(); iValueSubType = oSysVar.ValueSubType(); - sValueList = oSysVar.ValueList(); Write('"' # sSysVarId # '":{'); @@ -64,6 +63,7 @@ foreach(sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumUsedIDs()) { string sItem; integer iIndex = 0; string sIndex = "null"; + sValueList = oSysVar.ValueList(); foreach(sItem, sValueList.Split(";")) { if ((sIndex == "null") && (sItem == sValue)) { sIndex = iIndex.ToString(); diff --git a/regascripts/variablesInv.fn b/regascripts/variablesInv.fn index fa0b392..a527d2f 100644 --- a/regascripts/variablesInv.fn +++ b/regascripts/variablesInv.fn @@ -43,7 +43,6 @@ foreach(sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumIDs()) { sValue = oSysVar.Value(); iValueType = oSysVar.ValueType(); iValueSubType = oSysVar.ValueSubType(); - sValueList = oSysVar.ValueList(); Write('"' # sSysVarId # '":{'); @@ -69,6 +68,7 @@ foreach(sSysVarId, dom.GetObject(ID_SYSTEM_VARIABLES).EnumIDs()) { string sItem; integer iIndex = 0; string sIndex = "null"; + sValueList = oSysVar.ValueList(); foreach(sItem, sValueList.Split(";")) { if ((sIndex == "null") && (sItem == sValue)) { sIndex = iIndex.ToString();