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:
parent
89f6f233a5
commit
ad41c1679d
@ -53,4 +53,9 @@
|
|||||||
|
|
||||||
## 0.4.5
|
## 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
|
@ -70,6 +70,6 @@ The parameter **disabled** accepts a list of switches/sensors that can be disabl
|
|||||||
|
|
||||||
- BotVac Connected (Firmware 2.2.0)
|
- BotVac Connected (Firmware 2.2.0)
|
||||||
- BotVac D3 Connected
|
- 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.
|
If you have another connected neato robot, please [tell me](https://github.com/naofireblade/homebridge-neato/issues) about your experience with this plugin.
|
5
index.js
5
index.js
@ -323,8 +323,9 @@ NeatoVacuumRobotAccessory.prototype = {
|
|||||||
that.vacuumRobotCleanService.setCharacteristic(Characteristic.On, that.robot.canPause);
|
that.vacuumRobotCleanService.setCharacteristic(Characteristic.On, that.robot.canPause);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (that.vacuumRobotGoToDockService.getCharacteristic(Characteristic.On).value !== !that.robot.dockHasBeenSeen) {
|
// dock switch is on (dock not seen before) and dock has just been seen -> turn switch off
|
||||||
that.vacuumRobotGoToDockService.setCharacteristic(Characteristic.On, !that.robot.dockHasBeenSeen);
|
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) {
|
if (that.vacuumRobotScheduleService.getCharacteristic(Characteristic.On).value !== that.robot.isScheduleEnabled) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge-neato",
|
"name": "homebridge-neato",
|
||||||
"version": "0.4.5",
|
"version": "0.4.6",
|
||||||
"description": "A Neato vacuum robot plugin for homebridge.",
|
"description": "A Neato vacuum robot plugin for homebridge.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
Reference in New Issue
Block a user