I have 2 floors, I have a Roborock Q7 Max which supports multiple maps. However, the room numbers are reused accross the floors (ie, Room 18 is the bedroom on one map, the kitchen on another).
By using a sensor to derive the floor from the calibration points, I can say that if Room 18 is Kitchen if the vacuum is downstairs, or bedroom if the vacuum is upstairs.
Volker28
(Volker)
November 2, 2022, 10:06am
1352
Hello, what do I have to change or is it even possible to adapt a map as shown in the picture? I would like to have the map and the control side by side. Since I am using it on a 10" touch panel
Hey @3_14 , hell of a job with this card. Well done.
I have a question though…
My map modes menu doesn’t open where it’s supposed to. As a matter of fact it pops-up all over the place. How can I solve this?
Here’s an example.
Thanks!
3_14
(Piotr Machowski)
November 7, 2022, 3:04pm
1355
Unfortunately you can’t I have to rewrite it again
opened 11:52AM - 10 May 22 UTC
bug
### Checklist
- [X] I have updated the card to the latest version available
- [… X] I have cleared the cache of my browser
- [X] I have checked if the problem is already reported
### The problem
Hi,
In my config I disabled the icons & tiles :
```
icons: []
tiles: []
```
Since the version 2.0.11 (using HA 2022.5.3), the menu is sometimes expanding down and is then "cut" by the card :
![image](https://user-images.githubusercontent.com/20613054/167619432-8d87787d-f710-4090-b647-9704b8e304b8.png)
It works well when it expands up. It depends its position on the screen.
Before 2.0.11 (and with HA 2022.2), it was always expanding up.
Note that I'm using Firefox. With the Android companion app, when it expand down, the card is expanded as well.
Thank you!
### What version of a card has described problem?
v2.0.11
### What was the last working version card?
v2.0.10
### What vacuum model do you have problems with?
rockrobo.vacuum.v1
### Which integration do you use to control your vacuum (link)?
https://www.home-assistant.io/integrations/xiaomi_miio/
### What browser (browsers/apps) does have this problem?
Firefox
### What version of Home Assistant do you use?
2022.5.3
### What type of installation are you running?
Home Assistant OS
### Card's configuration
```yaml
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
entity: vacuum.robot_aspirateur
vacuum_platform: default
title: Vue aspirateur
map_locked: true
two_finger_pan: false
icons: []
tiles: []
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_follow_path
```
### Javascript errors shown in the browser's console (if applicable)
_No response_
### Additional information
_No response_
Oh, that’s ok. No problem. Thanks for the reply!
Hi,
where do I have to install the follow_path.yaml
Thank you!
3_14
(Piotr Machowski)
November 10, 2022, 12:29am
1358
It is a script. You add it via UI editor, just remove the first line and name the script “vacuum follow path”
1 Like
does this work with Wyze vacuums?
3_14
(Piotr Machowski)
December 5, 2022, 10:23pm
1360
Which integration do they use?
I’m using “Simple Wyze Vacuum” to make the vacuum work in HA, works great and have pretty much full control, minus the live map for now.
Here it is: GitHub - romedtino/simple-wyze-vac: Home Assistant Custom Component for Wyze Vacuum
3_14
(Piotr Machowski)
December 6, 2022, 12:07am
1362
It should be doable. You can create a feature request in the card repo
1 Like
benm7
(Ben M)
December 7, 2022, 4:07am
1364
Is there a way to hide all the tiles below the card so it just looked like this?
CChris
(Christoph)
December 7, 2022, 12:37pm
1365
Thanks for that card
I am still working on the dashboard, but the Card map is really a “must have”
1 Like
benm7
(Ben M)
December 9, 2022, 4:48am
1367
Thanks for this! It deleted the tiles but for some reason now doesn’t open then menu when I click ‘zone cleanup’ below. It just flashes but doesn’t bring up the menu, any idea why this might be happening?
Code below:
- type: custom:xiaomi-vacuum-map-card
style: |
ha-card {
border-radius: var(--border-radius-bar);
box-shadow: none;
--map-card-primary-color: rgba(var(--color-teal),0.5);
--map-card-secondary-color: rgba(var(--color-teal),0.2);
--map-card-zoomer-background: rgba(var(--color-teal),0.05);
--map-card-room-icon-color: rgb(var(--color-grey));
--map-card-room-icon-color-selected: rgb(var(--color-teal));
--map-card-predefined-point-icon-color: rgb(var(--color-grey));
--map-card-predefined-point-icon-color-selected: rgb(var(--color-teal));
}
entity: vacuum.robot
map_source:
camera: camera.xiaomi_cloud_map_extractor
vacuum_platform: default
tiles: []
calibration_source:
camera: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_goto_predefined
predefined_selections:
- position: [ 28450, 32820 ]
icon:
name: "mdi:trash-can"
x: 28450
y: 32820
- template: vacuum_clean_segment
predefined_selections:
- id: 1
icon:
name: "mdi:bunk-bed"
x: 33500
'y': 31600
- id: 2
icon:
name: "mdi:toilet"
x: 30750
'y': 32000
- id: 16
icon:
name: "mdi:fridge"
x: 28500
'y': 30200
- id: 19
icon:
name: "mdi:food-turkey"
x: 24550
'y': 30000
- id: 20
icon:
name: "mdi:bed-king"
x: 18000
'y': 26000
- id: 21
icon:
name: "mdi:bed-single"
x: 31500
'y': 26000
- id: 22
icon:
name: "mdi:sofa"
x: 22900
'y': 26000
- id: 23
icon:
name: "mdi:airballoon"
x: 28000
'y': 26000
3_14
(Piotr Machowski)
December 9, 2022, 5:02am
1368
Maybe it’s rendered somewhere else on the page? (Known issue with this menu) is there anything in browser’s console?
wifispray
(Wifispray)
December 19, 2022, 11:42am
1369
Hi There @3_14 - dude you card is sick!
Im trying to get the points calibrated from my Roborock s7 (it on the Mi home app).
I have setup the card and done all of the setup (map extractor etc)
When I try to generate the rooms (they boxes seem to overlap). How do did you manage to get map so well in your example. Im sure im missing something simple…
3_14
(Piotr Machowski)
December 19, 2022, 11:56am
1370
You have to treat these boxes as a starting point, now you can adjust outlines manually:
# Setup Platforms
The purpose of setup platforms is to make it easier to retrieve coordinates for other platforms.
### Getting coordinates
To get coordinates of zone, point or outline you have to:
1. Open dashboard in edit mode
![image](media/dashboard_editor.png)
2. Open card editor
![image](media/card_editor.png)
3. Choose appropriate setup platform according to platform you use in card
<table>
<tbody>
<tr>
<th>Setup integer</th>
<th>Setup decimal</th>
</tr>
This file has been truncated. show original