Overview
The/thermostat/{deviceId}/status endpoint returns the complete state of a thermostat, including current temperature, target temperature, HVAC mode, fan settings, schedule, and all other device properties.
Endpoint
Authentication
Required Scopes:read
Include your API key in the Authorization header:
Request
Path Parameters
Headers
Example Request
Response
Success Response (200 OK)
Response Fields
Key State Fields (shared..value)
Error Responses
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
Code Examples
Use Cases
Temperature Monitoring
Poll device status to monitor temperature changes:Energy Usage Tracking
Track HVAC system activity:Smart Automations
Build conditional logic based on device state:State Object Keys
Thestate object contains multiple sub-objects with different types of data:
shared.{serial}: Shared device state (temperature, mode, HVAC status)device.{serial}: Device-specific settings (scale, timers, locks)user.{userId}: User preferences and settingsstructure.{structureId}: Home/structure-wide settingsschedule.{serial}: Device schedule (if configured)
Object revisions (
object_revision) and timestamps (object_timestamp) are used for state synchronization and conflict resolution. You typically don’t need to use these values.Next Steps
Set Temperature
Change the target temperature
Set Mode
Change HVAC mode
Set Away Mode
Toggle between home and away
List Devices
Get all your devices