Guide: How to use the Lovelace Vacuum Card #40
Replies: 5 comments 9 replies
-
Pin & GoHere is how I made the Pin & Go feature work on my side. When editing the YAML config, I modified the related entry under map_modes:
- name: Cible
icon: mdi:map-marker-plus
run_immediately: false
coordinates_rounding: true
selection_type: MANUAL_POINT
max_selections: 999
repeats_type: NONE
max_repeats: 1
service_call_schema:
service: vacuum.send_command
service_data:
command: app_goto_target
params:
- '[[point_x]]'
- '[[point_y]]'
entity_id: '[[entity_id]]'
predefined_selections: []
variables: {}
After this modification, I am able to select the pin icon, click somewhere on the map and then hit the "play" icon and the vacuum goes there. Zone CleaningI haven't completely figured this one out.
Here is what a service call looks like to clean zones. I don't know yet how to make a service call schema to match this. The service: vacuum.send_command
data:
command: app_zoned_clean
params:
- - 24153
- 27813
- 25021
- 28512
- 1
target:
entity_id: vacuum.roborock_s7 |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm trying to add the lovelace vaccum card, but I can't set the camera entity. I attach screenshort. Many thanks! |
Beta Was this translation helpful? Give feedback.
-
Cleaning individual roomsWe mostly use the individual room cleaning function with our Roborock, so I wanted to get that working with the vacuum card. I used the card according to the instructions by setting it up to
By having the rooms as the first section in I was able to test the room behaviour in the service tool using this yaml:
and I was able to add a button to a room-card that vacuums the room by using the following configuration example:
Thanks to the developers for getting this all working for us! |
Beta Was this translation helpful? Give feedback.
-
Is there any way to change the color of some rooms and |
Beta Was this translation helpful? Give feedback.
-
I think, instead of this kind of manual configuration, a new "Vacuum platform" would be more user friednly in the Xiaomi Cloud Map Extractor. |
Beta Was this translation helpful? Give feedback.
-
Lovelace Vacuum Map card is a nice card that enables a visual interface to select rooms/zones to clean, quite similar to the Roborock app:
140251738-7fb06e81-34b0-4bf8-b7b1-2221d0062331.mp4
Due to the Roborock integration being so new, proper support hasn't been implemented yet, but it has been requested. In the meantime some customizations are required.
Guide:
Press Generate Rooms Config and Generate Static Config.
Click the blue icon next to "Zone cleanup" on the card, and select Rooms. Take note of what IDs your rooms have.
Click into "Show code editor" and edit the room names to what you want.
Remove the quotes around the id's, then the visual room selector on the card will start working too. Each room should look like this:
If you want you can also change the "mdi:broom" to another HA icon that fits each room better.
I still haven't figured out how to get Pin & Go and Zone Cleaning working, looking for input.
Beta Was this translation helpful? Give feedback.
All reactions