-
Notifications
You must be signed in to change notification settings - Fork 74
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
How to get map from xiaomi servers? #42
Comments
yes, it is possible, but you need to make sure the request is properly signed with the security keys |
Thank you for reply! Sorry, one more question. How do obstacles recognition work? Do it depend on vacuum cleaner model? Or it is result of processing by Xiaomi servers? |
Help me please. How should I concatenate urls? I have roborock S6 and got in get_map_v1 response rubysc1%2FXXXXXXXXX%2FX My region server in MI Home is Russian. Vacuum was removed and added again to MI Home after setting the region. Seems my url is https://ru.api.io.mi.com/app/home/getmapfileurl I have no experience of requests... I have tryed to input to adress line of chrome https://ru.api.io.mi.com/app/home/getmapfileurl/rubysc1/XXXXXXXXX/X and https://ru.api.io.mi.com/app/home/getmapfileurl/rubysc1%2FXXXXXXXXX%2FX but server responses "404 not found" ... |
I have been experimenting with this recently, and created a gist that can help downloading the map. |
Is it possible to get mapping from Xiaomi server?
I know my region: sg.
I send GET-request to https://sg.api.io.mi.com/app/home/getmapfileurl with obj_name parameter which is the same with result of get_map_v1 method. It doesn't work. I try to concatenate roboroommap%2FXXXXXXXX%2FX (X from digits) and URL. It doesn't work too. What Do I do in wrong way?
The text was updated successfully, but these errors were encountered: