Skip to content

Set the AC state

POST
/pods/{device_id}/acStates

Authorizations

Parameters

Path Parameters

device_id
required
string

Device unique id

Request Body

object
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

Responses

200

Success. Returns when command actually happened