Create a repeating daily schedule of actions for a device. Slots define time-of-day actions (HH:MM UTC) that repeat every day between startAt and finishAt, excluding any dates or days of week listed in exclusions.
The schedule to create
The device to schedule actions against
"device_abc123"
Recurrence pattern for the schedule. Currently only 'daily' is supported.
Array of time-of-day action slots. Executed daily in chronological order within the schedule window.
1ISO 8601 UTC timestamp for when the schedule becomes active
"2025-03-20T00:00:00Z"
Exclusion rules for the schedule. Both fields are optional and additive — any day matching either rule is skipped.
ISO 8601 UTC timestamp for when the schedule ends. Null for an indefinite schedule.
"2025-06-20T00:00:00Z"
Schedule created successfully
Unique schedule identifier
"sched_abc123"
Target device ID
"device_abc123"
Resolved device type
battery, hvac, ev-charger, solar-inverter, vehicle "battery"
Current status of the schedule
active, paused, completed, cancelled "active"
Recurrence pattern for the schedule. Currently only 'daily' is supported.
Exclusion rules for the schedule. Both fields are optional and additive — any day matching either rule is skipped.
"2025-03-20T00:00:00Z"
"2025-06-20T00:00:00Z"
"2025-03-17T10:30:00Z"
"2025-03-17T10:30:00Z"