diff --git a/CHANGELOG.md b/CHANGELOG.md index ef2875d..175a559 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,4 +22,8 @@ * Added error messages when cant login or get robot * Improved go to dock switch to be enabled as soon as possible without manual refresh * Improved switches to indicate the time an action needs to complete -* Improved eco mode to not be overwritten by robot state update \ No newline at end of file +* Improved eco mode to not be overwritten by robot state update + +## 0.3.1 + +* Added experimental support for newer Neato Botvac models \ No newline at end of file diff --git a/README.md b/README.md index e72613c..abc2508 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Feel free to leave any feedback [here](https://github.com/naofireblade/homebridg Add the following information to your config file. Change the values for name, email and password. -The parameter **refresh** is optional (default 0=off) and adjusts in what interval changes the robot state will be pushed to homekit. The minimum refresh time is 60 seconds. You need this only when you set up rules based on the robot state and start him outside of homekit (e.g. with the Neato app). +The parameter **refresh** is optional (default 0=off) and adjusts in what interval (seconds) changes of the robot state will be pushed to homekit. The minimum refresh time is 60 seconds. You need this only when you set up rules based on the robot state and start him outside of homekit (e.g. with the Neato app). ```json "accessories": [ @@ -38,7 +38,7 @@ The parameter **refresh** is optional (default 0=off) and adjusts in what interv "name": "YourRobot", "email": "YourEmail", "password": "YourPassword", - "refresh": "120" + "refresh": "0" } ] ``` diff --git a/index.js b/index.js index d619475..cbf65b4 100644 --- a/index.js +++ b/index.js @@ -97,7 +97,7 @@ NeatoVacuumRobot.prototype = { } else { debug("Start cleaning"); - that.robot.startCleaning(that.robot.eco, callback); + that.robot.startCleaning(that.robot.eco, 2, callback); } } else { @@ -310,7 +310,9 @@ NeatoVacuumRobot.prototype = { else { that.robot = robots[0]; that.log("Found robot: " + that.robot.name); - debug(that.robot); + that.getState(function (error, result) { + debug(that.robot); + }) if (robots.length > 1){ that.log.warn("Found more then one robot in your account. This plugin currently just supports one. First one found will be used.") } diff --git a/package.json b/package.json index 1c122a1..bc9e3c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-neato", - "version": "0.3.0", + "version": "0.3.1", "description": "A Neato vacuum robot plugin for homebridge.", "license": "MIT", "keywords": [ @@ -20,7 +20,7 @@ "url": "git://github.com/naofireblade/homebridge-neato.git" }, "dependencies": { - "node-botvac": "^0.1.4", + "node-botvac": "^0.1.5", "debug": "^2.2.0" } }