Vacuum Interactive Map Card

This is a really advanced setup, I highly encourage you to wait for a new release of a map card that will have this feature built-in

Thanks @3_14 really looking forward for the next release, and thank you very much again for this work, it is amazing!!

@3_14 is there a plan to include the option to clean non-square rooms (extracted from xiaomi app) instead of zones? my rooms are not square so I still need to use the xiaomi app to clean the different rooms, but adding the rooms to this card would be a complete xiaomi-app-killer for me as I would never need to use it again.

I guess one of the biggest challenges is the non-square rooms cannot be defined with just 4 points, do we even know how xiaomi stores the info?

Hi @krovachek, I am trying to create exactly this card, do you mind sharing the code?

Yes, cleaning by room will be supported

1 Like

Hi, im trying to install it through HACS, however it keep spinning and never gets installed

I do see the files are there in
\config\www\community\lovelace-xiaomi-vacuum-map-card

Thoughts?

Anything in logs?

While its spinning during the HACS installation. i saw this in the logs

image

I did try the manual install as well according to the doc
i have the error “Custom element doesn’t exist: xiaomi-vacuum-map-card.” as well
its under /www/custom_lovelace/xiaomi_vacuum_map_card

Yes i do see the module under my dashboard resource as well

update: it works now, for some reason i cant make it work with HACS but with the manual install its working.

New (very big) release of the Map Card coming soon!

image

8 Likes

use SERVICE XIAOMI_MIIO.VACUUM_CLEAN_SEGMENT in automation. I can not get a replay of cleaning segments. what to do? thanks in advance to those who helped

Why my point are outside map?

I took these points from camera.xiaomi_cloud_map_extractor

They do not need to be on map, no problem here

There is possible to delete this area on map ?

No, it’s not possible, but you can change fill color for this area to transparent, you will end up with something like this:
image

You can also trim the map to make it look like this:
image

1 Like

So since my last reboot of HA i’m having this 2FA issue again. The card shows:
image
(It’s hard to read, but it says “Two Factor auth required (see logs)”

In the logs it shows:

If I use the link in the logs (only valid for about 1 minute) I get prompted for 2FA. However, after filling that in and the site showing “ok” the card and the logs still show the error. Reloading the integration results in the same error on the card and in the logs, also generating a new 2FA link.

The previous time I had this issue, it was solved by installing another Xiaomi integration through HACS, that used the same token. However, that doesn’t work this time.

I have rebooted several times, did the 2FA link several times. It just doesn’t work.

Any ideas?

This is not a correct thread for this problem, this one is.

Check out these issues: #157, #180

Oh sorry. I thought because someone else mentioned this issue in here, I could too. But I will check out the issues!
Thanks!

@3_14 Hello, Piotr! Could you clarify about Roborock S5/S50 - is it gen1 or a newer one?
My doubts are regarding “saving map” feature: it is turned ON in Mi Home but I have to perform a zone cleaning otherwise a map is shifted every time with respect to my floorplan.

Gen1 has problems with map saving, I have S55 (pic attached)