Skip to main content

Room

Airica reports Air Quality on a per room basis. To retrieve Air Quality data, devices must be linked to a room.

type Room {  buildingId: String!  devices(capability: [DeviceCapability]): [Device]  doors: Int  hasAc: Boolean!  hasVentilation: Boolean!  height: Float  id: String!  length: Float  mainIaqSensor: Device  maxOccupancy: Int  name: String!  roomType: RoomType!  sharedRoomCode: SharedRoomCode  timeseries(    endDate: DateTime!    ids: [TimeSeriesId]!    startDate: DateTime!  ): [TimeSeries]  usage(endDate: LocalDateTime!, startDate: LocalDateTime!): [LocalMeasurement]  volume: Float  width: Float  windows: Int}

Fields#

buildingId (String!)#

UUID of the building this room is linked to

devices ([Device])#

doors (Int)#

The number of doors in a room

hasAc (Boolean!)#

Indicates whether the room has air conditioning or not. Air conditioning means that indoor air is recycled.

hasVentilation (Boolean!)#

Indicates whether the room has ventilation. Ventilation means that indoor air is removed and replaced with new, fresh air

height (Float)#

The height of the room in meters

id (String!)#

UUID of the room

length (Float)#

The length of the room in meters

mainIaqSensor (Device)#

maxOccupancy (Int)#

The maximum number of people that can be present in a room

name (String!)#

roomType (RoomType!)#

sharedRoomCode (SharedRoomCode)#

Data of a shared room can be accessed through a publicly available URL

timeseries ([TimeSeries])#

DEPRECATED: This field is deprecated. Use timeseries on 'mainSensor' or 'devices' instead.

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

usage ([LocalMeasurement])#

Hourly room usage in minutes (based on PIR sensor data).

volume (Float)#

The volume of the room in cubic meters

width (Float)#

The width of the room in meters

windows (Int)#

The number of windows in a room