| name | zigbee-skill |
| description | AI-native smart home skill — gives agents direct Zigbee device control tailored to user preferences. Use whenever the user wants to manage lights, pair devices, adjust settings, or interact with their home naturally — even casual requests like 'turn off the bedroom light' or 'make it cozy in here'. |
Zigbee Skill — AI-Native Smart Home Control
Give AI agents direct control over Zigbee smart home devices. Tailors to user preferences for personalized home automation. All output is JSON — pipe to jq for filtering.
Commands
zigbee-skill health
zigbee-skill devices list
zigbee-skill devices get <id>
zigbee-skill devices rename <id> --name <name>
zigbee-skill devices remove <id>
zigbee-skill devices state <id>
zigbee-skill devices set <id> --state ON
zigbee-skill discovery start [--duration 120]
zigbee-skill discovery stop
<id> is a device's IEEE address (e.g. 0x00158D0001A2B3C4) or friendly name (e.g. bedroom-lamp).
Use --address <url> to target a different API server (default: http://localhost:8080).
Examples
zigbee-skill devices list | jq '.devices[].friendly_name'
zigbee-skill devices set bedroom-lamp --state ON --brightness 150
zigbee-skill devices set bedroom-lamp --state OFF
zigbee-skill devices state bedroom-lamp | jq '.state'
Response Shapes
List devices: {"devices": [{"ieee_address": "...", "friendly_name": "...", "type": "light", "state": {...}}], "count": N}
Device state: {"device": "name", "state": {"state": "ON", "brightness": 200}, "timestamp": "..."}
Errors: {"error": "code", "message": "..."} — 400 (bad input), 404 (not found), 504 (timeout)
State Properties
State objects vary per device. For lights:
| Property | Type | Values |
|---|
state | string | "ON" or "OFF" |
brightness | number | Device-specific range |
Workflow
- Run
zigbee-skill devices list to discover available devices and their friendly names
- Use the friendly name as
<id> in subsequent commands
- To check what properties a device supports, look at
state_schema in the device response
- Set state with
zigbee-skill devices set <id> --state ON --brightness 150