Group Location
Explore Plans
Mobile menu Close menu
FoobotFoobot

History of air quality readings

This query returns a list of new air quality readings 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
API endpoint slug
foobot.history_of_air_quality_readings
Runtime method
performQuery("foobot.history_of_air_quality_readings")

Query fields

Device ID Dropdown list

Label
Which Foobot?
Slug
device_id
Required
true
Can have default value
false

Ingredients

Reading time

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

Device name

Slug
device_name
Filter code
Foobot.historyOfAirQualityReadings.DeviceName
Type
String
Example
HappyBot

Global pollution

Slug
global_index
Filter code
Foobot.historyOfAirQualityReadings.GlobalPollution
Type
String
Example
13.37

Pm value

Slug
pm_value
Filter code
Foobot.historyOfAirQualityReadings.PmValue
Type
String
Example
2.2

Voc value

Slug
voc_value
Filter code
Foobot.historyOfAirQualityReadings.VocValue
Type
String
Example
187

Co2 value

Slug
co2_value
Filter code
Foobot.historyOfAirQualityReadings.Co2Value
Type
String
Example
502

Tmp value

Slug
tmp_value
Filter code
Foobot.historyOfAirQualityReadings.TmpValue
Type
String
Example
21.7

Hum value

Slug
hum_value
Filter code
Foobot.historyOfAirQualityReadings.HumValue
Type
String
Example
55.3