Script generator Applet
Explore Plans
Mobile menu Close menu
Air MonitorAir Monitor

History of air quality readings

This query returns a list of when a new air quality is reading available.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns a list of when a new air quality is reading available.
API endpoint slug
Air_Monitor.history_of_air_quality_readings
Runtime method
performQuery("Air_Monitor.history_of_air_quality_readings")

Query fields

Which r2 device Dropdown list

Label
Which Air Monitor?
Helper text
Choose one Air Monitor
Slug
which_r2_device
Required
true
Can have default value
false

Ingredients

Device nameThe name of the device.

Slug
device_name
Filter code
AirMonitor.historyOfAirQualityReadings.DeviceName
Type
String
Example
Living room Air Monitor,Bedroom Air Monitor

Measured atDate and time event was created.

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

Measured air qualityCurrent Air Quality

Slug
air_quality
Filter code
AirMonitor.historyOfAirQualityReadings.MeasuredAirQuality
Type
String
Example
22

Fine particulate matterFine particulate matter, PM2.5 refers to the particulate matter levels (μg/m3) of particles smaller than 2.5 μm, otherwise known as fine particulate matter.

Slug
pm25
Filter code
AirMonitor.historyOfAirQualityReadings.FineParticulateMatter
Type
String
Example
10

Coarse particulate matterCoarse Particulate Matter, PM10 refers to particulate matter levels (μg/m3) of particles which are smaller than 10 μm.

Slug
pm10
Filter code
AirMonitor.historyOfAirQualityReadings.CoarseParticulateMatter
Type
String
Example
10

TvocTotal Volatile Organic Compound

Slug
tvoc
Filter code
AirMonitor.historyOfAirQualityReadings.Tvoc
Type
String
Example
125

Co2 equivalentCarbon dioxide equivalent

Slug
co2_equivalent
Filter code
AirMonitor.historyOfAirQualityReadings.Co2Equivalent
Type
String
Example
400

Temperature cThe current temperature in Celsius.

Slug
temperature_c
Filter code
AirMonitor.historyOfAirQualityReadings.TemperatureC
Type
String
Example
22

Temperature fThe current temperature in Fahrenheit.

Slug
temperature_f
Filter code
AirMonitor.historyOfAirQualityReadings.TemperatureF
Type
String
Example
72

HumidityThe current humidity level.

Slug
humidity
Filter code
AirMonitor.historyOfAirQualityReadings.Humidity
Type
String
Example
40