xiaomi-home[English] Control Xiaomi Home devices via local LAN using miiocli. Supports status checks, toggling power, and MIOT property manipulation for devices like smart plugs, humidifiers, and rice cookers. | [中文] 通过局域网利用 miiocli 控制米家智能设备。支持查看状态、开关控制以及对智能插座、加湿器、电饭煲等 MIOT 设备的属性调优。
Install via ClawdBot CLI:
clawdbot install Pegasus02/xiaomi-homeInstall python-miio via pipx (with click fix):
Install python-miio via pipx (with click fix)Requires:
[English] | 中文
Enable code-level control of Xiaomi (Mi Home) devices over the local network.
click version issue) automatically.
python3 scripts/token_extractor.py
references/devices.md or references/my_private_devices.md.When the user gives a command, map it to the corresponding miiocli operation:
| User Intent | Device Type | Action | Technical Command (Example) |
| :--- | :--- | :--- | :--- |
| "Turn on water heater" | Smart Plug | Power ON | miiocli miotdevice --ip |
| "Turn off water heater" | Smart Plug | Power OFF | miiocli miotdevice --ip |
| "Humidifier to max" | Humidifier | Set Mode | miiocli miotdevice --ip |
| "Is rice cooked?" | Rice Cooker | Check Status | miiocli cooker --ip |
实现在局域网内对小米(米家)智能家居设备的代码级直接控制。
click 版本问题),确保开箱即用。
python3 scripts/token_extractor.py
references/devices.md。Developed with 🦞 by @Pegasus02
Generated Mar 1, 2026
Homeowners can automate daily tasks like turning on water heaters before waking up or adjusting humidifiers based on room conditions, enhancing convenience and energy efficiency through local network control without cloud delays.
Small businesses can use this skill to monitor and control smart plugs for office equipment, such as computers and printers, reducing standby power consumption and lowering electricity bills with automated scheduling.
Restaurants can integrate rice cookers and other smart kitchen devices to check cooking status remotely, ensuring food is ready on time and reducing manual checks, improving kitchen workflow efficiency.
Clinics or nursing homes can use humidifiers controlled via this skill to maintain optimal air humidity levels for patient comfort and health, with local control ensuring reliable operation without internet dependency.
Tech enthusiasts can leverage this skill to build custom automation systems for home labs or workshops, using miiocli commands to manipulate MIOT properties for creative projects like smart gardening or pet feeders.
Offer basic device control for free while charging for advanced features like analytics dashboards, priority customer support, and integration with third-party platforms, targeting tech-savvy users and small businesses.
Partner with Xiaomi or other smart device manufacturers to bundle this skill with compatible products, selling pre-configured kits that include installation services and ongoing updates for a seamless user experience.
Provide tailored solutions for enterprises needing specialized automation, such as custom workflows for industrial settings or integration with existing IT systems, leveraging the skill's local control capabilities.
💬 Integration Tip
Ensure all devices are on the same local network and have valid tokens extracted via the bundled script for reliable communication.
Control Sonos speakers (discover/status/play/volume/group).
Control Philips Hue lights/scenes via the OpenHue CLI.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Control Home Assistant smart home devices, run automations, and receive webhook events. Use when controlling lights, switches, climate, scenes, scripts, or any HA entity. Supports bidirectional communication via REST API (outbound) and webhooks (inbound triggers from HA automations).
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.