Explore Plans
Mobile menu Close menu
air-Qair-Q

Sensor value

This query returns the current value of a given sensor

Developer info

API endpoint slug
air_q.sensors
Runtime method
performQuery("air_q.sensors")

Query fields

Deviceid Dropdown list

Label
DeviceID
Helper text
the id of the device
Slug
deviceid
Required
true
Can have default value
false

Sensor Dropdown list

Label
Retrieve the latest measured value of the provided sensor.
Slug
sensor
Required
true
Can have default value
false

Ingredients

Valuethe human readable value (rounded)

Slug
value
Filter code
AirQ.sensors.Value
Type
String
Example
20

Unit shortThe physical unit of the current sensor

Slug
unitShort
Filter code
AirQ.sensors.UnitShort
Type
String
Example
mg/m³

Sensorthe short name of the sensor

Slug
sensor
Filter code
AirQ.sensors.Sensor
Type
String
Example
no2

Sensor nameThe long name of a sensor

Slug
sensorName
Filter code
AirQ.sensors.SensorName
Type
String
Example
Nitrogen Dioxide

Value exactUse the exact and not rounded value

Slug
valueExact
Filter code
AirQ.sensors.ValueExact
Type
String
Example
23.123

Devicethe device name of the current measurement

Slug
device
Filter code
AirQ.sensors.Device
Type
String
Example
office

Created atsenore value created at date time

Slug
created_at
Filter code
AirQ.sensors.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Unitthe unit of the given sensor

Slug
unit
Filter code
AirQ.sensors.Unit
Type
String
Example
°C