create_schedule
Create timed schedules that send commands to a deConz Zigbee gateway at absolute, weekly, timer, or recurring intervals.
Instructions
Create a timed schedule that sends a command to the gateway.
Args: name: Schedule display name. time: ISO 8601 time expression. Examples: "2025-12-31T23:00:00" — absolute UTC datetime "W127/T08:00:00" — weekly (Mon+Tue+Wed, 08:00) "PT01:00:00" — timer (1 hour from now) "R/PT01:00:00" — recurring timer every hour command_address: API path the schedule calls, e.g. "/api//groups/1/action". command_method: HTTP method: "PUT", "POST", or "DELETE". command_body: JSON body for the command, e.g. {"on": true}. description: Optional human-readable description. status: "enabled" or "disabled". autodelete: If true, the schedule is deleted after it fires once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| time | Yes | ||
| status | No | enabled | |
| autodelete | No | ||
| description | No | ||
| command_body | Yes | ||
| command_method | Yes | ||
| command_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |