Please ⭐ this repo if you find it useful
Xiaomi Token Extractor is a Python & Flask powered, easy to use system that helps us to easily extract our Xiaomi devices tokens from the cloud in order to easily integrate them into our smart home (HA, HB etc').
Thanks to https://github.com/tzungtzu that did the hard work i was able to create this docker with web interface.
version: "3.7"
services:
xiaomi_token_extractor:
image: techblog/xiaomi_token_extractor:latest
container_name: xiaomi_token_extractor
restart: always
labels:
- "com.ouroboros.enable=true"
environment:
- XIA_USER=
- XIA_PASS=
- XIA_SRV= #Optional: ["cn", "de", "us", "ru", "tw", "sg", "in", "i2"]
ports:
- "8080:8080"
Now, run docker-compose up -d
to pull and run your container.
Open your browser and navigate to your container ip address with port 8080, you should see the following screen.