Skip to main content

Overview

The device bucket is the most complex, with 239 registered fields. It contains a mixture of device telemetry (read-only), cloud-writable configuration, and special-purpose fields. Object key: device.{serial}
Direction: Bidirectional (with per-field restrictions)
Revision type: base_object_revision (unconditional)

Field Access Modes

Not all fields in the device bucket work the same way:
If you push a device-only field, the device compares it against its local value. If different, the device marks the field dirty and re-sends its own value in the next PUT — the device always wins. Accept these re-PUTs normally.

Key Read-Only Fields

These are the most important device-only fields. The server stores them (from device PUTs) but must not push them back.

Cloud-Writable Fields

These fields accept server writes via subscribe responses. Push them inside the value object of a device.{serial} bucket.

Safety Fields Behavior

When any safety-related field changes, the device forces four additional fields into its next PUT regardless of whether they changed: battery_level, safety_temp_activating_hvac, safety_state, safety_state_time Accept these extra fields in your normal merge process.