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 new sensor alert occurs
- API endpoint slug
- tempstick.alerts
Trigger fields
Alert Dropdown list
- Label
- Which alert?
- Slug
- alert
- Required
- true
- Can have default value
- false
Ingredients
Sensor readingThe reading of the sensor which triggered this alert.
- Slug
- sensor_reading
- Filter code
- Tempstick.alerts.SensorReading
- Type
- String
- Example
- 70 F
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- Tempstick.alerts.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Alert nameThe name of the alert.
- Slug
- alert_name
- Filter code
- Tempstick.alerts.AlertName
- Type
- String
- Example
- Alert Name
Sensor nameThe name of the sensor.
- Slug
- sensor_name
- Filter code
- Tempstick.alerts.SensorName
- Type
- String
- Example
- The Sensor Name
Alert IDThe ID of the alert.
- Slug
- alert_id
- Filter code
- Tempstick.alerts.AlertId
- Type
- String
- Example
- AlertIDNumber
Sensor IDThe ID of the sensor.
- Slug
- sensor_id
- Filter code
- Tempstick.alerts.SensorId
- Type
- String
- Example
- SensorIDNumber
Alert conditionThe condition set to trigger an alert.
- Slug
- alert_condition
- Filter code
- Tempstick.alerts.AlertCondition
- Type
- String
- Example
- above 60 F
Alert typeThe type of alert triggered.
- Slug
- alert_type
- Filter code
- Tempstick.alerts.AlertType
- Type
- String
- Example
- temperature