Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t0mer/Xiaomi-Token-Extractor


https://github.com/t0mer/Xiaomi-Token-Extractor

docker flask home-assistant home-automation python xiaomi

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

*Please :star: this repo if you find it useful*



PayPal

# Xiaomi Token Extractor
## Extract your xiaomi devices token

Xiaomi Token Extractor is a Python & [Flask](https://flask.palletsprojects.com/en/1.1.x/) 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](https://github.com/tzungtzu/Xiaomi-cloud-tokens-extractor) that did the hard work i was able to create this docker with web interface.

## Installation
#### docker-compose from hub
```yaml
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](https://github.com/t0mer/Xiaomi-Token-Extractor/blob/main/screenshots/xiaomi_token_extractor.jpg?raw=true "Xiaomi Token Extractor")](https://github.com/t0mer/Xiaomi-Token-Extractor/blob/main/screenshots/Xiaomi-Token-Extractor.jpg?raw=true "Xiaomi Token Extractor")