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 PM (particulate matter) sensor value is above or below the threshold.
- API endpoint slug
- foobot.pmThreshold
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 PM sensor value is above or below the threshold.
- Slug
- operator
- Required
- true
- Can have default value
- true
Threshold value Dropdown list
- Label
- Particulate Matter Threshold Value
- Helper text
- threshold value in µg/m³
- Slug
- threshold_value
- Required
- true
- Can have default value
- false
Ingredients
Event timeDate & time threshold was crossed.
- Slug
- created_at
- Filter code
- Foobot.pmThreshold.EventTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Pm valueObserved sensor value in µg/m³.
- Slug
- sensor_value
- Filter code
- Foobot.pmThreshold.PmValue
- Type
- String
- Example
- 15.4
Device nameThe name of the Foobot.
- Slug
- device_name
- Filter code
- Foobot.pmThreshold.DeviceName
- Type
- String
- Example
- HappyBot