githubEdit

Set to Cool Mode

Set a thermostat to cooling mode. To do so, you must include a cooling set point in the payload, either in Celsius or Fahrenheit. For information about verifying the cooling availability of the thermostat and validating the correct set points, see HVAC Mode Constraints and Set Point Constraints.

/thermostats/cool

post

Sets a specified thermostat to cool mode.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
device_idstring · uuidRequired

ID of the thermostat device that you want to set to cool mode.

cooling_set_point_celsiusnumber · floatOptional

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_fahrenheitnumber · floatOptional

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

syncbooleanOptionalDefault: false
Responses
chevron-right
200

OK

application/json
action_attemptone ofRequired

Represents an action attempt that enables you to keep track of the progress of your action that affects a physical device or system.actions against a device. Action attempts are useful because the physical world is intrinsically asynchronous.

When you request for a device to perform an action, the Seam API immediately returns an action attempt object. In the background, the Seam API performs the action.

See also Action Attempts.

or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
okbooleanRequired
post
/thermostats/cool

Code Example

Parameters

device_id

type: string

ID of the Device of the thermostat

cooling_set_point_celsius

type: number Optional

Temperature the thermostat should cool to (in °arrow-up-rightC). You must set one of the cooling_set_point parameters

cooling_set_point_fahrenheit

type: number Optional

Temperature the thermostat should cool to (in °arrow-up-rightF). You must set one of the cooling_set_point parameters

Response

This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.

JSON format

Last updated

Was this helpful?