Your 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:
text
"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.
CategoryExamples💡 LightsTurn on/off, adjust brightness❄️ Air ConditioningSet temperature, mode, fan speed🔐 Door LocksLock/unlock from anywhere🌡️ SensorsTemperature, humidity, motion💨 Fans & HumidifiersOn/off, speed control🪟 Blinds & CurtainsOpen/close🤖 Robot VacuumsStart, stop, return to charger
Works with 1837+ Xiaomi/Mijia devices via the official Xiaomi Home integration.
bash
# 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.
text
You → "Turn on the light"
↓
OpenClaw AI
↓
Home Assistant (your local server)
↓
Xiaomi Device
All on your local network — no cloud, no subscription.
BeforeAfterOpen app → find device → tapJust say what you wantOne device at a timeControl everything at onceCan't do it remotelyThrough AI assistant from anywhereRemember which app for which deviceDescribe it in plain English
text
"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"