mijia-control
Control and monitor Xiaomi Mijia smart home devices including status switching, device discovery, automation scenes, and environmental statistics.
Introduction
The Mijia Control skill transforms your AI agent into a comprehensive smart home hub, leveraging the local mijiaAPI driver to interface directly with Xiaomi Mijia devices. It is designed for users who want to bridge their home automation infrastructure with conversational AI, enabling seamless control over lighting, climate, security, and environmental monitoring devices without needing to open the Mi Home app manually. This skill is ideal for personal automation enthusiasts, smart home power users, and anyone looking to integrate Mijia ecosystems into their existing agent-based workflows.
-
Real-time device discovery: Automatically fetch a snapshot of all available Mijia-linked home devices, sensors, and appliances.
-
Granular device control: Execute complex commands such as toggling power, adjusting light brightness, setting AC temperatures, or managing smart locks.
-
Scene execution: Trigger pre-configured Mi Home automation scenes and routines through natural language requests.
-
Environmental monitoring: Access live data from humidity sensors, air purifiers, and thermometers for quick environmental status checks.
-
Local-first architecture: Operates via local Python script execution, ensuring data processing remains within your controlled environment for enhanced privacy and latency.
-
Always execute the setup environment script (setup_env.py) before initial operation to ensure dependencies are correctly configured.
-
Use absolute paths for all script executions to avoid runtime errors within the Clawdbot-CN directory structure.
-
Exercise caution with critical devices such as smart locks, air conditioners, and curtains; the agent is configured to request verbal confirmation before performing state changes on these sensitive units.
-
Never share or expose the auth.json file or its internal security tokens to ensure the safety of your Mijia account access.
-
Consult the included device_catalogs.md for a detailed list of supported device identifiers and controllable attributes.
Repository Stats
- Stars
- 39
- Forks
- 9
- Open Issues
- 4
- Language
- TypeScript
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- May 3, 2026, 07:38 PM