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

Question on the "Hello packet" #9

Open
andreashaertel opened this issue Jun 26, 2020 · 2 comments
Open

Question on the "Hello packet" #9

andreashaertel opened this issue Jun 26, 2020 · 2 comments

Comments

@andreashaertel
Copy link

I am reading into the topic with the hope to be able to speak to my Roborock vacuum cleaner using UDP messages in an enclosed WiFi without connection to the world wide web (to avoid communication between the robot and any foreign server):

I do not yet understand, when this "Hello packet" is send: my robot is not connected to any WiFi. I can put some keys and then it is waiting for input from the App: does the App connect to the robot via a direct WiFi connection and then speaks to it via UDP?
Does anyone know a source for further reading on this processes?

Any help is very welcome. Thank you and best regards

@andreashaertel
Copy link
Author

Well, I have connected with a Laptop via WiFi with my Roborock S5 Max.
Then I have send a UDP "Hello" package to the IP 192.168.8.1 (from this address I received a positive ping) and port 54321 and listened with a second programm on the port 54321 on my local machine - receiving nothing. I would have expected a reply package from the robot. Is this procedure not correct? Any help is welcome. Thank you

@andreashaertel
Copy link
Author

Well, the initial handshake is running now and the robot sends me its token.

Now I wonder about the following:
I can send commands to the robot via udp protocol using the token for encryption. If I ask the robot to send the map, it sends it to the xiomi cloud encrypted with the cloudkey? There is now way to get access to this without hacking the robot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant