Group Location
Explore Plans
Mobile menu Close menu
Ambi ClimateAmbi Climate

History of when temperature drops below a threshold

This query returns a list of when your device detects the temperature was below the threshold you specified. 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 your device detects the temperature was below the threshold you specified. Note: this query will only return future events after this Applet is created.
API endpoint slug
ambiclimate.history_of_when_temperature_drops_below_a_threshold
Runtime method
performQuery("ambiclimate.history_of_when_temperature_drops_below_a_threshold")

Query fields

Device name Dropdown list

Label
Which device?
Slug
device_name
Required
true
Can have default value
false

Threshold Text input > Regular expression

Label
Temperature threshold
Slug
threshold
Required
true
Can have default value
true

Unit Dropdown list

Label
Temperature unit
Slug
unit
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

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

TemperatureCurrent temperature reading from the device.

Slug
temperature
Filter code
Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.Temperature
Type
String
Example
25.0

Device nameThe name of the Ambi Climate device.

Slug
device_name
Filter code
Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.DeviceName
Type
String
Example
Living Room@Home

Temperature thresholdThe temperature threshold set for this Trigger.

Slug
threshold
Filter code
Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.TemperatureThreshold
Type
String
Example
25.5