Here is the code mentioned in the video for the last step:
type: 'custom:xiaomi-vacuum-map-card' entity: vacuum.xiaomi_vacuum calibration_points: null camera_calibration: true map_camera: camera.xiaomi_cloud_map_extractor
Today’s video is a part 2 to last week’s review video on the Roborock S5 MAX. This method should work for ALL Roborock vacuums (possibly even the Xaiomi ones).
Please leave feedback if this worked for your model of vacuum.
We look at how to move the vacuum to the MiHome app, retrieve the token from the MiHome app and then how to set up the vacuum in Home Assistant.
I did also include some optional cards that move a lot of the functionality from MiHome to Home Assistant.
▶ Links in Video:
(I use Rebrand.ly for my URL shortening)
MiHome 5.4 (used to retrieve the token): https://tshouse.link/mihome
Home Assistant Docs – Xiaomi Robot Vacuum: https://tshouse.link/dg2
(Github) Lovelace Custom Vacuum Card: https://tshouse.link/per
(GitHub) Lovelace Xiaomi Vacuum Map Card: https://tshouse.link/f9c5
(GitHub) Xiaomi Cloud Map Extractor: https://tshouse.link/p2i
Code for Xiaomi Vacuum Map Card: https://tshouse.link/abd3b