Smart Home IoT Control
Unified smart home device management and automation skill for OpenClaw. Control lights, thermostats, security systems, curtains, and appliances across multiple platforms using natural language.
Supported Platforms
| Platform | Protocol | Region |
|---|---|---|
| Home Assistant | REST/WebSocket | Global |
| Mi Home (米家) | MiIO | China/Asia |
| Tuya Smart | Tuya Cloud API | Global |
| SmartThings | Samsung API | Global |
| Apple HomeKit | HAP | Global |
Core Capabilities
Device Discovery & Status
- Auto-discover devices on local network
- Real-time status polling (online/offline, power, brightness, temperature)
- Device categorization by room and type
- Health monitoring and battery level alerts
Natural Language Control
"Turn off all lights in the living room"
"Set bedroom temperature to 22°C"
"Lock all doors and arm the security system"
"Dim the dining room lights to 30%"
Scene Automation
- Create custom scenes (e.g., "Movie Night": dim lights + close curtains + turn on TV)
- Time-based schedules (sunrise/sunset triggers)
- Conditional triggers (motion detected → turn on lights)
- Multi-condition AND/OR logic
Energy Management
- Power consumption tracking per device
- Usage patterns analysis
- Energy-saving recommendations
- Solar/battery integration monitoring
Protocols Support
- MQTT 3.1.1/5.0: Full pub/sub with TLS
- Zigbee 3.0: Via ZHA or zigbee2mqtt
- Matter 1.2: Thread/Wi-Fi commissioning
- Z-Wave: Via controller gateway
- Bluetooth LE: Sensor data collection
Security
- Local-first architecture (no cloud dependency for core functions)
- End-to-end encryption for remote access
- OAuth 2.0 device authorization
- Role-based access control (admin/family/guest)
Usage Examples
# Discover all devices
action: discover
output: device_list.yaml
# Create a scene
scene: good_morning
triggers:
- time: "07:00"
- condition: weekday
actions:
- device: bedroom_curtains
command: open
level: 100
- device: kitchen_light
command: on
brightness: 80
- device: coffee_maker
command: on
