Can't get Xiaomi Mi Robot working - Invalid token

Hello,
I’m using Hass.io for the first time and I’m trying to get Mi Robot working.
When I try to get the token I get a 96 char key which is not permitted. I’m trying with the iBackup+SQLite method.

I noticed I can use `mirobo discover --handshake 1’ but I don’t know how to lunch the command using Hass.io.

Any ideas?

thanks
`

Yeah 96 characters is way to much. This is my old token 32336170646c4933556e547830324e6b

Though I used the android backup method so I can’t help with the iPhone method :confused:

Check this possibility here:

3 Likes

seems this is the right way! Thanks!! I can I do this with Hass.io?

It’s easier to use a python3 + pycrypto installation. The next python-mirobo version will provide a tool called “miio-extract-tokens”: add a note about miio-extract-tokens by rytilahti · Pull Request #79 · rytilahti/python-miio · GitHub

2 Likes

this is great! So, it’s only a matter of time! thanks