Install
openclaw skills install @canmaxfire/openclaw-xiaomi-homeControl Xiaomi/Mijia smart home devices via Home Assistant using natural language to manage lights, AC, locks, fans, sensors, and more locally.
openclaw skills install @canmaxfire/openclaw-xiaomi-homeYour OpenClaw can now control your smart home. Connect to Xiaomi/Mijia devices through Home Assistant and control everything with plain text or voice.
Just tell your AI what you want:
"Turn on the living room light"
"Set bedroom AC to 26 degrees"
"Is the front door locked?"
"What's the temperature?"
"Lock all doors"
"Turn off all lights"
Done. No apps. No switching. No pointing and clicking.
| Category | Examples |
|---|---|
| 💡 Lights | Turn on/off, adjust brightness |
| ❄️ Air Conditioning | Set temperature, mode, fan speed |
| 🔐 Door Locks | Lock/unlock from anywhere |
| 🌡️ Sensors | Temperature, humidity, motion |
| 💨 Fans & Humidifiers | On/off, speed control |
| 🪟 Blinds & Curtains | Open/close |
| 🤖 Robot Vacuums | Start, stop, return to charger |
Works with 1837+ Xiaomi/Mijia devices via the official Xiaomi Home integration.
# 1. Start Home Assistant
docker compose up -d
# 2. Connect your Xiaomi devices
# (open localhost:8123 → add Xiaomi Home integration)
# 3. Install the control server
cd scripts/ha-mcp-server && npm install
# 4. Done
Full guide in README.md.
You → "Turn on the light"
↓
OpenClaw AI
↓
Home Assistant (your local server)
↓
Xiaomi Device
All on your local network — no cloud, no subscription.
| Before | After |
|---|---|
| Open app → find device → tap | Just say what you want |
| One device at a time | Control everything at once |
| Can't do it remotely | Through AI assistant from anywhere |
| Remember which app for which device | Describe it in plain English |
"Turn on the living room light"
"Dim the bedroom to 30%"
"Set AC to cool mode at 24 degrees"
"Is the door locked?"
"Lock the front door"
"What's the living room temperature?"
"Turn off all lights"
"Open the blinds"
"Start the vacuum"