Set a Temperature Threshold
Sets a temperature threshold for a specified thermostat. Seam emits a thermostat.temperature_threshold_exceeded event and adds a warning on a thermostat if it reports a temperature outside the threshold range.
Sets a temperature threshold for a specified thermostat.
Code:
await seam.thermostats.setTemperatureThreshold({
device_id: "a9b52627-e6e2-4beb-9168-964749f7bbae",
lower_limit_fahrenheit: 60,
upper_limit_fahrenheit: 80,
});Output:
// voidSets a temperature threshold for a specified thermostat.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/set_temperature_threshold" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "a9b52627-e6e2-4beb-9168-964749f7bbae",
"lower_limit_fahrenheit": 60,
"upper_limit_fahrenheit": 80
}
EOFOutput:
{}Sets a temperature threshold for a specified thermostat.
Code:
seam.thermostats.set_temperature_threshold(
device_id="a9b52627-e6e2-4beb-9168-964749f7bbae",
lower_limit_fahrenheit=60,
upper_limit_fahrenheit=80,
)Output:
NoneSets a temperature threshold for a specified thermostat.
Code:
seam.thermostats.set_temperature_threshold(
device_id: "a9b52627-e6e2-4beb-9168-964749f7bbae",
lower_limit_fahrenheit: 60,
upper_limit_fahrenheit: 80,
)Output:
nilSets a temperature threshold for a specified thermostat.
Code:
$seam->thermostats->set_temperature_threshold(
device_id: "a9b52627-e6e2-4beb-9168-964749f7bbae",
lower_limit_fahrenheit: 60,
upper_limit_fahrenheit: 80
);Output:
Sets a temperature threshold for a specified thermostat.
Code:
seam thermostats set-temperature-threshold --device_id "a9b52627-e6e2-4beb-9168-964749f7bbae" --lower_limit_fahrenheit 60 --upper_limit_fahrenheit 80Output:
{}Request Parameters
device_id String (Required)
ID of the thermostat device for which you want to set a temperature threshold.
lower_limit_celsius Number
Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.
lower_limit_fahrenheit Number
Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.
upper_limit_celsius Number
Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.
upper_limit_fahrenheit Number
Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.
Response
void
Last updated
Was this helpful?

