Device

A piece of hardware that may exist in a space

A device resource represents a piece of hardware that may exist in a space. Devices can report such as temperature or presence, but may also expose features that may be controlled, such as AV hardware or a thermostat. Common devices include beacons, phones, and motion sensors.

Properties

idIntegerThe ID of the device.
account_idIntegerThe ID of the account that owns the device.
device_manifest_idIntegerThe ID of the associated device manifest. A device's capabilities are described by the manifest.
nameStringA name for the device, given by the owning account.
last_reported_atStringThe date that the device last communicated with Robin, represented as an ISO-8601 date.
created_atStringThe date and time the resource was originally created, represented as an ISO-8601 date.
updated_atStringThe date and time the resource was last modified, represented as an ISO-8601 date.

Example

{
  "id": 1,
  "account_id": 3,
  "device_manifest_id": 13,
  "name": "PIR sensor",
  "last_reported_at": "2014-05-24T21:00:35+0000",
  "created_at": "2014-05-19T21:00:35+0000",
  "updated_at": "2014-05-19T21:00:35+0000"
}