Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for spot cleaning #25

Merged
merged 1 commit into from Dec 2, 2018
Merged

Conversation

larsvinc
Copy link
Contributor

I have an obscure house and have a big usecase for spot cleaning from the docking automated by home assistant.

I added spot cleaning support in accordance with the API at https://developers.neatorobotics.com/api/robot-remote-protocol/spotcleaning.

The API is very similar to the start_cleaning(), but with category=3. But there are so many additions and removals that I created a similar function for readability, and ease of comparing with the reference API published by Neato.

Tested on Botvac Connected (the only version I own).

When support for spot cleaning end up in HA, I will update the HA component accordingly.

@larsvinc
Copy link
Contributor Author

Here is a home assistant implementation that supports spot cleaning:
https://github.com/larsvinc/home-assistant/blob/dev/homeassistant/components/vacuum/neato.py

@stianaske stianaske merged commit 28159a5 into stianaske:master Dec 2, 2018
@larsvinc
Copy link
Contributor Author

larsvinc commented Jan 7, 2019

Hi @stianaske!

Happy New Year!

Thanks for merging this. I finally got around to making a pull request for full support in HA.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants