Telegram notifications
Contents
This feature is in development. Please subscribe to our newsletter to receive a notification about it.
Introduction
Telegram notifications can be used to receive urgent notifications.
How to create a notification in Telegram
To create a notification in Telegram you have to specify the following parameters:
Go to "System tree menu" >> Press the "+" icon at the top right corner. You will see the following modal window:
2. Click on the "Telegram" element. Fill empty cells.
Parameter | Description |
---|---|
Name | The name of the element in the system |
Token | "1234567890:ABCDEFghijklmnopQRSTUV1234567890" |
Chat ID | "XXXXXXXXX" |
Language | “Notification language “ |
API Token. How to receive it.
Talk in Telegram to the @BotFather.
Send the command: /newbot
and follow the instructions. @BotFather will ask you for a name for your bot (what users will see) and a username (what users will use to find your bot). The username must end in _bot
or Bot
. (For example MymonitoringBot).
BotFather will then provide you with an API token (for example 1234567890:ABCDEFghijklmnopQRSTUV1234567890). This is crucial; keep it secure, save Your Token name! You'll use this token to control your bot.
Chat ID name. How to create it.
Now You need to set the Chat ID name to receive notifications.
First write something to Bot, for example: High Bot. Then You will need to write the following:
https://api.telegram.org/bot<Your token>/getUpdates
Like for example https://api.telegram.org/bot1234567890:ABCDEFghijklmnopQRSTUV1234567890/getUpdates
An answer that You have is looking like: "chat":{"id":XXXXXXXXX}
.
It is the Chat ID name.
Choose notification language!
You can now automatically receive notifications about problems in Your own language, such as if the temperature or voltage is out of range.