t0mer / Xiaomi-Token-Extractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Python 58.5%Language:HTML 17.7%Language:CSS 13.5%Language:JavaScript 8.7%Language:Dockerfile 1.7%