- Home
- Integrations
- Xiaomi Home
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.
How Xiaomi Home Works with Home Assistant
Getting Xiaomi Home connected to Home Assistant and running reliably.
Connect & configure
Add Xiaomi Home through the Home Assistant integrations panel. Cameras, sensors, and alarm panels appear as entities you can control and automate.
Live feeds & alerts
View camera streams directly in your dashboard. Set up notifications for motion events, door openings, or alarm triggers.
Cross-device automation
Build automations that coordinate Xiaomi Home with lights, locks, and speakers. Motion at the front door can trigger a light, a camera recording, and a notification — simultaneously.
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 Security & Cameras 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.