you MUST be on 2025.4b or later
This allows you to use the core Roborock integration with the Xiaomi Map Card
If you would like to support me, you can do so here:
- Install the Roborock Core Integration and set it up
- It is recommended that you first disable the Image entities within the core integration. Open each image entity, hit the gear icon, then trigger the toggle by enabled.
- Install this integration(See the installing via HACS section below)
- This integration works by piggybacking off of the Core integration, so the Core integration will do all the data updating to help prevent rate-limits. But that means that the core integration must be setup and loaded first. If you run into any issues, make sure the Roborock integration is loaded first, and then reload this one.
- Setup the map card like normal! An example configuration would look like
type: custom:xiaomi-vacuum-map-card
vacuum_platform: Roborock
entity: vacuum.s7
map_source:
camera: image.s7_downstairs_full_custom
calibration_source:
camera: true
- You can hit Edit on the card and then Generate Room Configs to allow for cleaning of rooms. It might generate extra keys, so check the yaml and make sure there are no extra 'predefined_sections'
or
- Go to HACS->Integrations
- Add this repo(https://github.com/Lash-L/RoborockCustomMap) into your HACS custom repositories
- Search for Roborock Custom Map and Download it
- Restart your HomeAssistant
- Go to Settings->Devices & Services
- Add the Roborock Custom Map integration
Once you set up this integration, you can generate a static config in the lovelace card, and theoretically, you should be able to use that code with your Roborock CORE integration. However, it wont stay up to date if the map calibrations change significantly, or rooms change. So I'd only do this when I was sure everything was good!