Skip to main content

Device

Devices measure Air Quality.

type Device {  client: Client  clientId: String  deviceTypeId: String!  eui: String!  humanReadableId: Int!  id: String!  isIaqSensor: Boolean!  isLight: Boolean!  isPirSensor: Boolean!  isPmSensor: Boolean!  room: Room  roomId: String  timeseries(    endDate: DateTime!    ids: [TimeSeriesId]!    startDate: DateTime!  ): [TimeSeries]}

Fields#

client (Client)#

clientId (String)#

UUID of the client

deviceTypeId (String!)#

The type of the device can be used to distinguish between different producs, e.g. sensors and lights

eui (String!)#

The DevEUI is a 64-bit globally-unique Extended Unique Identifier (EUI-64) of the end-device.

humanReadableId (Int!)#

The number that can be found on the device (e.g. 1753)

id (String!)#

isIaqSensor (Boolean!)#

Indicates whether the device is an indoor air quality sensor or not

isLight (Boolean!)#

Indicates whether the device is a light device or not

isPirSensor (Boolean!)#

Indicates whether the device is a passive infrared (PIR) sensor or not

isPmSensor (Boolean!)#

Indicates whether the device is a particulate matter sensor or not

room (Room)#

roomId (String)#

UUID of the room this device is linked to

timeseries ([TimeSeries])#

Timeseries contain data from device measurements for this device. Multiple measurements (e.g. CO2 and TEMPERATURE) can be queried simultaneously.