Hey everyone,
I do have two Roborock vacuum cleaners. One connected to Xiaomi Home and one to the Roborock app, currently the second one can’t be connected via the xiamo home app. Currently there is no other device connected to home assistant. My main Smarthome system is openhab, im using it since openhab 2.x. But in the last days I’m looking more and more to the other systems as there are so many adapters and also a whole lot of dashboards, provided by the community. Maybe I’m going to switch completely over to HA. On the other hand I can imagine a combination of both, where one is the master. For the beginning that would be openhab. Last week we got a new vacuum robot, unfortunately this one can only be controlled via the Roborock app, and openhab is having just a adapter/binding for the Xiaomi Home App.
I can connect my account with the Roborock adapter and control the cleaner with it like a sharme.
I want to use mqqtt to get informations about the cleaner and also to control it. I figured out, I had to enable the publishing of attributes via the configuration.yaml. So far that is okay, I do get updates from the vacuum cleaner.
But I’m totally confused on how to control it over mqtt. I found some information, that basically, as soon I installed the mqqt adapter and service I can control every device with a “path” like: “homeassistant/livingroom/bulb/” and give the payload on. On the other hand I found aqtt vacuum template. According to that description it looks like I need to enable the vacuum set command for the cleaner at the configuration.yaml? If so I’m not clear on how to add multiple cleaners to the configuration? Should there be a kind fo id? I’m mean I found a “unique_id”, but this is optional?
→ MQTT Vacuum - Home Assistant
Maybe I didn’t get one of the fundamentals in Homeassistant?
So how can I control my vacuum over mqtt? Isn’t the a general way, that enabled set set commands on every connected device?
Any help and clearance is appreciated.
Thanks a lot