Open-source projects that exist because someone reverse engineered Xiaomi Mi Home, Mijia and Redmi devices. 83 of 204 had a commit in the last 12 months. Most-starred: MiGPT, xiaomusic, xiaogpt, hass-xiaomi-miot, Xiaomi-cloud-tokens-extractor.
Connects Xiaomi XiaoAI smart speakers to ChatGPT and Doubao via the Mi cloud API
Plays music on Xiaomi XiaoAI speakers through their unofficial cloud API
Connects ChatGPT and other LLMs to Xiaomi XiaoAI speakers via the unofficial MiService API
Home Assistant integration for Xiaomi MIoT devices via the miot spec protocol
This tool retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
Cloudless Android app for Mi Band, Amazfit, Pebble and other wearables (GitHub mirror; now on Codeberg)
Custom firmware for Xiaomi LYWSD03MMC thermometers and similar BLE sensors
Python library & console tool for controlling Xiaomi smart appliances
Custom firmware hacks for Xiaomi Dafang and Ingenic T20 cameras
Original custom firmware for Xiaomi Mi thermometer with OTA flasher
Turns the Xiaomi Bluetooth voice remote 2/2 Pro into a Mac voice input device
Home Assistant control of Xiaomi Gateway 3 Zigbee/BLE/Mesh devices locally
Flashes Xiaomi XiaoAI speakers to run a custom client that streams voice to your own server
Shell toolbox of add-on apps for Xiaomi routers
Xiaomi smart home device reverse engineering: robot vacuum cloud protocol, firmware and local control
Passive BLE sensor monitor for Xiaomi, Govee, Qingping and others in Home Assistant
Standalone framework that lets apps use Xiaomi push without MIUI
Home Assistant integration for Xiaomi devices over the MIoT/miIO local protocol
Node.js control of Mi Home devices over the miIO protocol
Custom firmware for Xiaomi Yi cameras
Zigbee firmware for the Xiaomi LYWSD03MMC thermometer
Next version of MiGPT that lets Xiaomi XiaoAI speakers use custom AI replies
Live maps for Xiaomi, Roborock, Viomi and Dreame vacuums pulled from the undocumented Xiaomi cloud
iOS 16 userland and XNU kernel bring-up on the Redmi Note 10 Pro (SM7150)
Alternative firmware for Xiaomi Yi cameras on Hi3518e chipsets
Homebridge plugin for Xiaomi Aqara gateways over the local LAN protocol
Python API, CLI and MCP server to control Mijia devices through the unofficial Mi Home API
Unofficial RTSP bridge that streams Xiaomi cameras locally to Home Assistant, go2rtc or Frigate
Python client for Xiaomi cloud services (Mi Home devices and XiaoAI speakers)
Windows desktop controller for Mijia devices built on mijiaAPI
Custom Zigbee 3.0 firmware for Xiaomi, Tuya and other TLSR825x-based sensors
Patches Xiaomi XiaoAI speaker firmware to add custom binaries and open-source software
Watchface editor for Xiaomi watches and bands
Documentation of the encrypted Xiaomi Mi Home binary (miIO) protocol
Cloud-free software fork for Roborock and Xiaomi vacuums
Shell toolbox for Xiaomi routers
Linux daemon reading Xiaomi Mi Flora BLE plant sensors and publishing to MQTT
Android SDK for the Xiaomi Mi Band BLE protocol
Wireless ICCOA CarLink projection from Xiaomi, OPPO and vivo phones to car head units without a dongle
Python script that controls Xiaomi Yi action camera settings from a PC
Python library for the Xiaomi Mi Band 2 BLE protocol
Xiaomi Mi Smart Fans controlled locally over the reverse-engineered miIO protocol
Access Xiaomi Mi Band 4 from Linux over BLE
Xiaomi air purifiers and humidifiers controlled locally over the reverse-engineered miIO protocol
Homebridge plugin for Xiaomi devices supporting the MIoT protocol
Bridges Xiaomi XiaoAI speakers to external AI services such as OpenClaw and Xiaozhi
CLI that connects Xiaomi XiaoAI speakers to AI models
Homey app controlling Mi Home devices via the miIO protocol and Xiaomi gateway children
Downloads photos and recordings from Xiaomi Cloud to local storage, full or incremental
Get Huami/Amazfit/Mi Band auth keys for use with Gadgetbridge
Patch Xiaomi M365 scooter firmware
Xiaomi/Aqara Air Conditioning Companion controlled locally over the miIO protocol
Exports Xiaomi Notes with images and recordings to a static blog
Homebridge plugin for Xiaomi Roborock vacuums over the miIO protocol
Documentation of the Xiaomi robot vacuum miIO protocol and commands
Read Xiaomi Mi Scale body metrics over BLE to MQTT
Unofficial watchface creator for Xiaomi wearables
NFC tag tools for Xiaomi HyperOS device linking
Home Assistant body metrics for Xiaomi Mi Scale 1 and 2
Third-party Mijia (Mi Home) smart home app for smartwatches
Turns the Xiaomi Bluetooth voice remote into a Windows microphone
Xiaomi Mi Band 2 library for Node.js and Web Bluetooth
Driver and notes for using the Xiaomi Bluetooth gamepad on PC
ESPHome firmware for the Xiaomi Mijia Bedside Lamp v2
Autoexec scripts and mods for the Xiaomi Yi action camera from firmware RE
Xiaomi smart home device reverse engineering and hacking docs
Custom firmware for the Xiaomi XiaoAI Speaker Mini (LX01)
Research and tools for the Xiaomi Yi 4K and 4K+ cameras
Watch face editor for Mi Band 5 and 6
Accesses the Xiaomi Mi Band from Android over Bluetooth LE
Bluetooth to MQTT gateway for Xiaomi Mi plant sensors
Export Xiaomi scale and Omron BLE data to Garmin Connect
Custom firmware for the Xiaomi Mi Band 8 fitness band
Homebridge plugin reading Xiaomi Mi Bluetooth temperature and humidity sensors
Unofficial Android SDK for Xiaomi Mi Band
Captures real-time heart rate from Xiaomi Mi Band over BLE
Open-source Zigbee hub for Xiaomi Aqara devices
Homebridge plugin for the Xiaomi AC Partner over the miIO protocol
Reverse engineered BLE protocol of the Xiaomi smart kettle
SmartThings device handlers for Xiaomi Zigbee sensors
ESPHome components that replace the Xiaomi Wi-Fi module and speak the MIoT serial protocol of Xiaomi appliances
Arduino library for low-cost LiDARs incl. Xiaomi LDS02RR, Neato XV11 and Camsense X1
App reading Xiaomi and other Bluetooth plant sensors and thermometers
Mi Band BLE integration library for Android
Universal BLE smart scale bridge for Renpho, Xiaomi, Eufy and other scales
Documentation of the Xiaomi M365 scooter BLE protocol
Custom display dashboard for the Xiaomi M365 scooter
Adds DLNA and AirPlay support to Xiaomi XiaoAI speakers
Connects Xiaomi devices to SmartThings and Hubitat
Ports Xiaomi HyperOS stock or xiaomi.eu ROMs to Android 13 based devices
Open-source BMS firmware compatible with the Xiaomi M365 scooter
Proxy that exposes P2P-only Xiaomi cameras through standard RTSP
Exports notes from Mi Cloud to Markdown files
Reverse engineering of the Xiaomi Air Purifier H3
Bluetooth to MQTT bridge for Xiaomi and other BLE devices
CLI/TUI/MCP voice notification tool for Xiaomi XiaoAI speakers
Tool to view Mi Home device info and tokens and run actions
ESPHome components for reverse-engineered BLE devices (Tion, Qingping, Xiaomi Mi Band and others)
Home Assistant integration for Xiaomi MiWiFi routers
Local LAN SDK for Xiaomi, Aqara and Mijia smart home gateways
Library for connecting to the Xiaomi cloud
ESP32 BLE client for Xiaomi Mi plant sensors
OpenWrt patch for the Xiaomi MiWiFi Mini router
Dashboard built on the Xiaomi router local API
Home Assistant integration for Xiaomi miio Yeelink/Yeelight devices
Research on the bootloader used in Xiaomi phones
Xiaomi Flower Care (MiFlora) BLE API wrapper
AsusWRT firmware port for Xiaomi routers
OpenWrt for Xiaomi Zigbee gateways (DGNWG05LM, ZHWG11LM)
Homebridge plugin for Xiaomi Mi air purifiers over miio
Xiaomi Mi Band Bluetooth example project
Obsidian plugin that syncs Xiaomi Notes (Minote)
Syncs smart scale data between Xiaomi, Garmin, Zepp and other ecosystems
Accesses the Xiaomi Mi Band from macOS over Bluetooth LE
Go command-line client for Xiaomi Cloud drive
Controls the Xiaomi monitor light bar via nRF24L01
Xiaomi Yi camera configurator
ESP32 bridge for the Xiaomi Bluetooth Remote 2 Pro fixing key mapping on Windows
Turns Xiaomi MiMo AI Studio web chat into OpenAI and Anthropic compatible APIs
Xiaomi Mi electric rice cooker controlled locally over the miIO protocol
Xbox 360 controller emulation driver for the Xiaomi Gamepad with vibration
C# API for Xiaomi Mi Home gateway and devices
Research and custom firmware for Mi Band 9/10 BES2700 SoC
ESPHome firmware for the Xiaomi Mi Air Purifier 3H and devices using the same protocol
Amazfit/Mi Band and other smartwatch support for Sailfish OS and Linux
Documentation of the Ninebot/Xiaomi scooter serial protocol
Agent skill that discovers and controls Xiaomi Mijia smart home devices
Home Assistant plugin for the Xiaomi AC Partner over miIO
Connects Mijia smart door locks to open-source home automation over MQTT
Home Assistant integration for the Xiaomi Smart Air Fryer over miIO
Homebridge plugins for Xiaomi air purifiers over miIO
Open source firmware for the Xiaomi desk lamp
Python controller with reverse-engineered BLE protocol for Kingsmith/Xiaomi WalkingPad treadmills
Homebridge plugin for Xiaomi Smartmi and Mijia fans
ioBroker adapter controlling Xiaomi vacuum cleaners over miIO
Android example of the Mi Band 2 BLE protocol and auth
Home Assistant component that helps reverse engineer Xiaomi miIO devices
Mi Band/Amazfit heart rate over BLE to VRChat via OSC
Web UI and plugins to manage the Xiaomi Mi Home gateway and sensors locally
Homebridge plugin for the Xiaomi Mi Air Purifier
Homebridge plugins for Xiaomi Philips lights over miIO
Documentation of Xiaomi ecosystem Bluetooth/BLE device protocols
Xiaomi Zigbee to MQTT bridge built on zigbee-shepherd
Web Bluetooth heart rate monitor for Mi Band 4 and 5
Analytics for Mi Band data extracted from the Mi Fit database
HyperOS/MIUI bootloader unlock via RPMB erase, LK reverse-engineered with Ghidra
Reproduces and queries the IR code database used by the Xiaomi Mi Remote app
Aqara (Xiaomi) gateway to MQTT bridge using the local gateway protocol
SmartThings Edge drivers for Xiaomi and Aqara Zigbee devices
Alternative firmware for the Mijia Xiaomi desk lamp
Mijia bridge with MCP, CLI and HomeKit support using the Mi Home cloud API
VESC Lisp script adding Xiaomi M365/Ninebot BLE dashboard protocol support
MCP server for Mijia devices built on the unofficial MijiaAPI
Homebridge plugins for Xiaomi outlets
Parser for Xiaomi BLE (MiBeacon) devices including encrypted ones
ViGEm adapter for the Xiaomi Gamepad
Hubitat drivers for Xiaomi and Aqara Zigbee devices decoding their proprietary attributes
Xiaomi Philips lights controlled locally over the reverse-engineered miIO protocol
Decompiled Xiaomi fitness app for studying the Mi Band protocol
Unofficial Python library for interfacing with the Xiaomi YI Dash Cam
Reads BLE advertising packets from Xiaomi and other temperature sensors and publishes to MQTT
Homie MQTT bridge for Xiaomi Mijia 2 BLE hygrometer-thermometers
Enable and monitor heart rate from Mi Band 2/3/4 on Windows
Home Assistant integration for Xiaomi Viomi vacuums over miIO
Go SDK for Xiaomi/Aqara/Lumi gateways over the local LAN protocol
Custom firmware to uncloud the Xiaomi Mi Smart Antibacterial Humidifier
Homebridge plugin for Xiaomi Mi humidifiers
Homebridge plugins for Xiaomi fans
Read Mi Band steps and battery and trigger vibration
Xiaomi Mi Kettle Bluetooth library
Xiaomi cloud phone tracking and services via the unofficial Xiaomi cloud API
Homebridge plugin for Xiaomi Mijia/Aqara gateways over the local LAN protocol
Emulates the Xiaomi Mi TV Bluetooth remote from ESPHome
Node.js reader for Xiaomi Mi Scale BLE advertisements
Local control and room cleaning for ijai, Dreame, Viomi and Xiaomi robot vacuums
Node.js library controlling Xiaomi Lumi Aqara devices via the gateway LAN protocol
Homebridge plugin for the Xiaomi gateway FM radio
openHAB 1.x binding for the Xiaomi Mi Home (Aqara) gateway local protocol
Reads Xiaomi weight scale advertisement data and documents the protocol
ESPHome custom firmware for the Xiaomi Mi Desk Lamp replacing the stock Wi-Fi firmware
Windows tray app adjusting Xiaomi monitor light bar brightness and color temperature
ESPHome firmware for the Xiaomi Monitor Light Bar S1
Authentication and communication with Xiaomi M365/Ninebot scooters over BLE
Open-source alternative Android app for the Xiaomi Mi Scale
Homebridge plugin for the Xiaomi gateway security mode
Decompilation of the official Xiaomi Mi Band app
MajorDoMo integration for Xiaomi miIO protocol devices
Homebridge plugin for Xiaomi Mijia Bluetooth temperature and humidity sensors
Custom ESPHome firmware for the Xiaomi IR controller
Source-first toolkit for custom Xiaomi Smart Band 10 watch faces: JSON layouts, validation, a React/SVG studio, anima...
Hubitat drivers for AlertMe, Hive, IKEA, Lidl, Tuya and Xiaomi Zigbee devices
Installing ESPHome firmware on the Xiaomi Mi Smart Humidifier 2
ESPHome firmware for the Xiaomi Smart Pet Fountain replacing the stock module
Home Assistant integration for Xiaomi MiWiFi routers via the local router API
Flutter plugin for taking measurements from Bluetooth Xiaomi weight scales
App monitoring and configuring Xiaomi and Ninebot scooters over BLE
Remote for Xiaomi TVs over Wi-Fi on macOS, Android and iOS, from the reverse-engineered MiLink protocol
Xiaomi-specific BLE proxy for ESP32 forwarding Bluetooth devices to MQTT
ESPHome package for the Xiaomi Smart Air Purifier 4 Compact
Proxy that injects custom firmware into the Xiaomi M365 scooter update flow
Unofficial software to manage apps on the Xiaomi Mi Watch via ADB
Fetches Xiaomi Mi Scale 2 readings over BLE and publishes them to MQTT
Exports Xiaomi Mi Fitness health data to SQLite and CSV
Custom firmware for the Xiaomi Mi Band 8