A quick iOS Guide to get the “Right” Token:
- Setup iOS device with the Mi-Home app.
- Create an backup of your iOS Device using iTunes.
- Install iBackup Viewer from here: http://www.imactools.com/iphonebackupviewer/
- Extract this file /raw data/com.xiami.mihome/mihome.sqlite to your computer (In my case it was not the mihome.sqlite…but the 1589697581_mihome.sqlite works for me…
- Open the file extracted using DB Browser for Sqlite (http://sqlitebrowser.org/). You will then see the list of all the device in your account with their token.!
I hope this will work for the Apple Users