This query returns a list of when the temperature of a device falls below the provided threshold. Note: this query will only return future events after this Applet is created.
API endpoint slug
airthings.history_of_temperature_below_threshold
Runtime method
performQuery("airthings.history_of_temperature_below_threshold"}
Query fields
Label
Measurement unit
Helper text
What unit of measurement would you like to receive your temperature in?
Slug
unit
Required
true
Can have default value
true
Label
Device
Helper text
The device you would like to get temperature from.
Slug
device
Required
true
Can have default value
false
Label
Threshold
Helper text
How cold do you want it to be when it triggers? Use the measurement unit you chose.
Slug
threshold
Required
true
Can have default value
true
Ingredients
Slug
created_at
Filter code
Airthings.historyOfTemperatureBelowThreshold.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00
Slug
value
Filter code
Airthings.historyOfTemperatureBelowThreshold.Temperature
Type
String
Example
25
Slug
unit
Filter code
Airthings.historyOfTemperatureBelowThreshold.MeasurementUnit
Type
String
Example
C°
Slug
device
Filter code
Airthings.historyOfTemperatureBelowThreshold.Device
Type
String
Example
Home - Living Room