Comments (10)
There is indeed no direct way to access the map data.
The 2 known solutions: 1) root your device 2) pull the files from the cloud.
For the latter, the way to access cloud files is not fully clear yet.
thanks. I ended up taking screenshots and stitching them together. like a caveman.
from xiaomirobotvacuumprotocol.
There is indeed no direct way to access the map data.
The 2 known solutions: 1) root your device 2) pull the files from the cloud.
For the latter, the way to access cloud files is not fully clear yet.
from xiaomirobotvacuumprotocol.
How are maps uploaded? Can you tell it with an URL where to upload the map?
from xiaomirobotvacuumprotocol.
Yes you can. Roborock asks Xiaomi Cloud for pre-signed URL:
{'id': ##MESSAGE_ID##, 'method': '_sync.gen_presigned_url', 'params': {}}
Xiaomi response with URL. It will be used for upload map file:
{'id': ##MESSAGE_ID##, 'result': {'': {'url': 'http://awsde0.fds.api.xiaomi.com/robomap/2019/02/06/##SOME_UNKNOWN_NUMBERS_1##/##DEVICE_ID##_##SOME_UNKNOWN_NUMBERS_2##?Expires=1549420683543&GalaxyAccessKeyId=xxxxx&Signature=yyyyy', 'obj_name': '2019/02/06/##SAME_AS_UNKNOWN_NUMBERS_1##/##DEVICE_ID##_##SAME_AS_UNKNOWN_NUMBERS_2##', 'method': 'PUT', 'expires_time': 1549420656, 'ok': True, 'pwd': 'zzzzz'}, 'ok': True}}
from xiaomirobotvacuumprotocol.
Ok, so we could implement in valtudo a service and tell the robot to drop the map there :-)
from xiaomirobotvacuumprotocol.
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.
from xiaomirobotvacuumprotocol.
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.
from xiaomirobotvacuumprotocol.
FYI: Valetudo has now a map upload feature. The robot uploads map to valetudo.
from xiaomirobotvacuumprotocol.
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?
from xiaomirobotvacuumprotocol.
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"
from xiaomirobotvacuumprotocol.
Related Issues (20)
- Xiaomi 1T (STYTJ02ZHM) Vacuum HOT 6
- Unable to change map HOT 3
- S7 - water level Low HOT 3
- How to use voice command to instruct no of cycles
- Set cleaning "strength"? HOT 1
- Reverse engineering HOT 2
- How can i find coordinates to use in "app_goto_target" and "app_zoned_clean" HOT 3
- Roborock S7 - Command to auto-empty in Dock HOT 6
- Question: Send command to Dreame D9 HOT 3
- How can control the mop_mode HOT 1
- Roborock S7 MaxV Firmware Features HOT 1
- get current coordinates and send to coordinates HOT 2
- Question: Can I make the S5E vacuum say a "ping" sound? HOT 1
- Ability to Empty dustbin. HOT 2
- S6 MaxV - get_room_mapping empty HOT 2
- Unable to get info using vacuum.send_command HOT 4
- S5 max - distance_off not worked as in docu described HOT 1
- Question: Retrieve installed sound pack?
- PROBLEM: Start room cleaning HOT 5
- Not able to clean without water (Roborock S7 MaxV Ultra) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomirobotvacuumprotocol.