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 when a sensor's value is above a specified value.
- API endpoint slug
- zynect_sensors.value_above
Trigger fields
Sensor ID Dropdown list
- Label
- What sensor you would like to trigger on?
- Helper text
- All of your Zynect sensors that you own and are shared with you appear in the list.
- Slug
- sensor_id
- Required
- true
- Can have default value
- false
Trigger units Dropdown list
- Label
- What units would you like to use?
- Helper text
- Choose units that correspond to the sensor you have chosen. This also sets the units of the value you trigger on.
- Slug
- trigger_units
- Required
- true
- Can have default value
- false
Trigger above Text input > Regular expression
- Label
- What value do you want to trigger when above?
- Helper text
- When the sensor reads above this value, the trigger will fire.
- Slug
- trigger_above
- Required
- true
- Can have default value
- true
Ingredients
Created atThe date and time this trigger was fired.
- Slug
- created_at
- Filter code
- ZynectSensors.valueAbove.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Sensor valueThe value of the sensor at the time the trigger was fired.
- Slug
- sensor_value
- Filter code
- ZynectSensors.valueAbove.SensorValue
- Type
- String
- Example
- 18.0
Sensor unitsThe units of the sensor that was measured.
- Slug
- sensor_units
- Filter code
- ZynectSensors.valueAbove.SensorUnits
- Type
- String
- Example
- degF
Sensor nameThe nickname of the sensor that was measured.
- Slug
- sensor_name
- Filter code
- ZynectSensors.valueAbove.SensorName
- Type
- String
- Example
- Pool thermote
Sensor IDThe identifier of the sensor that was used to measure.
- Slug
- sensor_id
- Filter code
- ZynectSensors.valueAbove.SensorId
- Type
- String
- Example
- egg0080abcdefg123