About this trigger
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 Trigger fires every time the VOC (volatile organic compound) sensor value is above or below the threshold.
- API endpoint slug
- foobot.vocThreshold
Trigger fields
Device ID Dropdown list
- Label
- Which Foobot?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Operator Dropdown list
- Label
- Above or below?
- Helper text
- Determine whether the VOC level is above or below the threshold.
- Slug
- operator
- Required
- true
- Can have default value
- true
Threshold value Dropdown list
- Label
- VOC Threshold Value
- Helper text
- The threshold value in PPB (parts per billion).
- Slug
- threshold_value
- Required
- true
- Can have default value
- false
Ingredients
Event timeDate and time threshold was crossed.
- Slug
- created_at
- Filter code
- Foobot.vocThreshold.EventTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Voc valueObserved VOC sensor value in PPB.
- Slug
- sensor_value
- Filter code
- Foobot.vocThreshold.VocValue
- Type
- String
- Example
- 245.0
Device nameThe name of the Foobot.
- Slug
- device_name
- Filter code
- Foobot.vocThreshold.DeviceName
- Type
- String
- Example
- HappyBot