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

Trying to get map data without rooting #206

Closed
lance36 opened this issue Feb 8, 2018 · 1 comment
Closed

Trying to get map data without rooting #206

lance36 opened this issue Feb 8, 2018 · 1 comment

Comments

@lance36
Copy link

lance36 commented Feb 8, 2018

is there any way to obtain the map data in any format?

 $ mirobo --ip 192.168.1.112 --token <redacted> info
rockrobo.vacuum.v1 v3.3.9_003094 (<redacted>) @ 192.168.1.112 - token: <redacted>
$ mirobo --ip 192.168.1.112 --token <redacted> map
['retry']

I know the data is stored somewhere in some format before is sent to te cloud, and there seems to be some sort of functionality inplemented

Usage: mirobo [OPTIONS] COMMAND [ARGS]...
Commands:
  map               Return the map token.
@rytilahti
Copy link
Owner

From the looks of it your vacuum is not connected to the cloud, as if it would be it would return some sort of token for that call. It is however unknown how to fetch a map from the Xiaomi servers by using this token, and that command is there just for the sake of completeness.

Perhaps we should hide it from the cli or write a better description for it, though. At the moment there is no way to access this data without having a rooted device, so I'm closing this issue as there's nothing we can do about it.

The data itself is stored in a sqlite3 database on the device, there is a parser available here: https://github.com/dgiese/dustcloud/blob/master/xiaomi.vacuum.gen1/mapextractor/extractor.py .

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

2 participants