xiaomi-home
小米/米家智能家居设备控制。通过 MCP Server 工具控制家中的小米设备,包括灯、空气净化器、电暖气、空调、风扇、扫地机器人、窗帘等。当用户提到任何关于智能家居控制的指令时触发,如"把灯关掉"、"开空调"、"净化器调到睡眠模式"、"客厅太暗了"、"家里空气不好"等。即使用户没有明确说"小米"或"米家",只要涉及家居设备控制,都应该触发此 skill。也支持查询设备状态,如"空气质量怎么样"、"家里几度"等。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alleneee/mijia-homeWhat This Skill Does
The xiaomi-home skill empowers OpenClaw to act as a central intelligent hub for your Xiaomi/Mijia smart home ecosystem. By leveraging the MCP (Model Context Protocol) Server, this agent can seamlessly interface with a wide variety of connected devices including smart lights, air purifiers, heaters, air conditioners, fans, and robot vacuums. Whether you need to adjust environmental settings or perform status checks, this skill translates natural language instructions into precise equipment commands, ensuring your home environment adapts to your needs.
Installation
To integrate this skill into your environment, run the following command within your terminal or OpenClaw management console:
clawhub install openclaw/skills/skills/alleneee/mijia-home
Use Cases
- Automated Comfort: Adjust climate settings like air conditioner temperatures or fan speeds without needing physical remotes or specific app navigation.
- Home Security & Efficiency: Ensure all lights and appliances are switched off when you are leaving the house.
- Health Monitoring: Query the current status of your home environment, such as checking indoor air quality (PM2.5 levels) or ambient temperature.
- Nighttime Routines: Execute multi-device commands such as "I'm going to sleep" to simultaneously turn off lights and set purifiers to quiet modes.
Example Prompts
- "把客厅的落地灯关掉,顺便把空气净化器调到睡眠模式。"
- "现在的室内温度是多少?如果太冷了就把电暖气打开。"
- "我出门了,把家里所有的智能设备都关掉。"
Tips & Limitations
- Device Discovery: Always verify device names using the
xiaomi_find_devicetool before executing commands to ensure you are targeting the correct hardware. - Model Compatibility: Be aware that different Xiaomi device models utilize different siid/piid mappings. If a command fails, use the diagnostic
xiaomi_get_propertiestool to map the correct identifiers for your specific hardware. - Connectivity: Ensure your devices are online and connected to the same local network as the MCP Server; the agent cannot control offline hardware.
- Logic Accuracy: When handling complex scene requests (e.g., "I'm going to bed"), the agent executes steps sequentially. Verify that your device naming conventions are clear to ensure the agent maps the right intent to the right hardware.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alleneee-mijia-home": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api