andreypopov / node-red-contrib-miio-roborock

Xioami Roborock node-red nodes
Apache License 2.0
30 stars 11 forks source link

How to get token when Roborock is registered to Roborock app #24

Closed janky69 closed 2 years ago

janky69 commented 3 years ago

Hi, i have Roborock S6 MaxV and if I reset WiFi setting I can get token with many tools. But if I add cleaner to Roborock App, token stop working... Exist some way to resolve this problem and stay by using Roborock App? Thank You very much!

andreypopov commented 3 years ago

I dont know, .. I can use mihome app + node-red

janky69 commented 3 years ago

Yes, but MiHomeApp dont have some feature as Roborock. With Roborock i can use camera live view and photos of obstacles...

Rob-for commented 3 years ago

https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

Works verry good!

andreypopov commented 3 years ago

It is crazy, but I implemented "catch cloud token" many months ago)forgot to finish it :)) 2021-03-05_16-33-55

janky69 commented 3 years ago

Thank you for your answer, but I got Login incorrect. I mean so this working only with account for MiHome app, not for Roborock... Is ti true?

andreypopov commented 3 years ago
janky69 commented 3 years ago

Thank you for your great work! But it not resolve this issue. This tool (I mean) not work with Roborock App accounts. Cleaner can't share from roborock app to mihome app. Is some way to resolve how to use roborock app and node red? Thank you!

TheNON75 commented 3 years ago

Hi All,

At this GitHub page there are some discussions about obtaining the token when the robot is connected to the roborock app.

https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues?q=is%3Aissue+is%3Aopen++104

There are 3 entries, one is a duplicate.

Some more recent and useful information can be found in #387. I hope it helps. Apparently if the robot is used with the roborock app, it communicates differently and with different servers. I assume that is something that needs to be implemented....

image

FezVrasta commented 1 year ago

@andreypopov here you can find some node scripts to get the token and interface with the robot.

The API is being reverse engineered at https://github.com/humbertogontijo/homeassistant-roborock