Skip to content

create a new schedule

POST
/pods/{device_id}/schedules/

Authorizations

Parameters

Path Parameters

device_id
required
string

Device unique id

Request Body

object
targetTimeLocal
required

Time in 24 hour format. e.g., 22:15 for ten fifteen pm

string
timezone
required

Timezone for the user (e.g., Europe/Oslo)

string
acState
required
object
on
required

True for on, false for off

boolean
mode
required

One of modes in remoteCapabilities (“cool”, “heat”, “fan”, “auto”, “dry”)

string
fanLevel
required

One of fan levels in remoteCapabilities (e.g., “low”, “medium”, “high”, “auto”)

string
targetTemperature
required

Target temperature

integer
temperatureUnit

‘C’ for Celsius or ‘F’ for Fahrenheit

string
swing

One of the swing states in remoteCapabilities (e.g., “stopped”, “rangeful”)

string
recurOnDaysOfWeek
required

A list of days the schedule is recurring (e.g., [“sunday”, “tuesday”]). Empty list if not recurring

Array<string>

Responses

200

Success