Skip to content

t0mer/Xiaomi-Token-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please ⭐ this repo if you find it useful


PayPal

Xiaomi Token Extractor

Extract your xiaomi devices token

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').

Credits

Thanks to https://github.com/tzungtzu that did the hard work i was able to create this docker with web interface.

Installation

docker-compose from hub

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.

Xiaomi Token Extractor