Selora Homes Selora Homes
Xiaomi Home logo
Popular Integration

Xiaomi Home & Home Assistant

The Xiaomi Miio integration connects Xiaomi and Roborock smart devices to Home Assistant using the local miIO/MIoT protocol. This covers robot vacuums, air purifiers, humidifiers, fans, and various sensors from the Xiaomi ecosystem.

The integration communicates directly with devices over your local network using Xiaomi’s encrypted local protocol. This means control works without internet — though initial setup requires extracting device tokens from the Xiaomi cloud, which is the main complexity hurdle.

Local control No cloud required
Xiaomi Home Visit Xiaomi Home Home Assistant HA Documentation

How Xiaomi Home Works with Home Assistant

Getting Xiaomi Home connected to Home Assistant and running reliably.

1

Discovery & pairing

Home Assistant automatically discovers Xiaomi Home devices on your local network. Add them through the integrations panel with a few clicks.

2

Dashboard control

Control brightness, color, and color temperature from the Home Assistant dashboard. Create lighting groups that operate as one.

3

Automation & scenes

Build automations that trigger Xiaomi Home lights based on motion, time, presence, or any other event in your smart home.

Common Xiaomi Home Issues

The problems installers run into with Xiaomi Home and Home Assistant — and how a managed setup prevents them.

Token extraction complexity

Each Xiaomi device has a unique authentication token that must be extracted from the Xiaomi cloud or app databases. The extraction process changes frequently as Xiaomi updates their app and API.

Firmware updates change local protocol

Xiaomi firmware updates occasionally change the local miIO/MIoT protocol behavior, breaking Home Assistant control until tokens are refreshed or the integration is updated.

Robot vacuum map integration

Displaying vacuum maps and room-specific cleaning in Home Assistant requires additional custom components. The official integration provides basic start/stop/dock control but limited map functionality.

Why installers choose managed Xiaomi setups

  • Token extraction and management handled with secure backup
  • Firmware auto-update disabled to prevent protocol-breaking changes
  • Advanced vacuum integration with room-specific cleaning automation
  • Air quality monitoring dashboards combining purifier data with other sensors

Frequently Asked Questions

More Lighting Integrations

Ready to Install Xiaomi Home Professionally?

Stop troubleshooting Xiaomi Home integration issues. Let Selora handle the setup, monitoring, and maintenance so you can focus on your clients.