For alerts and geo fences, variable interpolation can be used to insert values into the content of notifications.
Any CAN signal from the device that triggered the alert or geo fence can be used in addition to some feature-specific built-in variables.
To find the exact names of CAN signals, go to the CAN database for the device's model.
The values of any CAN signal from the device can be inserted using double curly braces {{}}
. For example, to insert the signal engine_rpm
into content:
Built-in values that can't be retrieved via CAN signals can be inserted in the same way, with {{}}
.
The built-in signals for alerts are:
alert.name
- the name of the alertdevice.identifier
- the name of the device that sent the alert
The built-in signals for geo fences are:
geoFence.name
- the name of the geo fencedevice.identifier
- the name of the device that crossed the geo fencedevice.latitude
- the latitude of the device when it crossed the geo fencedevice.longitude
- the longitude of the device when it crossed the geo fence
For example, to insert the name of the device into the above content:
A geo fence email action that sends whenever a device leaves the garage might look like this: