A simple script to extract Xiaomi Home devices tokens from an unencrypted iOS backup.
Only tested on MacOS Catalina
curl -o- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-linux | bash
wget -qO- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-linux | bash
Alternatively, clone the repo, switch to Node v12, run npm i
and launch the script npm start
!
> ./mi-home-token-extractor --help
Usage: mi-home-token-extractor [options]
Options:
-V, --version output the version number
-s, --ssid <ssid> filter devices by SSID
-n, --name <name> filter devices by name
-h, --help display help for command
You can simply run ./mi-home-token-extractor
without options to get a list of your Mi Home devices with corresponding decrypted token
.
> ./mi-home-token-extractor
Lampe de bureau - Livebox-Z300
[TOKEN] a40264428ecc981f8eecb381116c50b8
[IP] 192.168.1.12 - [MAC] 5C:5C:5C:5C:5C:5C
Lampe de chevet de Léo - Livebox-Z300
[TOKEN] a40264428ecc981f8eecb381116c50b8
[IP] 192.168.1.14 - [MAC] 5C:5C:5C:5C:5C:5C
--ssid
option allows you to filter devices based on which SSID they are connected to which can be helpful when you have several homes attached to your Mi Home application.
./mi-home-token-extractor
There is other methods to find your devices tokens, check https://github.com/Maxmudjon/com.xiaomi-miio/blob/master/docs/obtain_token.md
以下软件打包下载 方法1: 来源 homeassistant 官网: https://www.home-assistant.io/integrations/xiaomi_miio/#retrieving-the-access-token 软件1 https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor 软件2 https://g
homebridge-mi-aqara homebridge plugin for XiaoMi Aqara plugin. 小米/绿米网关的HomeBridge插件。 Thanks fornfarina(the author of homebridge),snOOrz(the author of homebridge-aqara),licuhui,攀旺智能,magaHH,isundaylee,i
homebridge-mi-airpurifier XiaoMi air purifier plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), licuhui, superszy, all other developer
homebridge-mi-acpartner English Version | 中文版 小米空调伴侣的Homebridge插件 感谢takatost,miio,YinHangCode和所有测试开发人员提供支持。 注意:此插件于0.6.0版本后修改了配置文件,请根据本文修改你的配置文件使插件正常工作。 若要查看抓包教程,请访问此项目Github的Wiki页面 Support(支持) 空调伴侣型号
homebridge-mi-hygrothermograph Homebridge plugin for exposing measured temperature and humidity from Xiaomi sensors as HomeKit accessories. Supported sensors: Xiaomi Mi Bluetooth Temperature and Hu
homebridge-mi-fan XiaoMi fan plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), ABC, 小马哥, all other developer and testers. Note: If you
homebridge-mi-outlet XiaoMi outlet plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), all other developer and testers. Note: I have only