PiotrMachowski/Xiaomi-cloud-tokens-extractor
This tool retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 51
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10
- age_days: 2141
- days_rel: 330
- days_push: 299
- n_releases_24m: 8
Adoption not part of the score
4723 stars · 440 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python CLI tool that logs into a Xiaomi Cloud account (via credentials or QR code) and retrieves device tokens and BLE encryption keys for all connected devices. It supports Windows, Linux, Docker, and Home Assistant usage.
Use cases
- get xiaomi vacuum token for home assistant
- retrieve device tokens from xiaomi cloud
- find roborock vacuum token
- extract BLE encryption keys for xiaomi devices
- set up xiaomi devices with local integrations
- list all devices on my xiaomi account with IP addresses
When to choose
- you need device tokens to configure local Xiaomi/Mi Home integrations like Home Assistant
- you want a ready-made executable or Docker script with no setup
- you need BLE keys for Xiaomi sensors
When to avoid
- you only use the official Mi Home app and don't need local API access
- you can't complete Xiaomi 2FA verification
- your network blocks Xiaomi cloud endpoints (ad blockers, Cloudflare DNS, country restrictions)
Facets
cli-tool · maturity active
cli security developer-tools iot developer-tools python cli windows cross-platform xiaomi xiaomi-cloud miio roborock vacuum ble-encryption-keys home-assistant device-tokens automation linux docker
1 source
- readme: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor · fetched 2026-08-28 · 91421fca12f4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PiotrMachowski/Xiaomi-cloud-tokens-extractor | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="PiotrMachowski/Xiaomi-cloud-tokens-extractor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem