Vacuum Interactive Map Card

I have some problems with calibration.
Probabily because i choose wrong A,B e C point to use for excel helper.
In this map which points do you choose?

Corners of selected zone should be ok :slight_smile:

okay…
another problem after edit of lovelace it’s convert my zones coordinate from:
[[23621,26118,26971,29268,1]]

to:
- - - 24215
- 28125
- 29465
- 32175
- - - 23621
- 26118
- 26971
- 29268
- 1

What i do wrong?

This is just a formatting, it is a standard behavior.
There is just one mistake: remove last “1” from your config (each zone should contain 4 coordinates)

Updated to 116.0 , is it possible that the lovelace card is broken? i cant draw zones anymore ?

anyone else seeing this too ?

also now using the map_camera attribute with that extractor, and seeing this now in log :

2020-10-07 21:52:08 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated
2020-10-07 21:52:13 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated

Yes, it’s broken. And yes, it uses a deprecated function. I am working on rewriting this card completely, which will solve these (and other) issues

4 Likes

For info, what changed in 116 to brake this card? Maybe I can revert that change… So I can use this card again

Ty

I don’t think you can revert it

ok, then we have to wait on your update :slight_smile:

There is a potential fix for 0.116 on master branch, but it wasn’t tested yet

ok , seems zone control, the drawing is now fixed ! thnx for that @3_14

one question tough, i am using now that new camera feature, on my chrome browser it looks fine
but on my mobile phone, its not scaling , the width is too big, its falling of my screen

any idea how i can resolve that ? i have scale in camera set to 1

Where do you have this issue (browser/app/system)? It works fine on my phone

i am using the HA android app

It still works fine in my case… Can you check if it is ok in Chrome?

chrome is the same, also tried incognito be be sure
here is how it looks like : https://www.dropbox.com/s/49nfjvn62zczfcf/vacuum1.jpg?dl=0

EDIT : fixed, seems i had bad trimmings :slight_smile:

1 Like

I want to install the custom card. But instead of add it via old fashioned way (ui-lovelace.yaml) I added the ressource via Configuration -> Loveace Dashboards -> Ressources. But I can’t find the “xiaomi_vacuum_map_card” via uir Card Viewer or via add manual card:

type: ‘custom: xiaomi_vacuum_map_card’
=> Error: Custom element not found: xiaomi_vacuum_map_card

Are you sure you used a correct URL?

/local/custom_lovelace/xiaomi_vacuum_map_card/xiaomi-vacuum-map-card.js

the file is in config\www\custom_lovelace\xiaomi_vacuum_map_card\

picture