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

History of when temperature rose above a threshold

This query returns a list of when the temperature measured from your Air Monitor rose above your threshold setting. Note: this query will only return future events after this Applet is created.

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 the temperature measured from your Air Monitor rose above your threshold setting. Note: this query will only return future events after this Applet is created.
API endpoint slug
Air_Monitor.history_of_when_temperature_rose_above_a_threshold
Runtime method
performQuery("Air_Monitor.history_of_when_temperature_rose_above_a_threshold")

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

Degree in Dropdown list

Label
Which temperature measurement?
Helper text
Select either Fahrenheit or Celsius
Slug
degree_in
Required
true
Can have default value
true

Temperature threshold Text input > Regular expression

Label
Which temperature threshold?
Helper text
Set your threshold setting. People feel most comfortable at temperatures ranging from 20°C (68°F) to 28°C (82.4°F)
Slug
temperature_threshold
Required
true
Can have default value
true

Ingredients

Device nameThe name of the device.

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

Measured atDate and time event was created.

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

Temperature cThe current temperature in Celsius.

Slug
measured_temperature_c
Filter code
AirMonitor.historyOfWhenTemperatureRoseAboveAThreshold.TemperatureC
Type
String
Example
33

Threshold temperature cThe threshold which, when broken, will fire a trigger

Slug
target_temperature_c
Filter code
AirMonitor.historyOfWhenTemperatureRoseAboveAThreshold.ThresholdTemperatureC
Type
String
Example
28

Temperature fThe current temperature in Fahrenheit.

Slug
measured_temperature_f
Filter code
AirMonitor.historyOfWhenTemperatureRoseAboveAThreshold.TemperatureF
Type
String
Example
72

Threshold temperature fThe threshold which, when broken, will fire a trigger

Slug
target_temperature_f
Filter code
AirMonitor.historyOfWhenTemperatureRoseAboveAThreshold.ThresholdTemperatureF
Type
String
Example
82