Skip to main content

The device Object

Represents a device that has been connected to Seam.

Properties

Boolean
Indicates whether the lock supports configuring automatic locking.
Boolean
Indicates whether the thermostat supports cooling.
Boolean
Indicates whether the thermostat supports heating.
Boolean
Indicates whether the thermostat supports simultaneous heating and cooling.
Boolean
Indicates whether the device supports programming offline access codes.
Boolean
Indicates whether the device supports programming online access codes.
Boolean
Indicates whether the thermostat supports different climate programs for each day of the week.
Boolean
Indicates whether the thermostat supports a single climate program applied to every day.
Boolean
Indicates whether the thermostat supports weekday/weekend climate programs.
Boolean
Indicates whether the device supports remote locking.
Boolean
Indicates whether the device supports remote unlocking.
Boolean
Indicates whether the thermostat supports running climate programs.
Boolean
Indicates whether the device supports simulating connection in a sandbox.
Boolean
Indicates whether the device supports simulating disconnection in a sandbox.
Boolean
Indicates whether the hub supports simulating connection in a sandbox.
Boolean
Indicates whether the hub supports simulating disconnection in a sandbox.
Boolean
Indicates whether the device supports simulating a paid subscription in a sandbox.
Boolean
Indicates whether the device supports simulating removal in a sandbox.
Boolean
Indicates whether the thermostat can be turned off.
Boolean
Indicates whether the lock supports unlocking with an access code.
Array
Collection of capabilities that the device supports when connected to Seam. Values are access_code, which indicates that the device can manage and utilize digital PIN codes for secure access; lock, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; noise_detection, which indicates that the device supports monitoring and responding to ambient noise levels; thermostat, which indicates that the device can regulate and adjust indoor temperatures; battery, which indicates that the device can manage battery life and health; and phone, which indicates that the device is a mobile device, such as a smartphone. Important: Superseded by capability flags.
String (UUID)
Unique identifier for the account associated with the device.
String (ISO 8601)
Date and time at which the device object was created.
Object
Set of key:value pairs. Adding custom metadata to a resource, such as a Connect Webview, connected account, or device, enables you to store custom information, like customer details or internal IDs from your application.
String (UUID)
ID of the device.
Enum (String)
Type of the device.
String
Display name of the device, defaults to nickname (if it is set) or properties.appearance.name, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.
Array
Array of errors associated with the device. Each error object within the array contains two fields: error_code and message. error_code is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. message provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.
Boolean
Indicates whether Seam manages the device. See also Managed and Unmanaged Devices.
String
Optional nickname to describe the device, settable through Seam.
Object
Properties of the device.
Array
IDs of the spaces the device is in.
Array
Array of warnings associated with the device. Each warning object within the array contains two fields: warning_code and message. warning_code is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. message provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.
String (UUID)
Unique identifier for the Seam workspace associated with the device.
Object
Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
Object
Provider of the device. Represents the third-party service through which the device is controlled.
Object
Location information for the device.

Access Codes

Boolean
deprecated
Deprecated. use device.can_program_offline_access_codesIndicates whether it is currently possible to use offline access codes for the device.
Boolean
deprecated
Deprecated. use device.can_program_online_access_codesIndicates whether it is currently possible to use online access codes for the device.
Boolean
deprecated
Deprecated. use device.properties.model.can_connect_accessory_keypadThe supports accessory keypad.
Boolean
deprecated
Deprecated. use offline_access_codes_enabledThe supports offline access codes.
Boolean
Indicates whether the backup access code pool is currently enabled for the device. To disable it, set this to false using /devices/update.
Array
Constraints on access codes for the device. Seam represents each constraint as an object with a constraint_type property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific.
Boolean
Indicates whether the device supports native entry events.
Object
Keypad battery status.
number
Maximum number of active access codes that the device supports.
Array
Time frames that may be requested when creating an offline access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options’ duration ranges do not overlap, or by display_name when they do) and satisfies that one option’s rules. When undefined, any time frame works.
Array
Time frames that may be requested when creating an online access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options’ duration ranges do not overlap, or by display_name when they do) and satisfies that one option’s rules. When undefined, any time frame works.
Array
Supported code lengths for access codes.
Boolean
Indicates whether the device supports a backup access code pool.

Hardware

Object
Accessory keypad properties and state.
Object
Appearance-related properties, as reported by the device.
Object
Represents the current status of the battery charge level.
number
Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.
Boolean
Indicates whether the device has direct power.
String
Alt text for the device image.
String
Image URL for the device.
String
Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub.
String
Serial number of the device.

Locks

number
The delay in seconds before the lock automatically locks after being unlocked.
Boolean
Indicates whether automatic locking is enabled.
Boolean
Indicates whether the door is open.
Boolean
Indicates whether the lock is locked.

Noise Sensors

Array
Array of noise threshold IDs that are currently triggering.
number
Indicates current noise level in decibels, if the device supports noise detection.

Thermostats

Object
deprecated
Deprecated. Use active_thermostat_schedule_id with /thermostats/schedules/get instead.Active thermostat schedule.
String (UUID)
ID of the active thermostat schedule.
Array
Climate preset modes that the thermostat supports, such as “home”, “away”, “wake”, “sleep”, “occupied”, and “unoccupied”.
Array
Available climate presets for the thermostat.
Array
Fan mode settings that the thermostat supports.
Array
HVAC mode settings that the thermostat supports.
Object
Current climate setting.
Object
deprecated
Deprecated. use fallback_climate_preset_key to specify a fallback climate preset instead.The default climate setting.
String
Key of the fallback climate preset for the thermostat.
Enum (String)
deprecated
Deprecated. Use current_climate_setting.fan_mode_setting instead.The fan mode setting.
Boolean
Indicates whether the connected HVAC system is currently cooling, as reported by the thermostat.
Boolean
Indicates whether the fan in the connected HVAC system is currently running, as reported by the thermostat.
Boolean
Indicates whether the connected HVAC system is currently heating, as reported by the thermostat.
Boolean
Indicates whether the current thermostat settings differ from the most recent active program or schedule that Seam activated. For this condition to occur, current_climate_setting.manual_override_allowed must also be true.
number
Maximum cooling set point in °C.
number
Maximum cooling set point in °F.
number
Maximum heating set point in °C.
number
Maximum heating set point in °F.
number
Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4.
number
Maximum number of climate presets that the thermostat can support for weekly programming.
number
Minimum cooling set point in °C.
number
Minimum cooling set point in °F.
number
Minimum temperature difference in °C between the cooling and heating set points when in heat-cool (auto) mode.
number
Minimum temperature difference in °F between the cooling and heating set points when in heat-cool (auto) mode.
number
Minimum heating set point in °C.
number
Minimum heating set point in °F.
number
Reported relative humidity, as a value between 0 and 1, inclusive.
number
Reported temperature in °C.
number
Reported temperature in °F.
Object
Current temperature threshold set for the thermostat.
number
Precision of the thermostat’s period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour.
Array
Configured daily programs for the thermostat.
Object
Current weekly program for the thermostat.

The device_provider Object


Properties

Boolean
Indicates whether the lock supports configuring automatic locking.
Boolean
Indicates whether the thermostat supports cooling.
Boolean
Indicates whether the thermostat supports heating.
Boolean
Indicates whether the thermostat supports simultaneous heating and cooling.
Boolean
Indicates whether the device supports programming offline access codes.
Boolean
Indicates whether the device supports programming online access codes.
Boolean
Indicates whether the thermostat supports different climate programs for each day of the week.
Boolean
Indicates whether the thermostat supports a single climate program applied to every day.
Boolean
Indicates whether the thermostat supports weekday/weekend climate programs.
Boolean
Indicates whether the device supports remote locking.
Boolean
Indicates whether the device supports remote unlocking.
Boolean
Indicates whether the thermostat supports running climate programs.
Boolean
Indicates whether the device supports simulating connection in a sandbox.
Boolean
Indicates whether the device supports simulating disconnection in a sandbox.
Boolean
Indicates whether the hub supports simulating connection in a sandbox.
Boolean
Indicates whether the hub supports simulating disconnection in a sandbox.
Boolean
Indicates whether the device supports simulating a paid subscription in a sandbox.
Boolean
Indicates whether the device supports simulating removal in a sandbox.
Boolean
Indicates whether the thermostat can be turned off.
Boolean
Indicates whether the lock supports unlocking with an access code.
Enum (String)
Name of the device provider.
String
Display name for the device provider.
String
Image URL for the device provider.
Array
List of provider categories to which the device provider belongs, such as stable, consumer_smartlocks, thermostats, and so on.