diff --git a/README.md b/README.md index 3fcd162..26b254b 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ Connects your Vallox Air Ventilation system into your ioBroker home automation. * Read and write states as usual ## Changelog +### 1.0.2 +* Added subscriptions of own objects to allow write values + ### 1.0.1 * Fixed resetting custom configuration of objects * Removed subscription of own objects diff --git a/io-package.json b/io-package.json index d6c20f1..f6d7427 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,12 @@ { "common": { "name": "valloxmv", - "version": "1.0.1", + "version": "1.0.2", "news": { + "1.0.2": { + "en": "Fixed issue writing objects", + "de": "Problem beim Schreiben von Objekten behoben" + }, "1.0.1": { "en": "Fixed resetting custom configuration of objects", "de": "Überschreiben manuell veränderter Objekt-Konfiguration behoben" diff --git a/main.js b/main.js index a59632b..b2def0d 100644 --- a/main.js +++ b/main.js @@ -39,6 +39,8 @@ class Valloxmv extends utils.Adapter { await this.setObjectNotExistsAsync(key, val.obj); } + this.subscribeStates("*"); + // setup timer this.interval = this.config.interval || 60; this.interval *= 1000; diff --git a/package.json b/package.json index 6edd2d6..ab61ad3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.valloxmv", - "version": "1.0.1", + "version": "1.0.2", "description": "valloxmv", "author": { "name": "hacki11",