Comments (11)
What type of encryption the map that is being returned from cloud is encrypted ?
from xiaomirobotvacuumprotocol.
see the map folder on the map definitions.
The file is not encrypted when you pull it from the cloud. (outside that the url is using https though)
from xiaomirobotvacuumprotocol.
Are u sure ? The response i get starts with "eF6lk9uyqk"(This is a long string)
from xiaomirobotvacuumprotocol.
Maybe your missed The file is gzipped, hence needs to be unzipped before reading.
from xiaomirobotvacuumprotocol.
Do you have an example file to upload for map(gzip file) ?
Yes i saw you said it is gzipped since my string does not starts with magic number "1f 8b"
from xiaomirobotvacuumprotocol.
You find example here
https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/RRMapFile/roboroommap%25252F55512646%25252F6.rrmap
from xiaomirobotvacuumprotocol.
just to check: you download your file from the link you got in the cloud, right?
from xiaomirobotvacuumprotocol.
Suggest to take a look at the openhab miio binding for more details. It has the functionality to show the vacuum map
from xiaomirobotvacuumprotocol.
so i have three questions:
- To download the map, i need to perform get_map_v1 directly to the robot and then get something like that: "roboroommap%2255512245%2F1". This data i send to the "/getmapfileurl" API that should return me something like that "https://awsde0.fds.api.xiaomi.com/robomap/roboroommap/55512646/8?Expires=1593388044000&GalaxyAccessKeyId=5271733786446&Signature=XjiFJX86cYNtIwuBth+C0PH/I0M=".
Correct ? as well as the https://awsde0.fds.api.xiaomi.com/robomap/roboroommap/55512646/8 return all map coordinates or there are many like this ? - Is this process support the Vacuum 1C type ?
- In the openhab " you said this command related to "Vacuum 1C" -> "MapView | String | map-map-view". What this command do ?
from xiaomirobotvacuumprotocol.
- Correct
- I don't really know. Most reports are for S5 and s6
Probably the fastest way to answer is to install openhab, add miio binding and add your cloud credentials. See if it gives you the map. If not, the c1 is different. You have the answer in 10 min - I don't quit understand your question. Is this in the source code?
from xiaomirobotvacuumprotocol.
Hi @marcelrv
Great job decoding map file!
I have a question about rrmap file schema: is it possible that it uses protobuf to encode data? It seems to be really similar
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.