# al-one/hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成

Repository: https://github.com/al-one/hass-xiaomi-miot
Canonical: https://ross.abutalabs.com/products/hass-xiaomi-miot
Homepage: https://miot-spec.com
Language: Python
License: Apache-2.0
License Family: permissive
Topics: xiaomi, miio, miot, home-assistant, smart-home, xiaomi-miot, miot-spec, homeassistant, iot, xiaoai, custom-component, home-assistant-integration, hass
Last push: 2026-07-31T08:37:00+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 74, longevity 100
- inputs: {"age_days": 2099, "days_push": 33, "days_rel": 176, "gap_med": 8, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6087, forks 860 (observed 2026-08-28T04:09:34.938037+00:00)

## What it is
A Home Assistant custom integration that automatically connects Xiaomi smart home devices (Wi-Fi, BLE, and ZigBee) to Home Assistant via the MIoT-Spec protocol. It supports configuration through the HA web UI without YAML and is installable via HACS.

## Use cases
- integrate xiaomi devices into home assistant
- control mi home devices locally in hass
- add xiaomi miot wifi and ble devices to home assistant
- auto-discover xiaomi smart home devices without yaml
- connect xiaomi zigbee sensors to home assistant
- manage xiaomi miio appliances from home assistant

## When to choose
- you use Home Assistant and own Xiaomi/Mi Home ecosystem devices
- you want automatic device discovery via miot-spec instead of manual YAML config
- you need support for Wi-Fi, BLE, and ZigBee Xiaomi devices in one integration
- you prefer installing through HACS

## When to avoid
- you don't use Home Assistant
- your device is not listed in the miot-spec product database
- you need a standalone Xiaomi control app rather than a HA integration

## Facets
- artifact type: plugin
- maturity: active
- function: iot, workflow-automation, plugin-system, developer-tools
- domain: iot, self-hosted
- platform: python, self-hosted
- tags: home-assistant, xiaomi, miot-spec, miio, custom-component, hacs, smart-home-integration, ble, zigbee, wifi-devices, automation, linux

## Member repositories
- al-one/hass-xiaomi-miot (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.938037+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:48:18.516567+00:00, confidence not recorded.
  - readme: https://github.com/al-one/hass-xiaomi-miot (fetched 2026-08-28T04:09:34.938037+00:00, sha cf6bf35e2576)
  - homepage: https://miot-spec.com (fetched 2026-08-29T08:44:58.550486+00:00, sha f786791dc4a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
