Set the Fan Mode Setting
Sets the fan mode setting for a specified thermostat.
Sets the fan mode setting for a specified thermostat.
Code:
await seam.thermostats.setFanMode({
device_id: "363e657e-3b07-4670-a290-7fb1f32b8e33",
fan_mode_setting: "auto",
});Output:
{
"action_attempt_id": "2a3b4c5d-6e7f-8a9b-acbd-1e2f3a4b5c6d",
"action_type": "SET_FAN_MODE",
"error": null,
"result": {},
"status": "success"
}Sets the fan mode setting for a specified thermostat.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/set_fan_mode" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "363e657e-3b07-4670-a290-7fb1f32b8e33",
"fan_mode_setting": "auto"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "2a3b4c5d-6e7f-8a9b-acbd-1e2f3a4b5c6d",
"action_type": "SET_FAN_MODE",
"error": null,
"result": {},
"status": "success"
}
}Sets the fan mode setting for a specified thermostat.
Code:
Output:
Sets the fan mode setting for a specified thermostat.
Code:
Output:
Sets the fan mode setting for a specified thermostat.
Code:
Output:
Sets the fan mode setting for a specified thermostat.
Code:
Output:
Request Parameters
device_id String (Required)
ID of the thermostat device for which you want to set the fan mode.
fan_mode String
Deprecated. Use fan_mode_setting instead.
fan_mode_setting String
Fan mode setting that you want to set for the thermostat.
Response
Returns: action_attempt
Last updated
Was this helpful?

