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 Label Which device? Slug device_name Required true Can have default value false Label Temperature threshold Slug threshold Required true Can have default value true Label Temperature unit Slug unit Required true Can have default value true
Ingredients Slug created_at Filter code Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.CreatedAt Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00 Slug temperature Filter code Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.Temperature Type String Example 25.0 Slug device_name Filter code Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.DeviceName Type String Example Living Room@Home Slug threshold Filter code Ambiclimate.historyOfWhenTemperatureDropsBelowAThreshold.TemperatureThreshold Type String Example 25.5