Explore Plans
Mobile menu Close menu
Air MonitorAir Monitor

History of instances when air quality was good

This query returns a list of instances when the air quality measured from your Air Monitor was good. (Indoor Air Quality value drops below 50 or your threshold setting) Note: this query will only return future events after this Applet is created.

Developer info

API endpoint slug
Air_Monitor.history_of_instances_when_air_quality_was_good
Runtime method
performQuery("Air_Monitor.history_of_instances_when_air_quality_was_good")

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

Iaq threshold Dropdown list

Label
Air Quailty threshold
Helper text
Our suggested threshold value: 50. Good: < 50, Moderate: 51-100, Unhealthy for Sensitive Group: 101-150, Unhealthy: 151-200, Very Unhealthy: >200.
Slug
iaq_threshold
Required
true
Can have default value
true

Ingredients

Device nameThe name of the device.

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

Measured atDate and time event was created.

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

Air quailty thresholdThe set Air Quality threshold.

Slug
target_iaq
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.AirQuailtyThreshold
Type
String
Example
0

Measured air qualityCurrent Air Quality

Slug
air_quality
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.MeasuredAirQuality
Type
String
Example
0

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.historyOfInstancesWhenAirQualityWasGood.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.historyOfInstancesWhenAirQualityWasGood.CoarseParticulateMatter
Type
String
Example
10

TvocTotal Volatile Organic Compound

Slug
tvoc
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.Tvoc
Type
String
Example
0

Co2 equivalentCarbon dioxide equivalent

Slug
co2_equivalent
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.Co2Equivalent
Type
String
Example
0

Temperature cThe current temperature in Celsius.

Slug
temperature_c
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.TemperatureC
Type
String
Example
23

Temperature fTemperature measured from your Air Monitor

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

HumidityThe current humidity level.

Slug
humidity
Filter code
AirMonitor.historyOfInstancesWhenAirQualityWasGood.Humidity
Type
String
Example
60