updated magic-home lib, changed reply parameter to ack

This commit is contained in:
Jan Scheiper 2019-07-14 15:44:36 +02:00
parent a2ce3f72da
commit 3113249771
4 changed files with 19 additions and 10 deletions

View File

@ -14,7 +14,7 @@ class HCMagicHome extends HCColorLamp {
} }
let opts = { 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, log_all_received: (this._configuration.logall !== undefined) ? this._configuration.logall : false,
}; };

View File

@ -1,6 +1,6 @@
## Configuration ## Configuration
- `reply` - `ack`
Sets `wait_for_reply` in the constructor. Bitmask to set `ack` in the constructor.
- `logall` - `logall`
Sets `log_all_received` in the constructor. Sets `log_all_received` in the constructor.

19
package-lock.json generated
View File

@ -1,11 +1,16 @@
{ {
"name": "hc-magichome", "name": "hc-magichome",
"version": "1.0.5", "version": "1.1.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "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": { "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", "from": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git",
"requires": { "requires": {
"merge-options": "^1.0.1", "merge-options": "^1.0.1",
@ -18,9 +23,13 @@
"integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4="
}, },
"magic-home": { "magic-home": {
"version": "2.0.2", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/magic-home/-/magic-home-2.0.2.tgz", "resolved": "https://registry.npmjs.org/magic-home/-/magic-home-2.2.0.tgz",
"integrity": "sha512-QrbUYxYlHQfK7ixsMYro2H8gjbATHvZJkLWKO+RwGMvmT7x2SKqltJeQsjxmsFk/xQN/MB9jfLWyVaj4nBFBAA==" "integrity": "sha512-2awAYAv1N2msMO088HKwj7fNh20XrDl/YmaOceFMYByhwBS+9L3iWpAiwsi/LXwOrJzUu54zhLujYF/m/NfR2w==",
"requires": {
"commander": "^2.20.0",
"merge-options": "^1.0.1"
}
}, },
"merge-options": { "merge-options": {
"version": "1.0.1", "version": "1.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "hc-magichome", "name": "hc-magichome",
"version": "1.0.6", "version": "1.1.0",
"description": "Magic Home Plugin for Homecontrol", "description": "Magic Home Plugin for Homecontrol",
"main": "HCMagicHome.js", "main": "HCMagicHome.js",
"scripts": { "scripts": {
@ -14,6 +14,6 @@
"license": "UNLICENSED", "license": "UNLICENSED",
"dependencies": { "dependencies": {
"homecontrol-control-base": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git", "homecontrol-control-base": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git",
"magic-home": "^2.0.2" "magic-home": "^2.2.0"
} }
} }