git404hub

what is ha_xiaomi_home fr?

xiaomi/ha_xiaomi_home — explained in plain English

Analysis updated 2026-05-18

21,654PythonAudience · vibe coderComplexity · 2/5Setup · moderate

tl;dr

Official Xiaomi integration for Home Assistant that lets you control Xiaomi smart home devices alongside other brands from one dashboard.

vibe map

mindmap
  root((repo))
    What it does
      Connect Xiaomi devices
      Control from Home Assistant
      Create automations
      Monitor device status
    How it works
      Cloud control default
      Local control optional
      MIoT protocol
      Multiple accounts
    Setup
      Login with Xiaomi account
      Select homes and devices
      Import to Home Assistant
    Use cases
      Unified smart home control
      Cross-brand automations
      Single control panel
      Family device management

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Control all your Xiaomi smart home devices from Home Assistant instead of the Xiaomi app.

VIBE 2

Create automations that combine Xiaomi devices with smart devices from other brands.

VIBE 3

Manage multiple Xiaomi accounts and homes in one unified dashboard for your family.

what's the stack?

PythonHome AssistantMIoT protocol

how it stacks up fr

xiaomi/ha_xiaomi_homerecommenders-team/recommendersgraphdeco-inria/gaussian-splatting
Stars21,65421,66921,673
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity2/53/54/5
Audiencevibe coderresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires Home Assistant instance running and Xiaomi device credentials/pairing setup.

License could not be detected automatically. Check the repository's LICENSE file before use.

in plain english

Xiaomi Home Integration is an official add-on for Home Assistant, a popular open-source platform that lets people control their smart-home devices from one place. This integration lets you connect Xiaomi smart devices, such as lights, sensors, and other gadgets registered to your Xiaomi account, into Home Assistant so they all sit alongside whatever else you already control there. You install it by either cloning it from GitHub, downloading through HACS (a community store for Home Assistant add-ons), or copying files manually using Samba or FTPS. Once installed, you sign in with your Xiaomi account using OAuth 2.0, which means your password is never stored locally, and you pick which home and devices to import. The integration supports multiple Xiaomi accounts at once, and devices from different accounts can share the same room. Communication happens through Xiaomi Cloud over MQTT, so device updates arrive in near real time without constant polling. A partial local-control mode is possible either through a Xiaomi central hub gateway (mainland China only) or by enabling a LAN control option for Wi-Fi and Ethernet devices. You would use this if you already run Home Assistant and want your Xiaomi smart-home gear visible there. It works in mainland China, Europe, India, Russia, Singapore, and the USA. Bluetooth, infrared, and virtual devices are not supported. It is written in Python.

prompts (copy fr)

prompt 1
How do I install the Xiaomi Home integration in Home Assistant and connect my Xiaomi devices?
prompt 2
Show me how to set up local control for my Xiaomi devices in Home Assistant using a gateway.
prompt 3
How can I create an automation in Home Assistant that triggers a Xiaomi device based on another brand's sensor?
prompt 4
What Xiaomi devices are supported by this Home Assistant integration and how do I check compatibility?

Frequently asked questions

what is ha_xiaomi_home fr?

Official Xiaomi integration for Home Assistant that lets you control Xiaomi smart home devices alongside other brands from one dashboard.

What language is ha_xiaomi_home written in?

Mainly Python. The stack also includes Python, Home Assistant, MIoT protocol.

What license does ha_xiaomi_home use?

License could not be detected automatically. Check the repository's LICENSE file before use.

How hard is ha_xiaomi_home to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ha_xiaomi_home for?

Mainly vibe coder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.