Set a Temperature Threshold
PATCH /thermostats/set_temperature_threshold ⇒ voidSets 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.
Request
await seam.thermostats.setTemperatureThreshold({
device_id: "123e4567-e89b-12d3-a456-426614174000",
lower_limit_celsius: 4,
upper_limit_celsius: 30,
});Response
// voidRequest
seam.thermostats.set_temperature_threshold(
device_id="123e4567-e89b-12d3-a456-426614174000",
lower_limit_celsius=4,
upper_limit_celsius=30,
)Response
NoneRequest
seam.thermostats.set_temperature_threshold(
device_id: "123e4567-e89b-12d3-a456-426614174000",
lower_limit_celsius: 4,
upper_limit_celsius: 30,
)Response
nilRequest
Response
Request
Response
Request
Response
Authentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
device_id
device_idType: string Required: Yes
ID of the desired thermostat device.
lower_limit_celsius
lower_limit_celsiusType: number Required: No
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
lower_limit_fahrenheitType: number Required: No
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
upper_limit_celsiusType: number Required: No
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
upper_limit_fahrenheitType: number Required: No
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.
Return Type
void
Last updated
Was this helpful?

