Skip to content

Commit

Permalink
Version 0.4.6
Browse files Browse the repository at this point in the history
* Added error log while refreshing robot state
* Fixed a rare bug where the robot stops after some seconds of cleaning
  • Loading branch information
naofireblade committed Dec 10, 2017
1 parent 89f6f23 commit ad41c16
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,9 @@

## 0.4.5

* Fixed compatibility with homebridge 0.4.23 (occupancy sensor not working)
* 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit ad41c16

Please sign in to comment.