diff --git a/README.md b/README.md index 8f1494d..a37ac6f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Rename config.sample.json to config.json and place in .homebridge/config.json ``` sudo npm install -g --unsafe-perm homebridge -sudo npm install -g homebridge-garage-door-wsensor +sudo npm install -g --unsafe-perm homebridge-garage-door-wsensor ``` Rename config.sample.json to config.json and place in .homebridge/config.json diff --git a/index.js b/index.js index 4b34d07..b85a442 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,6 @@ GarageDoorOpener.prototype.checkSensor = function (callback) { GarageDoorOpener.prototype.readSensorState = function () { var val = this.gpioSensorVal(rpio.read(this.doorSensorPin)); - console.log('readSensorState: ' + val); return val == rpio.HIGH; } @@ -76,7 +75,6 @@ GarageDoorOpener.prototype.setState = function (val) { } GarageDoorOpener.prototype.setDoorOpen = function (newState, callback) { - console.log('setDoorOpen: ' + newState); if (this.timerid !== -1) { clearTimeout(this.timerid); this.timerid = -1; diff --git a/package.json b/package.json index f6914fb..32fc6d1 100644 --- a/package.json +++ b/package.json @@ -54,5 +54,5 @@ "type": "git", "url": "git+https://github.com/plhyhc/homebridge-garage-door-wsensor.git" }, - "version": "2.0.0" + "version": "2.0.1" }