83 lines
3.5 KiB
Markdown
83 lines
3.5 KiB
Markdown
# homebridge-neato
|
|
[![npm](https://img.shields.io/npm/v/homebridge-neato.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-neato)
|
|
[![npm](https://img.shields.io/npm/dt/homebridge-neato.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-neato)
|
|
[![GitHub last commit](https://img.shields.io/github/last-commit/naofireblade/homebridge-neato.svg?style=flat-square)](https://github.com/naofireblade/homebridge-neato)
|
|
|
|
This is a plugin for [homebridge](https://github.com/nfarina/homebridge) to control your [Neato](https://www.neatorobotics.com/) vacuum robot. You can download it via [npm](https://www.npmjs.com/package/homebridge-neato).
|
|
|
|
If you like this plugin, I would be very grateful for any support.
|
|
<a href="https://www.buymeacoffee.com/2D1nUuK36" target="_blank"><img width="130" src="https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png" alt="Buy Me A Coffee"></a>
|
|
|
|
Feel free to leave any feedback [here](https://github.com/naofireblade/homebridge-neato/issues).
|
|
|
|
## Features
|
|
|
|
- Start and pause cleaning
|
|
- Return to dock
|
|
- Scheduling
|
|
- Eco mode
|
|
- Extra care navigation
|
|
- Nogo lines
|
|
- Zone cleaning
|
|
- Get battery info
|
|
- Get dock info
|
|
- Periodic refresh of robot state
|
|
- Support for multiple robots
|
|
|
|
## Installation
|
|
|
|
1. Install homebridge using: `npm install -g homebridge`
|
|
2. Install this plugin using: `npm install -g homebridge-neato`
|
|
3. If you don't have a Neato account yet create one [here](https://www.neatorobotics.com/create-account/).
|
|
4. Update your configuration file. See the sample below.
|
|
|
|
## Configuration
|
|
|
|
Add the following information to your config file. Change the values for email and password.
|
|
|
|
### Simple
|
|
|
|
```json
|
|
"platforms": [
|
|
{
|
|
"platform": "NeatoVacuumRobot",
|
|
"email": "YourEmail",
|
|
"password": "YourPassword"
|
|
}
|
|
]
|
|
```
|
|
|
|
### Advanced
|
|
|
|
The following config contains advanced optional settings.
|
|
|
|
The parameter **refresh** sets an interval in seconds that is used to update the robot state in the background. This is only required for automations based on the robot state. The default value is `auto` which means that the update is automatically enabled while cleaning and disabled while not cleaning. You can set a value in seconds e.g. `120` to enable background updates even when the robot is not cleaning. You can also disable background updates completely by setting the value `0`. This might be required if you experience timeouts in the app because you have other home automation apps that are connected to your robot.
|
|
|
|
The parameter **disabled** accepts a list of switches/sensors that can be disabled in the neato homekit plugin (e.g. dock, dockstate, eco, schedule).
|
|
|
|
```json
|
|
"platforms": [
|
|
{
|
|
"platform": "NeatoVacuumRobot",
|
|
"email": "YourEmail",
|
|
"password": "YourPassword",
|
|
"refresh": "120",
|
|
"disabled": ["dock", "dockstate", "eco", "nogolines", "extracare", "schedule"]
|
|
}
|
|
]
|
|
```
|
|
|
|
## Tested robots
|
|
|
|
- BotVac Connected (Firmware 2.2.0)
|
|
- BotVac D3 Connected
|
|
- BotVac D5 Connected (Firmware 4.0.0, 4.3.0)
|
|
- BotVac D7 Connected
|
|
|
|
The plugin should work with D4 and D6 as well. If you have connected neato robot, please [tell me](https://github.com/naofireblade/homebridge-neato/issues) about your experience with this plugin.
|
|
|
|
## Contributors
|
|
Many thanks go to
|
|
- [ghulands](https://github.com/ghulands) for finding and fixing a bug when no robot is associated with the neato account
|
|
- [Berkay](https://github.com/btutal) for adding the schema file to use the plugin with homebridge-config-ui-x
|
|
- [Antoine de Maleprade](https://github.com/az0uz) for adding the zone cleaning feature |