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 wind speed lower than the value you specified. Note: this query will only return future events after this Applet is created.
- API endpoint slug
- hager_iot.history_of_when_wind_speed_dropped_below_a_threshold
- Runtime method
- performQuery("hager_iot.history_of_when_wind_speed_dropped_below_a_threshold")
Query fields
Cid Dropdown list
- Label
- Which device?
- Slug
- cid
- Required
- true
- Can have default value
- false
Threshold Text input
- Label
- What threshold?
- Helper text
- In m/s.
- Slug
- threshold
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
NameThe name of the device.
- Slug
- name
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.Name
- Type
- String
- Example
- My Device
System serial numberThe system serial number.
- Slug
- sid
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.SystemSerialNumber
- Type
- String
- Example
- HGR12345678901234567890
System nameThe system name.
- Slug
- systemName
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.SystemName
- Type
- String
- Example
- My System
ThresholdThe wind speed threshold your specified in the recipe.
- Slug
- threshold
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.Threshold
- Type
- String
- Example
- 20
Current valueThe wind strength detected by the sensor.
- Slug
- windstrength
- Filter code
- HagerIot.historyOfWhenWindSpeedDroppedBelowAThreshold.CurrentValue
- Type
- String
- Example
- 10