diff --git a/HCMagicHome.js b/HCMagicHome.js index e2c734e..0a4f995 100644 --- a/HCMagicHome.js +++ b/HCMagicHome.js @@ -14,7 +14,7 @@ class HCMagicHome extends HCColorLamp { } let opts = { - wait_for_reply: (this._configuration.reply !== undefined) ? this._configuration.reply : true, + ack: (this._configuration.ack !== undefined) ? Control.ackMask(this._configuration.ack) : true, log_all_received: (this._configuration.logall !== undefined) ? this._configuration.logall : false, }; diff --git a/README.md b/README.md index 7c56274..1160fda 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Configuration -- `reply` -Sets `wait_for_reply` in the constructor. +- `ack` +Bitmask to set `ack` in the constructor. - `logall` Sets `log_all_received` in the constructor. \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6819652..c4f9c93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,16 @@ { "name": "hc-magichome", - "version": "1.0.5", + "version": "1.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { + "commander": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", + "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==" + }, "homecontrol-control-base": { - "version": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git#b7ed807affe888d61efd9dbff3d55bcc128215b7", + "version": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git#c37d47a85bc9f08cba7f4c8aa36ae6c6232800bd", "from": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git", "requires": { "merge-options": "^1.0.1", @@ -18,9 +23,13 @@ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" }, "magic-home": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/magic-home/-/magic-home-2.0.2.tgz", - "integrity": "sha512-QrbUYxYlHQfK7ixsMYro2H8gjbATHvZJkLWKO+RwGMvmT7x2SKqltJeQsjxmsFk/xQN/MB9jfLWyVaj4nBFBAA==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/magic-home/-/magic-home-2.2.0.tgz", + "integrity": "sha512-2awAYAv1N2msMO088HKwj7fNh20XrDl/YmaOceFMYByhwBS+9L3iWpAiwsi/LXwOrJzUu54zhLujYF/m/NfR2w==", + "requires": { + "commander": "^2.20.0", + "merge-options": "^1.0.1" + } }, "merge-options": { "version": "1.0.1", diff --git a/package.json b/package.json index 5db5d40..4d10e16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hc-magichome", - "version": "1.0.6", + "version": "1.1.0", "description": "Magic Home Plugin for Homecontrol", "main": "HCMagicHome.js", "scripts": { @@ -14,6 +14,6 @@ "license": "UNLICENSED", "dependencies": { "homecontrol-control-base": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git", - "magic-home": "^2.0.2" + "magic-home": "^2.2.0" } }