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

Add support for no-mopping zones on S5 Max and S6 #630

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

NickNothom
Copy link
Contributor

image

No-mopping zones are like no-go zones, but they are only active when mopping. Very useful for drawing around rugs and carpets. They are available on the S5 Max and the S6, but not the S5. The screenshot above shows how the robot is forced to take an alternate route because of a no-mop zone in the way.

They can be added in the Configure forbidden zones view of Valetudo. They show up purple to match the stock Mi-Home app.

I have tested the functionality on my S6 and everything works correctly. I expect it will work fine on the S5 max as well, but I don't have one.

Known Issues:

  • The button to create a no-mop zone will still appear on the S5. So we will need some way to conditionally display buttons in the Configure forbidden zones page. This is sort of an architectural decision, so I would like to hear suggestions.

  • I wasn't able to find a suitable icon in the provided FontAwesome pack. So I just chose a placeholder for now. tint-slash could work nicely.

@Hypfer Hypfer merged commit 61902ed into Hypfer:master Nov 26, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants