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 a brightness level above the value you specified. Note: this query will only return future events after this Applet is created.
- API endpoint slug
- hager_iot.history_of_brightness_level_rises_above
- Runtime method
- performQuery("hager_iot.history_of_brightness_level_rises_above")
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
- 0-100
- Slug
- threshold
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- HagerIot.historyOfBrightnessLevelRisesAbove.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.historyOfBrightnessLevelRisesAbove.Name
- Type
- String
- Example
- My Device
System serial numberThe system serial number.
- Slug
- sid
- Filter code
- HagerIot.historyOfBrightnessLevelRisesAbove.SystemSerialNumber
- Type
- String
- Example
- HGR12345678901234567890
System nameThe system name.
- Slug
- systemName
- Filter code
- HagerIot.historyOfBrightnessLevelRisesAbove.SystemName
- Type
- String
- Example
- My System
ThresholdThe brightness level threshold set in the recipe.
- Slug
- threshold
- Filter code
- HagerIot.historyOfBrightnessLevelRisesAbove.Threshold
- Type
- String
- Example
- 50
Current valueThe current brightness level value.
- Slug
- level
- Filter code
- HagerIot.historyOfBrightnessLevelRisesAbove.CurrentValue
- Type
- String
- Example
- 60