Version 0.4.6

* Added error log while refreshing robot state
* Fixed a rare bug where the robot stops after some seconds of cleaning
This commit is contained in:
naofireblade 2017-12-10 13:14:12 +01:00
parent 89f6f233a5
commit ad41c1679d
4 changed files with 11 additions and 5 deletions

View File

@ -54,3 +54,8 @@
## 0.4.5
* Fixed compatibility with homebridge 0.4.23 (occupancy sensor not working)
## 0.4.6
* Added error log while refreshing robot state
* Fixed a rare bug where the robot stops after some seconds of cleaning

View File

@ -70,6 +70,6 @@ The parameter **disabled** accepts a list of switches/sensors that can be disabl
- BotVac Connected (Firmware 2.2.0)
- BotVac D3 Connected
- BotVac D5 Connected
- BotVac D5 Connected (Firmware 3.2.0-305)
If you have another connected neato robot, please [tell me](https://github.com/naofireblade/homebridge-neato/issues) about your experience with this plugin.

View File

@ -323,8 +323,9 @@ NeatoVacuumRobotAccessory.prototype = {
that.vacuumRobotCleanService.setCharacteristic(Characteristic.On, that.robot.canPause);
}
if (that.vacuumRobotGoToDockService.getCharacteristic(Characteristic.On).value !== !that.robot.dockHasBeenSeen) {
that.vacuumRobotGoToDockService.setCharacteristic(Characteristic.On, !that.robot.dockHasBeenSeen);
// dock switch is on (dock not seen before) and dock has just been seen -> turn switch off
if (that.vacuumRobotGoToDockService.getCharacteristic(Characteristic.On).value == true && that.robot.dockHasBeenSeen) {
that.vacuumRobotGoToDockService.setCharacteristic(Characteristic.On, false);
}
if (that.vacuumRobotScheduleService.getCharacteristic(Characteristic.On).value !== that.robot.isScheduleEnabled) {

View File

@ -1,6 +1,6 @@
{
"name": "homebridge-neato",
"version": "0.4.5",
"version": "0.4.6",
"description": "A Neato vacuum robot plugin for homebridge.",
"license": "MIT",
"keywords": [