talira

Xiaomi Home Integration

Xiaomi's official Home Assistant integration for its MIoT smart home devices

source availableXiaomi Home Integration Licensefree

Xiaomi Home Integration is Xiaomi's official integration for Home Assistant, which brings the smart devices in your Xiaomi Home account into Home Assistant. You sign in with a Xiaomi account over OAuth 2.0 and pick the homes and devices to import; it supports several accounts and regions. Control goes through Xiaomi's MIoT cloud, which pushes device changes over MQTT, or locally through a Xiaomi central hub gateway, and an optional LAN control mode reaches Wi-Fi and Ethernet devices on the same network. It installs with git and its install script, from the Home Assistant Marketplace (HACS) or by copying the folder.

Problems it solves

  • control my Mi Home devices from Home Assistant
  • get my Xiaomi air purifier and vacuum into my home automation dashboard
  • add the smart devices from several Xiaomi accounts to the same rooms

Features

  • imports devices from your Xiaomi Home account into Home Assistant
  • OAuth 2.0 sign-in with a Xiaomi account; several accounts and regions
  • cloud control with pushed device updates over MQTT
  • local control through a Xiaomi central hub gateway
  • optional LAN control of Wi-Fi and Ethernet devices
  • debug mode for sending device actions

Limitations

  • Doesn't support Bluetooth, infrared or virtual devices1
  • The Xiaomi central hub gateway for local mode is only available in mainland China1
  • Stores the Xiaomi account's tokens and device information in Home Assistant's configuration in clear text1
  • Licensed only for non-commercial use of Home Assistant1

Alternatives

The same job

These do what Xiaomi Home Integration does.

  1. Zigbee2MQTT Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges
  2. govee2mqtt Bridge Govee lights and devices to Home Assistant over MQTT
  3. OpenMQTTGateway One gateway, many technologies: bridge RF, infrared, Bluetooth LE, LoRa and more to MQTT
  4. Valetudo Free your vacuum from the cloud
  5. Homebridge HomeKit support for the impatient

Compare Xiaomi Home Integration with the top 3