Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roborock S7 Max Ultra Token Issue #48

Open
Vacxe opened this issue Jun 5, 2022 · 4 comments
Open

Roborock S7 Max Ultra Token Issue #48

Vacxe opened this issue Jun 5, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Vacxe
Copy link

Vacxe commented Jun 5, 2022

** Describe issue **
Behavior:

Trying to add new Roborock S7 Max Ultra

Vac have static IP

image

Due token request having this issue:

image
image

** Hardware / Software **
  - Node Red in Docker on Synology

@Vacxe Vacxe added the bug Something isn't working label Jun 5, 2022
@jerome83136
Copy link

Hello,
Also have a similar need but with the Xiaomi Roborock S7 Pro Ultra.
As this is not the same model than the one of the author; do I have to open a dedicated issue ?

I will test this node on it and keep you up to date anyway; hoping it could help :)

Best regards and thanks for this node !

@andreypopov
Copy link
Owner

Try to use other tool for extracting token

@jerome83136
Copy link

Hi,
I tried with this other tool: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/releases/latest/download/token_extractor.exe

It shows my Roborock S5 token with no problem.

But for the Roborock S7 Pro Ultra (my 2nd robot) it can't retrieve any token.

The tool checks on the following servers: cn, de, us, ru, tw, sg, in, i2
Maybe the Roborock S7 Pro Ultra registers on another (unknown) server ? Or maybe is it because for this model; I had to use the "Roborock" APP (rather than the legacy "Xiaomi Home" APP) ?
I can see the robot making DNS requests to this server: awsde0.fds.api.xiaomi.com

And I can't sniff the traffic between the robot and this server because it's encrypted.
I could try sniffing between my mobile phone and the servers; but it seems I cannot because I need a rooted phone for PCAP

Any suggestions about tests I could try to help everyone ?

Thank you for your help

Regards

@jerome83136
Copy link

I just tried something that seems to work:

  • reset my S7 Pro Ultra
  • connected it by using the legacy "Xiaomi Home" APP
  • put my phone in plane mode to prevent the Xiaomi Home APP from disturbing the process (not sure if its usefull thoughts)

Then I was able to retrieve the token from your NodeRed node.
And now it works. Commands and events are OK

I've seen new DNS requests from the robot: de.ot.io.mi.com

I also checked with the token_extractor.exe tool and now I can see the robot listed on the "de" server (it was not the case on my previous try)

So I think the robot "registration" server has something to do with this token retireval problem.

Now time for reverse-engineering the new commands and associated params to send for this specific robot (dock auto-emptying, etc...)

Hope it will help.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants