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

Various fixes (mostly for Viomi) #600

Merged
merged 6 commits into from
Sep 19, 2020
Merged

Various fixes (mostly for Viomi) #600

merged 6 commits into from
Sep 19, 2020

Conversation

rumpeltux
Copy link
Contributor

No description provided.

const id = parseInt(v[0]);
zones.set(id, {id: id, name: v[1].name, user: false});
}); */
// TODO: Remove this once Valetudo supports named rooms in the zone clean menu.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That probably won't happen, because Rooms and Zones are two very different things.
Rooms are defined as pixels, while Zones are defined as coordinates.

We should really keep them separated from each other

A separate panel where you can select rooms to clean without the map view would be nice though

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are they? In viomi maps, rooms are defined by their outline coordinates and a convenience pixel representation is there too. You could also translate zones to pixels.
I think the hard difference is that rooms are mutually exclusive and zones might overlap, but it's not clear to me that we really need the distinction in the "start cleaning something" UI, except that robots probably don’t support mix and matching room & zone cleans (at least viomi doesn’t).

Anyways, thanks for merging for now. I also wouldn’t mind the separate panel.

@Hypfer Hypfer merged commit 89a5485 into Hypfer:master Sep 19, 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