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 detected the humidity was above the threshold you specified. Note: this query will only return future events after this Applet is created.
- API endpoint slug
- ambiclimate.history_of_when_humidity_rose_above_a_threshold
- Runtime method
- performQuery("ambiclimate.history_of_when_humidity_rose_above_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
- Humidity threshold
- Slug
- threshold
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- Ambiclimate.historyOfWhenHumidityRoseAboveAThreshold.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
HumidityCurrent humidity reading from the device.
- Slug
- humidity
- Filter code
- Ambiclimate.historyOfWhenHumidityRoseAboveAThreshold.Humidity
- Type
- String
- Example
- 89.42
Device nameThe name of the Ambi Climate device.
- Slug
- device_name
- Filter code
- Ambiclimate.historyOfWhenHumidityRoseAboveAThreshold.DeviceName
- Type
- String
- Example
- Living Room@Home
Humidity thresholdThe humidity threshold set for this Trigger.
- Slug
- threshold
- Filter code
- Ambiclimate.historyOfWhenHumidityRoseAboveAThreshold.HumidityThreshold
- Type
- String
- Example
- 65.0