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 humidity measured from your Air Monitor rises 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_humidity_rose_above_a_threshold
- Runtime method
- performQuery("Air_Monitor.history_of_when_humidity_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
Humidity threshold Text input > Regular expression
- Label
- Which humidity threshold?
- Helper text
- Set your threshold setting. An environment with a relative humidity between 45% -75% is typically good for one's health.
- Slug
- humidity_threshold
- Required
- true
- Can have default value
- true
Ingredients
Device nameThe name of the device.
- Slug
- device_name
- Filter code
- AirMonitor.historyOfWhenHumidityRoseAboveAThreshold.DeviceName
- Type
- String
- Example
- Living room Air Monitor,Bedroom Air Monitor
Measured atDate and time event was created.
- Slug
- created_at
- Filter code
- AirMonitor.historyOfWhenHumidityRoseAboveAThreshold.MeasuredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
HumidityThe current humidity level.
- Slug
- measured_humidity
- Filter code
- AirMonitor.historyOfWhenHumidityRoseAboveAThreshold.Humidity
- Type
- String
- Example
- 40
Threshold humidityThe threshold which, when broken, will fire a trigger
- Slug
- target_humidity
- Filter code
- AirMonitor.historyOfWhenHumidityRoseAboveAThreshold.ThresholdHumidity
- Type
- String
- Example
- 70