This query returns the current value of a given sensor
- API endpoint slug
- air_q.sensors
- Runtime method
- performQuery("air_q.sensors")
Query fields
- Label
- DeviceID
- Helper text
- the id of the device
- Slug
- deviceid
- Required
- true
- Can have default value
- false
- Label
- Retrieve the latest measured value of the provided sensor.
- Slug
- sensor
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- value
- Filter code
- AirQ.sensors.Value
- Type
- String
- Example
- 20
- Slug
- unitShort
- Filter code
- AirQ.sensors.UnitShort
- Type
- String
- Example
- mg/m³
- Slug
- sensor
- Filter code
- AirQ.sensors.Sensor
- Type
- String
- Example
- no2
- Slug
- sensorName
- Filter code
- AirQ.sensors.SensorName
- Type
- String
- Example
- Nitrogen Dioxide
- Slug
- valueExact
- Filter code
- AirQ.sensors.ValueExact
- Type
- String
- Example
- 23.123
- Slug
- device
- Filter code
- AirQ.sensors.Device
- Type
- String
- Example
- office
- Slug
- created_at
- Filter code
- AirQ.sensors.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- unit
- Filter code
- AirQ.sensors.Unit
- Type
- String
- Example
- °C