Support for basic-2 services
This commit is contained in:
parent
9a5c3f942c
commit
5eb5b9934d
@ -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
|
||||
* Improved eco mode to not be overwritten by robot state update
|
||||
|
||||
## 0.3.1
|
||||
|
||||
* Added experimental support for newer Neato Botvac models
|
@ -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"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
6
index.js
6
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.")
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user