Integration with Roborock robot

Hey, I have also wifi based spotlight working with Xiaom mi home app.
It will be great to have driver. Or integration so I could provide IP for the light and controll it from snartthings.

most of the lights will be available through the Matter protocol.

When it should start working?

Sorry to revive and old thread but I enjoyed the work you put into this. Do you still have enough code to make it so I can add my vacuum to an automation? Smartthings doesn’t have Roborock. So I’d just need to add it to smartthings and be able to tell it to clean… I’m not necessarily looking to be able to pick one room, that would b great, but just being able to add cleaning as part of my leaving home routine would be sweet! I’d be willing to pay a few hundred dollars for the driver that lets me add a specific room to a cleaning routine.

@blueyetisoftware what do you think?
I have several projects running in parallel so I best I can do is consultancy and some minor help

I’d be up for it if I could use the Roborock app for control instead, but I don’t think that app exposes the token. I have security concerns with the other app.

what kind of security concerns do you have?

You can use the temporary password(change password) and use the local python application to create a token.
The device token will be regenerated as you reset a device and it’s good only for local execution.

I don’t see any new threats or ways to exploit the system.

I prefer the Roborock app for a variety of reasons. If there is a way to have it paired to that app, and get access to the local token, I would pursue it. The articles I have read all indicate that you have to pair your vacuum to the Xiaomi app, which I do not want to use.

The only functions from the roborock app I like is to be able to select rooms or whole house and set schedules. If I could do that in smartthings Id be golden

I am also interested in having this the integration between ST and Roborock…I’m using the S7 with their APP and I would like to use it with St.

1 Like

I also have roborock, but more important is my 8 Xiaomi wifi spotlights, that works only with mi home app.
I can have their IP from the app if it’s helping.
Is it possible to integrate them to ST somehow?

It is possible but not implemented , if you know a Lua developmer who is interested in this project let us know. I have some starting code for older firmware and an understanding of the protocol.

Do you know of a way to get a login credential without unpairing from the Roborock app? I did something similar for Midea with a python script.

the only information I’ve found is to hack the android app

and maybe Extract Token with "Roborock App" in use (not Xiaomi Home App) · Issue #104 · homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum · GitHub

I found this one last night as well. Looks promising. I may take a run at this option and see where it goes. Very cautious with credentials for a device that potentially has cameras and lidar. It will be a while though. Bunch of other drivers in progress.

2 Likes

You brought a robot with wheels, cameras and lidar to your home, that has a direct connection to a Chinese company 24x7. How much worse it could be?

And how can executing js code that you can debug and inspect compromise your credentials?

5 Likes

Hello, any news here?

Thx.

I decided not to work on this driver given the security issues with it and since the robot only works on 2 ghz wifi

Vacuum cleaners are included in Matter 1.2, so there is a hope that this feature will be enabled next year.

But to be honest there are not many use cases within ST application, other platforms (Google Home, Alexa) can start, stop cleaning routines based on virtual switch if you need.

1 Like