-
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 can I get to the map? #8
Comments
There is indeed no direct way to access the map data. |
thanks. I ended up taking screenshots and stitching them together. like a caveman. |
How are maps uploaded? Can you tell it with an URL where to upload the map? |
Yes you can. Roborock asks Xiaomi Cloud for pre-signed URL:
Xiaomi response with URL. It will be used for upload map file:
|
Ok, so we could implement in valtudo a service and tell the robot to drop the map there :-) |
Basicaly yes, I'm using this method to store map files on my server for later usage. But I can intercept any message sent from/to roborock and even replace it or part of it on-the-fly. Not sure Valetudo can do similar tricks, as I don't know this software. Keep in mind, this is not an pure image file. Some info about file format can be found here. |
I think so, but I'm not 100% sure. File format has been slightly changed couple of weeks ago probably due to 'software barrier' feature in roborock firmware. |
FYI: Valetudo has now a map upload feature. The robot uploads map to valetudo. |
Hi, it seems to be possible to download the map from the xiaomi server now. However, unfortunately I did not manage to download the map with the xiaomi api URL and the roboroommap url. Can you please provide some details how this works? |
I've run into "object not found" on the "awsde0.fds.api.xiaomi.com" server - it seems to be the same when using the DE version of the url suggested in map_v1. Am I using the correct url? The path I'm using looks like "/app/home/roboroommap/xxx/0" |
It may be a very stupid question, but could you please describe how I can get my hands on the current map file? I really don't want to simply screenshot my android app screen, there must be a better way. Can I get access to the map without rooting the robot itself? I have the first version of the robot and I want to use it to create a floor plan of my house.
I think you mentioned that maps are stored in robot.db inside the device itself, but that file can only be accessed once the device via rooted, correct? Is there anything on the android device or on the cloud I can use?
The text was updated successfully, but these errors were encountered: