Devices

An overview of devices, where they can be found, and the various types.

Device Types

The following table provides an overview of all the device types that can be found throughout our API.

Structure

A device is either a sensor or a Cloud Connector and has a defined structure in our APIs. They can be fetched either by listing the devices in a project or looking up a single device, both of which will return device(s) with the structure as shown in the snippet below.

{
    "name": "projects/<PROJECT_ID>/device/<DEVICE_ID>",
    "type": "<DEVICE_TYPE>",
    "productNumber": "<PRODUCT_NUMBER>",
    "labels": {
        "<KEY>": "<VALUE>",
        ...
    },
    "reported": {
        ...
    }
}

Wireless Sensors Details

The following provides details of all the types of wireless sensors found throughout our APIs. Each type may contain one- or several different product numbers.

Temperature Sensor

Reports temperature in Celsius.

The following event types are available for this device type.

Proximity Sensor

Reports objects in close proximity.

The following event types are available for this device type.

Touch Sensor

Reports when the sensor is touched.

The following event types are available for this device type.

Humidity Sensor

Reports temperature in Celsius and percentage humidity.

The following event types are available for this device type.

Counting Proximity Sensor

Reports the total number of proximity state changes on each heartbeat. The counter does not reset on heartbeats and will keep getting incremented. The presence of an object and the absence of an object are counted individually, and will both increment the counter with 1. A counting proximity sensor also reports normal touch events if touched and held for a few seconds. This allows the sensor to be identified through Touch to Identify.

The following event types are available for this device type.

Counting Touch Sensor

Reports the total number of touches on each heartbeat. The counter does not reset on heartbeats and will keep getting incremented. A counting touch sensor also reports normal touch events if touched and held for a few seconds. This allows the sensor to be identified through Touch to Identify.

The following event types are available for this device type.

Water Detector Sensor

Reports when water is detected on the surface of the sensor, as well as when it's no longer detected.

The following event types are available for this device type.

CO2 Sensor

Reports CO2, Barometric Pressure, Relative Humidity, and Temperature.

The following event types are available for this device type.

Motion Sensor

Reports motion in the sensor's field of view.

The following event types are available for this device type.

Desk Occupancy Sensor

Reports when a desk is occupied and when it's no longer occupied.

The following event types are available for this device type.

Contact Sensor

Reports whether a door/window is open or closed.

The following event types are available for this device type.

Cloud Connector Details

Securely relays device events to our DT Cloud.

The following event types are available for this device type.

Last updated