Retrieving Thermostats
Learn how to retrieve all thermostats or a specific thermostat by ID.
Last updated
Learn how to retrieve all thermostats or a specific thermostat by ID.
Last updated
© Seam Labs, Inc. All rights reserved.
When you use the /thermostats/list
and /devices/get
endpoints to retrieve information about your connected thermostats, the Seam API returns the following categories of information:
Category | Details |
---|---|
To retrieve all thermostats, issue a /thermostats/list
request. You can filter by a variety of criteria, including connected_account_id
, connect_webview_id
, manufacturer
, user_identifier_key
, and so on.
The following example retrieves all Google Nest thermostats:
Request:
Response:
To get a specific thermostat, issue a /devices/get
request, including the desired device_id
.
Request:
Response:
Current conditions
Current temperature in Fahrenheit and Celsius, current relative humidity, and so on.
Current operational status
Whether the associated HVAC system is currently heating or cooling, whether the fan is currently running.
Available HVAC modes for the thermostat
heat
, cool
, heat_cool
, and off
.
Available fan modes for the thermostat
on
, auto
, and circulate
.
Thermostat capability flags
Capabilities of the thermostat—at a granular level.
These capability flags include the following:
device.can_hvac_heat
device.can_hvac_cool
device.can_hvac_heat_cool
device.can_turn_off_hvac
Available climate presets
Climate presets that you can activate and schedule on the thermostat.
Climate preset constraints
Constraints related to climate presets for the specific thermostat brand or model. For example, a thermostat might have a minimum or maximum cooling or heating set point or a minimum delta between the cooling and heating set points.