Notifications manager
Last updated
Last updated
Using the "Notifications Manager" window, you can create and configure a notification system for events related to the operation of the TSLab program.
Column | Description |
---|---|
Handler | Displays the channel name for notifications and channel settings buttons. The Filters button opens the Edit Filters window. In this window, you can fine-tune the notifications sent to the selected channel |
Connected | The switch responsible for the operation of the selected notification channel |
Test | When you click the Test button, a test message is sent to the selected notification channel |
Comment | A field for your comments for the selected channel. |
The context menu opens when you right-click on the workspace of the "Notifications Manager" window.
Command | Description |
---|---|
Properties | Opens the properties of the Notifications Manager window. |
Show at | Moves the Notifications Manager window to one of the existing workspace sheets. |
Clone window | Creates a copy of the window. |
The properties of the "Notifications Manager" window can be opened using the context menu or using the "Properties" button located on the title bar of the sheet windows.
Attention! The settings of the Background row color and Font Settings properties that you have chosen can be returned to their original settings using the "Select Default Settings" button located to the right of the property's drop-down menu. The application of custom settings is indicated by a red indicator on the "Select Default Settings" button.
Appearance
Menu item | Description |
---|---|
Font settings | Selecting a font style |
Columns caption | Shows/hides the header of the columns. |
Background row color | The background color of the window rows. |
You can choose the type of notification handler from those offered. It could be:
message log;
notification area;
audio file;
Email;
Telegram messenger.
By default, TSLab includes the Message Log handler located at the bottom of the program window. To add a new application notification handler, click the Add button.
You can select one or more types of handlers for simultaneous use. Each type of additional handler can be selected more than once.
The message log is located at the bottom of the workspace. The message log is configured in the Filters dialog box of the Notifications Manager window. Also, the setting of the Message log can be done in the status bar.
When this handler is selected, messages are displayed in the Windows notification area. Messages are configured in the "Filters" dialog box of the "Notifications Manager" window.
To set up a sound notification, you must select an audio file in the .wav, .mid, or .mp3 format.
To receive notifications to a specific email address, you need to fill in the settings.
Option | Description |
---|---|
SMTP Server | Email server address. "From whom" |
Port | Port number for outgoing email messages. |
User's name | Login to identify the user on the specified server. "From whom" |
Password | User password. "From whom" |
From | Correspondent's email address. |
To | Addressee's (recipient's) email address. |
SSL | Use / do not use a secure encrypted connection. |
Send message in header | Passes the text of the message in the header. |
Detailed logging | Enable detailed logging. |
To set up notifications via messenger, you need to have a registered Telegram account. The messenger can be configured both in the Telegram mobile application and in the Desktop version.
To receive notifications in Telegram, you need to create and configure a bot in Telegram. Follow the link http://telegram.me/BotFather and launch the BotFather bot.
If this is your first time using the BotFathe bot, then you must first send the /start command to the chat.
To create a new bot using BotFather, send the /newbot command to the chat
Enter a new name for the bot. With this name, the bot will be displayed in your contacts. Then provide a username for the bot.
Note! When creating a username for a bot, you must add the word "bot" to the end of the name, for example: MyTSLab_bot.
After the bot is created, you can find it at the link provided in the message.
If the chosen name is free, BotFather will send back a message with a token that provides access to this bot.
The bot is ready to connect to the Notifications Manager in TSLab. You can set up notifications to be sent directly to the bot's chat, or you can add the bot to a group or channel and receive notifications from those groups.
In order to receive notifications in the chat of the bot you created, follow these steps:
In the "Notifications Manager" window of the TSLab program, Add the Telegram handler.
Enable the settings item Listen for Chat Id.
Note! After selecting the "Listen for Chat Id" option, do not close the settings window. You must wait until the chat Id field is filled.
In Telegram, send any message to the chatbot you created. If you did everything correctly, the Chat Id field in the program will be automatically filled in with your bot ID. After that, you can close the Settings window.
In the Notifications Manager window, click the Test button opposite the Telegram handler. A test message will be sent to your bot's chat.
If you have any difficulties setting up the bot, please contact our support team.
In the same way, you can set up a bot to send messages to your Telegram group.
Create a group with any name. Add the created bot to the group. Give the bot group admin rights.
In the "Notifications Manager" window of the TSLab program, add the Telegram handler.
Open the settings menu of the Telegtam handler. In the settings, enter the received API token. It can be copied from the BotFather bot chat.
Note! After selecting the "Listen for Chat Id" option, do not close the settings window. You must wait until the chat Id field is filled.
In Telegram, send any message to the chatbot you created. If you did everything correctly, the Chat Id field in the program will be automatically filled in with your bot ID. After that, you can close the Settings window.
In the Notifications Manager window, click the Test button opposite the Telegram handler. A test message will be sent to your bot's chat.
Copy the API token from BotFather (in the previous picture) and then paste this token into the Bot token field in the Telegram notification handler settings in TSLab
Enable the settings item Listen for Chat Id.