DT Developer Docs
REST APIDT StudioStatus Page
  • Getting Started
  • Overview
  • Concepts
    • Devices
    • Events
    • Topics
      • Temperature Measurement Interval
      • Motion Sensor Activity Timer
  • Data Connectors
    • Introduction to Data Connectors
    • Creating a Data Connector
    • Configuring a Data Connector
    • Receiving Events
    • Best Practices
    • Example Integrations
      • Heroku
      • Google Cloud Functions
      • AWS Lambda
      • Azure HTTP Triggers
      • IBM Cloud Actions
    • Development Guides
      • Local Development with ngrok
  • REST API
  • Introduction to REST API
  • Explore Our Endpoints
    • with cURL
    • with Python API
    • with Postman
  • Authentication
    • OAuth2
    • Basic Auth
  • Error Codes
  • Emulator API
  • Examples
    • Pagination
    • Streaming Events
    • Touch to Identify
    • Refreshing Access Token
  • Reference
  • Status Page
  • Service Accounts
    • Introduction to Service Accounts
    • Creating a Service Account
    • Managing Access Rights
    • Permissions
    • Organizational Structures
  • Other
    • Application Notes
      • Generating a Room Temperature Heatmap
      • Modeling Fridge Content Temperatures
      • Outlier Detection on Multiple Temperature Sensors
      • Simple Temperature Forecasting for Substation Transformers
      • Sensor Data Insight with Power BI and Azure
      • Third-Party Sensor Data in DT Cloud
    • Frequently Asked Question
Powered by GitBook
On this page
  • Device Types
  • Structure
  • Wireless Sensors Details
  • Temperature Sensor
  • Proximity Sensor
  • Touch Sensor
  • Humidity Sensor
  • Counting Proximity Sensor
  • Counting Touch Sensor
  • Water Detector Sensor
  • CO2 Sensor
  • Motion Sensor
  • Desk Occupancy Sensor
  • Contact Sensor
  • Cloud Connector Details

Was this helpful?

  1. Concepts

Devices

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

Last updated 7 months ago

Was this helpful?

Device Types

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

Device Name

Device Type

Description

temperature

Sensor that reports temperature in Celsius.

proximity

Sensor that reports objects in close proximity.

touch

Sensor that reports when the sensor is touched.

humidity

Sensor that reports temperature in Celsius and relative humidity as a percentage.

proximityCounter

Sensor that reports total count of proximity events.

touchCounter

Sensor that reports total count of touch events.

waterDetector

Sensor that reports whether or not water is present.

co2

Sensor that reports CO2, Barometric Pressure, Temperature in Celsius, and Relative Humidity.

motion

Sensor that reports when motion is detected and when it's no longer detected.

deskOccupancy

Sensor that reports when a desk is occupied and when it's no longer occupied.

contact

Sensor that reports whether a door/window is open or closed.

ccon

Connects sensors securely to the cloud.

Structure

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

Field

Type

Description

name

string

The device resource name. Includes both the identifier of the project the device is currently in and the identifier of the device itself.

type

string

productNumber

string

labels

struct

Device labels are user-configurable metadata key-value pairs. DT Studio uses labels with the keys name and description for the display name and description of the device, respectively.

reported

struct

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.

  • Device Type: temperature

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

temperature

touch

When touched.

networkStatus

batteryStatus

Approximately once per day.

probeWireStatus

Proximity Sensor

Reports objects in close proximity.

  • Device Type: proximity

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

objectPresent

When an object appears or disappears in close proximity.

touch

When touched.

networkStatus

batteryStatus

Approximately once per day.

Touch Sensor

Reports when the sensor is touched.

  • Device Type: touch

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

touch

When touched.

networkStatus

batteryStatus

Approximately once per day.

Humidity Sensor

Reports temperature in Celsius and percentage humidity.

  • Device Type: humidity

  • Variations:

Event Name

Event Type

Trigger

humidity

touch

When touched.

networkStatus

batteryStatus

Approximately once per day.

Counting Proximity Sensor

  • Device Type: proximityCounter

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

objectPresentCount

touch

When touched and held for a few seconds.

networkStatus

batteryStatus

Approximately once per day.

Counting Touch Sensor

  • Device Type: touchCounter

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

touchCount

touch

When touched and held for a few seconds.

networkStatus

batteryStatus

Approximately once per day.

Water Detector Sensor

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

  • Device Type: waterDetector

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

waterPresent

When water is detected and no longer detected on the surface of the sensor.

touch

When touched and held for a few seconds.

networkStatus

batteryStatus

Approximately once per day.

CO2 Sensor

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

  • Device Type: co2

  • Variations:

Event Name
Event Type
Trigger

co2

pressure

humidity

networkStatus

batteryStatus

Approximately once per day.

Motion Sensor

Reports motion in the sensor's field of view.

  • Device Type: motion

  • Variations:

The following event types are available for this device type.

Event Name
Event Type
Trigger

motion

The presence of people in the motion sensor's field of view.

networkStatus

batteryStatus

Approximately once per day.

Desk Occupancy Sensor

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

  • Device Type: deskOccupancy

  • Variations:

The following event types are available for this device type.

Event Name
Event Type
Trigger

deskOccupancy

When the occupancy status of the desk changes.

touch

When touched.

networkStatus

batteryStatus

Approximately once per day.

Contact Sensor

Reports whether a door/window is open or closed.

  • Device Type: contact

  • Variations:

The following event types are available for this device type.

Event Name
Event Type
Trigger

contact

When a door or window is closed or opened.

networkStatus

batteryStatus

Approximately once per day.

Cloud Connector Details

Securely relays device events to our DT Cloud.

  • Device Type: ccon

  • Variations:

The following event types are available for this device type.

Event Name

Event Type

Trigger

connectionStatus

When the connection changes.

ethernetStatus

When the ethernet connection changes.

cellularStatus

When the cellular connection changes.

touch

When touched.

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

The device type. See the below for a full list.

The device product number. This is the same product number that can be found on the and support pages.

Contains the last of each event type received for this device. Which events are included here depends on the device type. See the below to learn which event type is included with which device type.

Every periodic heartbeat or when touched. Note: and will only send temperature on heartbeats, and not when touched.

This event is not supported by the .

Every .

When the wires are plugged in or unplugged from a . This event is only supported by the .

Every .

Every .

The following event types are available for this device type. Note that temperature measurements are found within the event.

Every or when touched.

Every .

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 .

Every .

Every .

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 .

Every .

Every .

Every .

The following event types are available for this device type. Note that temperature measurements are found within the event.

Every .

Every .

Every .

Every .

Every .

Every .

Every .

listing the devices in a project
looking up a single device
Temperature Sensor
Temperature Sensor (2nd Gen)
Temperature Sensor (3rd Gen)
Industrial Temperature Sensor
Industrial Temperature Sensor (2nd Gen)
Temperature Sensor EN12830/330s
Temperature Sensor (3rd Gen)
Temperature Sensor with Data Backfill
Temperature Probe Sensor
Proximity Sensor
Touch Sensor
Tactile Touch Sensor
Humidity Sensor
Touch to Identify
Counting Proximity Sensor
Touch to Identify
Counting Touch Sensor
Counting Tactile Touch Sensor
Water Detector Sensor
CO2 Sensor
Motion Sensor
Desk Occupancy Sensor
Door & Window Sensor
Cloud Connector (2nd Gen)
Cloud Connector US 4G
Cloud Connector US Ethernet Only
Cloud Connector EU 4G
Cloud Connector EU 3G/2G
Cloud Connector EU Ethernet Only
Developer Kit
Sensors
Cloud Connectors
2nd Gen Temperature Sensors
3rd Gen Temperature Sensor
Temperature Probe Sensor
Temperature Probe Sensor
Temperature Probe Sensor
Temperature
Proximity
Touch
Humidity
Counting Proximity
Counting Touch
Water Detector
CO2
Motion
Desk Occupancy
Contact
Cloud Connector
overview
Event
overview
Humidity
Humidity
Temperature
Touch
Network Status
periodic heartbeat
Battery Status
Probe Wire Status
Object Present
Touch
Network Status
periodic heartbeat
Battery Status
Touch
Network Status
periodic heartbeat
Battery Status
Humidity
periodic heartbeat
Touch
Network Status
periodic heartbeat
Battery Status
Object Present Count
periodic heartbeat
Touch
Network Status
periodic heartbeat
Battery Status
Touch Count
periodic heartbeat
Touch
Network Status
periodic heartbeat
Battery Status
Water Present
Touch
Network Status
periodic heartbeat
Battery Status
CO2
periodic heartbeat
Pressure
periodic heartbeat
Humidity
periodic heartbeat
Network Status
periodic heartbeat
Battery Status
Motion
Network Status
periodic heartbeat
Battery Status
Desk Occupancy
Touch
Network Status
periodic heartbeat
Battery Status
Contact
Network Status
periodic heartbeat
Battery Status
Connection Status
Ethernet Status
Cellular Status
Touch