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

Hello from xiaomiRobot #11

Open
Roborock-OpenSource opened this issue Sep 11, 2018 · 15 comments
Open

Hello from xiaomiRobot #11

Roborock-OpenSource opened this issue Sep 11, 2018 · 15 comments

Comments

@Roborock-OpenSource
Copy link

hi Marcel,
very great job,
thank you for your interest in our robot .
please be free to contact me when you have question about xiaomiRobot(Roborock).

@marcelrv
Copy link
Owner

Thank you @Roborock-OpenSource

I think the most prominent question we have is how to determine the token of a device in a non-hacked way. It would be great if there is a clear way we can logon to the cloud and receive the token without the need to downgrade the android app or need to put custom firmware on the robot.

@Roborock-OpenSource
Copy link
Author

I will discuss with our team, my email is [email protected] , can you send e email about this ?

@marcelrv
Copy link
Owner

yes, please find a more elaborate mail in your email box.
I'll also write some more thoughts that would make OS implementations easier.
e.g. easy endpoint to retrieve the mapdata from the device to allow OS apps to incorporate the cleaning map

@Luc3as
Copy link

Luc3as commented Nov 10, 2018

Hello, would be possible to add support for newer protocol which uses Xiaowa E20/E35 vacuums ?

@marcelrv
Copy link
Owner

@Roborock-OpenSource did you receive my email?
Can you feedback if this was useful and some response if this is something you can support this or not, or maybe still in discussion?
thx

@ciB89
Copy link

ciB89 commented Nov 14, 2018

I'm also curious how the new commands are to set up virtual no-go zones and walls - I would like to create a virtual no-go zone for my carpets when mobbing the floor and delete it after cleaning again.

@Luc3as
Copy link

Luc3as commented Nov 14, 2018

I'm also curious how the new commands are to set up virtual no-go zones and walls - I would like to create a virtual no-go zone for my carpets when mobbing the floor and delete it after cleaning again.

Do you already have this functionality in APP ? I did read somewhere there could be some big update from Mi at the end of the this year with this functionality.

@ciB89
Copy link

ciB89 commented Nov 14, 2018

I'm also curious how the new commands are to set up virtual no-go zones and walls - I would like to create a virtual no-go zone for my carpets when mobbing the floor and delete it after cleaning again.

Do you already have this functionality in APP ? I did read somewhere there could be some big update from Mi at the end of the this year with this functionality.

Yes, it's in my app. The functionality has been on chinese servers for a couple of weeks now, but it got unlocked today in Europe too! It also enables you to save the map.

@dugite-code
Copy link

dugite-code commented Nov 16, 2018

FYI if you don't have the new options showing @FeatureExpert has found a way to enable this with root access over on the dustcloud github

@ciB89
Copy link

ciB89 commented Nov 26, 2018

any updates?

@nuc134r
Copy link

nuc134r commented Dec 17, 2018

You can obitain token without root or hacking the robot using patched Mi Home app. It also broadcasts token in it's own WiFi network before it is paired.

The protocol workflow and tokens are well described in this repo. It is in Russian but I can volunteer to translate it to English someday.

Patched version of Mi Home app which allows to get token is available on it's developer's blog also in Russian.

Use Chrome's "Translate to English" from context menu. :)

@dugite-code
Copy link

@ciB89 have a look at #15 some preliminary discoveries regarding the virtual walls are there.

@andreashaertel
Copy link

Hi, I have written a C++ code to send and receive UDP packets to a S5 Max that is uninitialized. I am able to receive the device id and the token. However, now I am preparing a packet to send WiFi credentials or a packet to send a "Start" command and the robot is not reacting.
First: is there any interest in this direction?
Second: anyone able to help me getting this running?
My plan is to connect the robot to a WiFi without internet connection and to send commands via the program.

I followed the description on https://github.com/OpenMiHome/mihome-binary-protocol/blob/master/doc/PROTOCOL.md

@marcelrv
Copy link
Owner

marcelrv commented Jul 6, 2020

@andreashaertel Similar features are available in the Openhab & python-miio.
Is there something specific that you are tying to achieve that is not already there?

@andreashaertel
Copy link

Thank you, I had no idea about the python-miio: it works great. Now I like to learn about the internal coordinates of the device, but this seems to be complicated (without connecting it to the cloud or hacking its firmware).

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

7 participants