githubEdit

Set Fan Mode

/thermostats/set_fan_mode

post

Sets the fan mode setting for a specified thermostat.

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

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

fan_modestring · enumOptionalDeprecatedPossible values:
fan_mode_settingstring · enumOptional

Fan mode setting that you want to set for the thermostat.

Possible values:
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/set_fan_mode

Code Example

curl --request POST 'https://connect.getseam.com/thermostats/set_fan_mode' \
--header 'Authorization: Bearer ${API_KEY}' \
--header 'Content-Type: application/json' \
--header 'Seam-Workspace: 00000000-0000-0000-0000-000000000000' \
--data-raw '{
  "device_id": "11111111-1111-1111-1111-111111111111",
  "fan_mode_setting": "auto"
 }'

Parameters

device_id

type: string

ID of the Device of the thermostat

fan_mode

type: string

Fan mode of the thermostat. Possible values:

  • on: The fan continuously operates, ensuring air circulation regardless of the heating or cooling demand.

  • auto: The fan activates only when heating or cooling is on, making it a more energy-efficient choice.

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?