Set to Heat-Cool (Auto) Mode
Sets a specified thermostat to heat-cool ("auto") mode.
Sets a specified thermostat to heat-cool ("auto") mode.
Code:
await seam.thermostats.heatCool({
device_id: "32f974cc-e817-4bd7-b7f1-be92c80884a1",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25,
});Output:
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}Sets a specified thermostat to heat-cool ("auto") mode.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/heat_cool" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "32f974cc-e817-4bd7-b7f1-be92c80884a1",
"heating_set_point_celsius": 20,
"cooling_set_point_celsius": 25
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}
}Sets a specified thermostat to heat-cool ("auto") mode.
Code:
Output:
Sets a specified thermostat to heat-cool ("auto") mode.
Code:
Output:
Sets a specified thermostat to heat-cool ("auto") mode.
Code:
Output:
Sets a specified thermostat to heat-cool ("auto") mode.
Code:
Output:
Request Parameters
device_id String (Required)
ID of the thermostat device that you want to set to heat-cool mode.
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
Returns: action_attempt
Last updated
Was this helpful?

