Hypfer / lovelace-valetudo-map-card

Display the map from a valetudo-enabled robot in a home assistant dashboard card.
MIT License
243 stars 36 forks source link

Select zone? #105

Closed DangerD1024 closed 1 year ago

DangerD1024 commented 2 years ago

Is there any way to select zone/custom using this plugin?

TheLastProject commented 2 years ago

Not yet, I would happily accept a patch for it but nobody bothered to implement it.

t0bse commented 1 year ago

any news on this? i'm coming from the xiaomi map card and used to select the zone https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

Hypfer commented 1 year ago

I really don't see the point in reimplementing the same functionality that the Valetudo WebInterface provides a second time but this time it is a tiny square embedded in some other Webapplication that comes with a ton of constrains.

This card provides the Map as a small rectangle with a few buttons that do predefined actions such as cleaning a predefined set of zones or rooms below. That's IMO the only thing that makes sense from an UX perspective.

If you want to do more than that, you should not be doing so through a lovelace card. Home-Assistant named them Dashboards after all. They're made for quick glances and interactions and not fiddly tiny rectangle drawing.

Instead, what about adding the Valetudo WebInterface as an iFrame to the sidebar? This way, it is also sorta part of Home Assistant and quickly accessible in e.g. the Home Assistant app or a wall mounted tablet, however it is also its own thing with much more screen real estate available to do advanced things.

DangerD1024 commented 1 year ago

any news on this? i'm coming from the xiaomi map card and used to select the zone https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

Only this way, look at block before, you can select zone by saved ID and startc vacuum cleaner