Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/t0mer/xiaomi-token-extractor
- Owner: t0mer
- License: apache-2.0
- Created: 2021-04-05T09:29:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T19:24:27.000Z (10 months ago)
- Last Synced: 2024-11-01T07:51:49.826Z (about 2 months ago)
- Topics: docker, flask, home-assistant, home-automation, python, xiaomi
- Language: Python
- Homepage:
- Size: 216 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
*Please :star: this repo if you find it useful*
# Xiaomi Token Extractor
## Extract your xiaomi devices tokenXiaomi 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")