Set the HVAC Mode
Sets the HVAC mode for a specified thermostat.
POST /thermostats/set_hvac_mode โ { action_attempt }
Request Parameters
device_id
String (Required)
ID of the thermostat device for which you want to set the HVAC mode.
hvac_mode_setting
String (Required)
cooling_set_point_celsius
Number
Desired cooling set point in ยฐC. You must set one of the cooling_set_point
parameters.
cooling_set_point_fahrenheit
Number
Desired cooling set point in ยฐF. You must set one of the cooling_set_point
parameters.
heating_set_point_celsius
Number
Desired heating set point in ยฐC. You must set one of the heating_set_point
parameters.
heating_set_point_fahrenheit
Number
Desired heating set point in ยฐF. You must set one of the heating_set_point
parameters.
Response
SET_HVAC_MODE
{
action_attempt_id: [example value],
action_type: [example value],
error: [example value],
result: [example value],
status: [example value]
}
Examples
Set HVAC mode
Specify the desired heating and cooling set points in ยฐC or ยฐF.
Code
await seam.thermostats.setHvacMode({
device_id: "123e4567-e89b-12d3-a456-426614174000",
hvac_mode_setting: "heat_cool",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25,
});
Output
{
"action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "success",
"action_type": "SET_HVAC_MODE"
}
Last updated
Was this helpful?