Notification Action
In the notification properties, you should select and configure one or several actions that should be performed automatically when the notification is triggered.
All the available actions are described in detail below.
Notify by Email
This action allows you to configure sending email notifications. To do this, check the box to the left of the field and specify the address to which notifications should be sent. A new field is added automatically after each input. To cancel sending notifications to any of the specified addresses, uncheck the box to the left of the required address.
The notification name is specified in the header of the received email and the unit name, in brackets. The main part of the email contains the notification text.
Some types of devices allow you to attach to the email an image sent by the unit in the message after which the notification was triggered. To do this, enable the Attach image from triggered message option.
Notify by SMS
This action allows you to configure sending notifications as SMS messages. The action is available only if the Can send SMS option is enabled in the user properties. Phone numbers should be specified in the international format (for example, +375293293294). A new field is added automatically after each input.
Send Notification to Telegram
This action allows you to send notifications to the Telegram messenger.
Notifications can be sent to:
- user’s private messages;
- public channel;
- private channel;
- private group.
Notifications to the user’s private messages
To configure sending notifications to the user’s private messages, follow these steps:
- Using the search, find and open the bot named BotFather.
- Tap Start.
- Select the /newbot command.
- Specify the bot name.
- Specify the user name for the bot. It should end with the word bot.
- Save the received token.
- Specify the token in the Bot token field.
- Select the /mybots command.
- Select the created bot.
- Tap Start.
- Using the search, find and open the bot named userinfobot.
- Tap Start. After that, the user ID is sent. To find out the ID of another user, send any message to this bot on behalf of the required user.
- Specify the received ID in the Channel ID field.
Notifications to a public channel
To configure sending notifications to a public channel, follow these steps:
- Follow steps 1–10 from the previous guide.
- Create a public channel in Telegram.
- Add the created bot to the channel as an administrator with the right to post messages.
- In the Channel ID field in Trackd, specify the link to the channel in the @link format (without t.me/). The link is indicated in the Info section of the channel.
- In the channel settings, add subscribers, that is, the users who should receive notifications, or send them the link to the channel.
In the same way, you can configure sending notifications to a public group. In this case, add the created bot to the group as a member.
Notifications to a private channel
To configure sending notifications to a private channel, follow these steps:
- Follow steps 1–10 from the previous guide.
- Create a public channel in Telegram.
- Add the created bot to the channel as an administrator with the right to post messages.
Copy the following link to the browser address bar:
- Replace <YourBotToken> with the bot token and <@YourChannelName> with the link to the created channel in the @link format (without t.me/). The link is specified in the Info section of the channel.
- Press Enter.
- From the resulting code, copy a numerical value after "chat":{"id": and paste it into the Channel ID field in the notification properties in Trackd.
- Delete the automatic message in the channel.
- In the channel settings, change its type from public to private.
- In the channel settings, add subscribers, that is, the users who should receive notifications, or send them the link to the channel.
Notifications to a private group
To configure sending notifications to a private group, follow these steps:
- Follow steps 1–10 from the previous guide.
- Create a private group in Telegram.
- Add the created bot to the group as a member.
Copy the following link to the browser address bar:
- Replace <YourBotToken> with the bot token.
- Press Enter.
- In the resulting code, find the ID of the created group (a negative value between "chat":{"id": and "title":"Group name"). To find this place quickly, use the key combination Ctrl+F, type the group name in the search box, and press Enter.
- Insert the ID of the group in the Channel ID field of the notification properties in Trackd.
- In the group settings, add members, that is, the users who should receive notifications, or send them the link to the group.
Display Online Notification in a Pop-up Window
This notification action allows you to display notifications in a pop-up window in Trackd. If the Play sound for events option is enabled in the user settings, the notifications are accompanied by an audio signal. In the Sound URL field, you can specify the address of the audio signal. The recommended file size is up to 0.5 MB. If the field is not filled in, the default audio signal is used.
When using different browsers, take the following restrictions into account:
Browser | Supported format |
---|
Internet Explorer 9+ | MP3, AAC |
Google Chrome 11+ | MP3, WAV, Ogg |
Mozilla Firefox 12+ | WAV, Ogg |
Safari 5+ | MP3, WAV, AAC |
Opera 10+ | WAV, Ogg |
If necessary, you can select the notification colour. The default colour is white.
If the Blink minimap option is enabled, once the notification is triggered, a mini-window opens in which you can track the movement of the unit.
Send Mobile Notification
This action allows you to configure sending mobile notifications. The action is available if the Mobile notifications service is enabled in the properties of the user’s account.
To work with this action, you should have the following access rights:
Access right type | Access rights | Description |
---|
Unit access rights | View object and its basic properties | The recipient users should have this access right to all the selected units. |
Use unit in jobs, notifications, routes, retranslators | The user who configures the notification and the user-creator of the resource to which the notification belongs should have this access right to all the selected units. |
User access rights
| View detailed object properties | The user who configures the notification should have these access rights to the recipient users and to the user-creator of the resource in which the notification is stored. The user-creator of the resource in which the notification is stored should have these access rights to the recipient users. |
Act on behalf of this user |
To configure sending mobile notifications, follow these steps:
- Make sure that the users who should receive notifications are authorized in the mobile application and have the option allowing them to receive notifications enabled. In the case of Trackd for Android and iOS, the Notifications option should be enabled in the settings.
- Select the mobile application to which the notification should be sent.
- Select the users who should receive the notification. To find them, use the dynamic filter above the list. To select all the users at once, select one of them while holding down the Ctrl key.
Send a Request
This action allows you to send messages about triggered notifications to third-party servers. To do this, specify the server address and select the method of the HTTP request: POST or GET.
Register Event for Unit
This action allows you to register events in the unit history. To do this, you should have the Manage events access right to the unit.
After registering events, you can execute a report on events. In order for events to be registered as violations and to be available in the same-name report, enable the Register as violation option.
Send a Command
This action allows you to send a certain command to the unit(s). The list contains all the available commands created in the properties of all the selected units if you have the Send commands access right to them.
Next to the name of each command, you can see the following icons:
- : means that all the selected units support this command;
- : means that not all the selected units support this command (more information in the tooltip).
In case of sending commands that involve entering text or a message (for example, Send custom message or Send message to driver), you can use the same tags as for the notification text. When executing the command, the specified tags are converted to the values that correspond to them.
Save a Video as a File
This action allows you to automatically save a video excerpt captured by the unit cameras at the moment when the notification is triggered.
To access this notification action, the Video monitoring service should be activated in the properties of the user account or billing plan. In addition, the following access rights to the unit are required:
- View object and its basic properties,
- View detailed object properties,
- View connectivity settings,
- Send commands,
- View commands,
- Create, edit, and delete commands.
When configuring a notification with this action, specify the duration before and after the event (the moment when the notification is triggered) in seconds. The minimum allowed value is 1, and the maximum one is 30. The duration of the saved file is equal to the sum of the entered values.
When the notification is triggered, it saves video excerpts from those unit cameras for which the Automatic saving option is enabled in the unit properties.
You can see the saved file on the Video tab, in messages, and in reports. If automatic saving is enabled for several unit cameras, the video excerpts captured by these cameras are grouped into one file and played simultaneously.
Change Access to Units
This action allows you to automatically change the user’s access rights to units. To do this, you should have the Manage access to this object access right to the user.
To configure this action, follow these steps:
- Select the users whose access rights you want to change.
- Next to the required access right, select one of the following actions:
- Add. Allows you to grant the users this access right.
- Remove. Allows you to remove from the users this access right.
- Skip. Allows you not to change this access right.
This action can be useful when granting users temporary access rights. For example, the user should track the movement of a unit delivering cargo on a certain territory (geofence A). After the cargo is delivered to the required place (geofence B), the unit should be unavailable for this user. In this case, you should use the notification of the Geofence type.
Set Counter Value
This action allows you to change the values of the mileage, engine hours, and/or GPRS traffic counters. To do this, you should have the Edit counters access right to the unit.
To configure this action, select the required counters and specify the values that these counters should have when the notification is triggered.
Save Counter Value as a Parameter
This action allows you to save the value of current mileage (odometer parameter) or engine hours (engine_hours parameter) as a parameter in the message. This is required in order to show the initial and final mileage values in the report on trips and convert the engine_hours parameter into the engine hours sensor for further operations. To do this, you should have the Edit counters access right to the unit.
For more precise calculations, it is advisable to store counter values while the unit is parked, for example, once a day at night time.
Register Unit Status
This action allows you to register the unit status: Business or Personal. To do this, you should have the Manage events access right to the unit. For example, when the unit visits a certain geofence, the unit status can be changed from personal to business or vice versa.
Add or Remove Units From Groups
This action allows you to add or remove the selected unit from certain groups. To add the unit to the group when the notification is triggered, click on the required group in the All groups list and, using the icon , move the group to the Add to group list; to remove from the group, to the Remove from group list. To move the selected groups to the common list, use the icon .
Send a Report by Email
This action allows you to send a report to one or several specified email addresses. To do this, you should have the Request messages and reports access right.
To configure this action, follow these steps:
- Select the resource to which belongs the report template you want to send. To see templates from all the available resources, select the All available option.
- Select the report template.
- Select the object on which you want to
- If necessary, enable the Triggered unit option. It is only available for reports on unit or unit group. If the option is enabled, the report is executed only on the unit that triggered the notification, regardless of the object selected in the previous list.
- Select one or several file formats: HTML, PDF, Excel, XML, CSV. When selecting the PDF format, you can specify the page orientation, size, and width. When selecting the CSV format, you can specify the coding and delimiter as well as enable or disable the displaying of headings.
- If necessary, enable additional options.
- Specify the time interval for which report should be executed.
- Select one of the two options defining the report content:
- Send files/archives. Allows you to send files or archives directly.
- Send links to files/archives. Allows you to send links to the FTP server where the files or archives of the report are stored.
- Specify and select the email addresses of the recipients of the report. A new field is added automatically after each input.
The information about the geodata in the notification report is shown in accordance with the settings of the user-creator of the resource in which this notification is created.
Change Icon
This action allows you to select the icon that should be the unit icon when the notification is triggered. To open the list of available icons, click on the Library icon.
Create a Ride
This action allows you to create a new ride for the unit. For example, when leaving a certain geofence or finishing a certain ride the unit can start a new ride automatically.
To configure this action, follow these steps:
- Specify the ride name.
- If necessary, add a description.
- Select the route.
- Select the schedule of the route.
- Select the order of check points: Strict, Skipping possible, Arbitrary.
- If necessary, enable the Remove finished rides from the timeline option, so that the timeline shows only those rides which are currently executing.
- In the Expiration time field, specify the time during which the ride can start.
Separate Driver
This action allows you to automatically separate the driver from the unit. To do this, you should have the Create, edit, delete drivers access right to the resource to which the driver belongs. The driver and the notification should belong to the same resource.
Seperate Trailer
This action allows you to automatically separate the trailer from the unit. To do this, you should have the Create, edit, delete trailers access right to the resource to which the trailer belongs. The trailer and the notification should belong to the same resource.