git404hub

what is hass-xiaomi-miot fr?

al-one/hass-xiaomi-miot — explained in plain English

Analysis updated 2026-06-26

5,863PythonAudience · generalComplexity · 2/5Setup · moderate

tl;dr

A Home Assistant add-on that connects hundreds of Xiaomi smart home devices, plugs, robot vacuums, lights, air purifiers, to your Home Assistant dashboard using the Xiaomi MIoT protocol.

vibe map

mindmap
  root((hass-xiaomi-miot))
    What it does
      Home Assistant addon
      Xiaomi device control
      MIoT protocol bridge
    Device Types
      Wi-Fi devices
      BLE Bluetooth
      ZigBee
    Setup Options
      Mi Account login
      Local IP and token
      HACS install
    Audience
      Smart home users
      Home Assistant users

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 Xiaomi smart home devices from a single Home Assistant dashboard instead of the Xiaomi app

VIBE 2

Build automations that trigger your Xiaomi robot vacuum when you leave home using Home Assistant routines

VIBE 3

Connect Xiaomi lights and sensors to Home Assistant over your local network without routing through the Xiaomi cloud

VIBE 4

Import all your Xiaomi devices at once by signing in with a Mi Account instead of entering each device manually

what's the stack?

PythonHome AssistantHACS

how it stacks up fr

al-one/hass-xiaomi-miotk2-fsa/omnivoicelucidrains/x-transformers
Stars5,8635,8675,859
LanguagePythonPythonPython
Setup difficultymoderatehardeasy
Complexity2/53/54/5
Audiencegeneraldeveloperresearcher

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

how do i run it?

Difficulty · moderate time til it works · 30min

Requires an existing Home Assistant installation with HACS already set up before this integration can be installed.

in plain english

This is a custom integration for Home Assistant (the open-source home automation platform) that brings Xiaomi smart home devices into the Home Assistant dashboard. It uses a Xiaomi protocol called MIoT-Spec, which describes the capabilities of Xiaomi hardware in a standardized way, to automatically discover and configure most Xiaomi devices without manual setup. The integration supports three categories of Xiaomi device: Wi-Fi connected devices, BLE (Bluetooth Low Energy) devices, and ZigBee devices. You can add all your devices at once by logging in with a Mi Account, or add individual devices by entering their local IP address and access token. For account-based setup, the integration can connect to each device either over your local network or through the Xiaomi cloud, depending on what the specific device supports. Installation is done through HACS (Home Assistant Community Store), the standard way to add third-party integrations to Home Assistant. Once installed, setup happens through Home Assistant's web interface without editing any configuration files. For users who want more control, the integration also supports YAML customization for individual devices, including options like forcing local-only connections, mapping custom sensor properties, reversing motor direction on blinds, and adjusting light transition speeds for Yeelights. The integration is available in English and Chinese, with a translation dictionary that can be extended by contributors. The README is written in both languages. The tool is designed to cover a broad range of Xiaomi products: smart plugs, air purifiers, robot vacuums, lights, cameras, air conditioners, washing machines, kettles, and more, all brought into a single Home Assistant interface that works independently of the Xiaomi app.

prompts (copy fr)

prompt 1
How do I install hass-xiaomi-miot via HACS and log in with my Mi Account to import all my Xiaomi devices at once?
prompt 2
Configure hass-xiaomi-miot to control my Xiaomi air purifier over the local network without going through Xiaomi's cloud
prompt 3
Write a Home Assistant automation using hass-xiaomi-miot that turns on my Yeelight bulb when a motion sensor triggers
prompt 4
How do I use YAML customization in hass-xiaomi-miot to reverse the motor direction on my Xiaomi smart blinds?

Frequently asked questions

what is hass-xiaomi-miot fr?

A Home Assistant add-on that connects hundreds of Xiaomi smart home devices, plugs, robot vacuums, lights, air purifiers, to your Home Assistant dashboard using the Xiaomi MIoT protocol.

What language is hass-xiaomi-miot written in?

Mainly Python. The stack also includes Python, Home Assistant, HACS.

How hard is hass-xiaomi-miot to set up?

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

Who is hass-xiaomi-miot for?

Mainly general.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.