diff --git a/README.md b/README.md index 3182b85..dbea09d 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,12 @@ is true when TV is on and false if TV is off Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> +### **WORK IN PROGRESS** + +* (mcm1957) Health-interval limited to 5s minimum. +* (mcm1957) Compact mode has been disabled due to outdated timer handling. +* (mcm1957) Dependencies have been updated + ### 2.3.1 (2024-12-03) * (Feuer-Sturm) Some default values and limits of paramaters have been corrected. diff --git a/io-package.json b/io-package.json index 60ff58c..acdf6f4 100644 --- a/io-package.json +++ b/io-package.json @@ -145,7 +145,7 @@ "tier": 2, "mode": "daemon", "type": "multimedia", - "compact": true, + "compact": false, "connectionType": "local", "dataSource": "poll", "dependencies": [ diff --git a/main.js b/main.js index 8558879..461840c 100644 --- a/main.js +++ b/main.js @@ -782,6 +782,9 @@ function main() { adapter.log.debug(`adapter.config = ${JSON.stringify(adapter.config)}`); if (adapter.config.healthInterval < 1) { healthInterval = false; + } else if (adapter.config.healthInterval < 5000) { + adapter.log.info(`Health-Interval must not be less than 5s; setting adjusted.`); + adapter.config.healthInterval = 5000; } if (!fs.existsSync(dir)) { fs.mkdirSync(dir);