Skip to content

Instantly share code, notes, and snippets.

@willwhui
Last active December 14, 2019 12:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willwhui/7829f4a76d8bf8a3410fe50a9000352c to your computer and use it in GitHub Desktop.
Save willwhui/7829f4a76d8bf8a3410fe50a9000352c to your computer and use it in GitHub Desktop.
获取小米智能设备token
@XuCcc
Copy link

XuCcc commented Feb 12, 2018

/data/data/com.xiaomi.smarthome/databases/miio2.db 里token为空咋回事0.0

@chrisvella
Copy link

chrisvella commented Mar 6, 2018

@XuCcc take a look at python-miio issue 185 if you are still having trouble.

@willwhui
Copy link
Author

willwhui commented Apr 2, 2018

@XuCcc 可能是米家没有完成设备同步?
或者如@chrisvella所说,你使用了高版本的米家app
我从朋友那里听说了,米家app升级之后,改变了文件格式,你可以找一个旧版的米家app试试。
目前我的旧版本app还是可以成功登录的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment