Roborock (Xiaomi) & Valetudo: Integration

Hi all,

I have just upgraded my Roborock S50 v2 vacuum cleaner with Valetudo and I would like to know which is your preferred method to integrate it in HA: Xiaomi component or the MQTT one. And why.

Thanks a lot in advance.

Sorry to reply without something helpful, but I had never heard of Valetudo. The concept of rooting a vacuum cleaner is just…wow. What a time to be alive!

I use mqtt. Not all options in valetudo are working with the xiaomi component.

1 Like

I’m running Valetudo > mqtt (with my user roborock having permissions to write to topics “valetudo/#” and “homeassistant/camera/#”). I’m running the hass.io add-on https://github.com/Poeschl/Hassio-Addons/tree/master/ICantBelieveItsNotValetudo (but you could build and run the container manually if you weren’t using hass.io). The vacuum and icantbelieve both use the roborock user (hence the need to be able to write to homeassistant/camera too).

With that I get a vacuum and camera both autodiscovered through mqtt.

I’m still playing with how to make use of all of this in the UI, but I have a picture-entity card to show the valetudo map. And I am using custom:xiaomi-vacuum-card for the simple vacuum controls, and a simple entity card for the vacuum just to see the state. But I need to get zoned cleaning working, etc.

I don’t know if https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card or something like https://medium.com/@hans.oischinger/zoned-cleanup-with-live-map-922240b4cf8c is the way to go.