Skip to main content
POST
Sets the HVAC mode for a specified thermostat.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the thermostat device for which you want to set the HVAC mode.

hvac_mode_setting
enum<string>
required
Available options:
off,
cool,
heat,
heat_cool,
eco
cooling_set_point_celsius
number

Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

cooling_set_point_fahrenheit
number

Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

heating_set_point_celsius
number

Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point parameters.

heating_set_point_fahrenheit
number

Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.

Response

200 - application/json

OK

action_attempt
object
required