Alert Types section
Here you can set up the various Alerts supported by the device as well as the notification messages that get sent to the user.
As you add Capabilities to your device template, this tab will automatically populate with default alert messages. You can then customize the alerts for your device by making changes on this tab. In most cases you can simply leave this tab’s contents as-is.
Hiding certain Alert types
As you add capabilities, a corresponding alert will be added to the Alert Types tab in the template in the console. This too will make a corresponding alert available to users in the Alerts section of the app for that device. If you do not want users to see this alert, you can easily toggle them off by selecting Show in UI to Off/Disabled.
When users go Alerts > Create Alert in the app, hidden alerts will not appear in the Alert Type dropdown.
Customize the Alert Messaging
The following default messaging will be used for alert notifications that get sent to the user, but can be overridden by customizing the Text Message field in the console. These messages are constructed of plain text and variables that get filled in with appropriate values at run time - see below for a list available for your use.
Value Alert Text
Alert: {Location Name} {Device Name} Temperature is [Value] exceeds [min/max] threshold {Value}. {Time stamp}. Reply “1” to pause receiving this alert.
Status Alert Text
Alert: {Location Name} {Device Name} has been opened. {Time stamp}. Reply “1” to pause receiving this alert.
Button with Location support
Alert: ${device_name}: ${ location_assignee} ${child_name} pressed. Location: ${location_trigger} ${lastKnown}. {time_stamp}. Reply “1” to pause receiving this alert.
Variables available at rule runtime:
${location_name}
${location_address}
${device_name}
${sensor_type} example: Rattrap
${display_text} example: question for survey buttons
${child_name} example: push button name: Alert
${template_reading}
${template_unit}
${thresholdDisplay} example: min/max wording
${triggerCondition.value}
${template_unit}