Your home at your fingertips

Various – Telegram Bot to remote control realKNX

Home >> Node-RED App Library

This flow demonstrates how-to use Telegram for remote connection.

Telegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.

If you’re more paranoid than your regular user, then Telegram got you covered. Telegram’s special secret chats use end-to-end encryption, leave no trace on our servers, support self-destructing messages and don’t allow forwarding. On top of this, secret chats are not part of the Telegram cloud and can only be accessed on their devices of origin.


Setting up Telegram Bot

For setting up a Telegram Bot you need a account. After that, you need to start and write /newbot to @BotFather and follow the steps to create your bot.

Double click in one Telegram node, choose “add new telegram bot ” and click on the pen to edit the Telegram settings to connect to the Telegram Bot API. You need to configure all Telegram’s nodes with this bot.

  • Bot-Name: is the name of your Telegram bot.
  • Token: is the token you get from BotFather when you create your bot.
  • Users: list of allowed users (without [])
  • ChatIds: For getting this, you can connect a node telegram to two debug nodes in the flow below
  • Then, send a message (anything except /help and /run) to the bot and in one output you get the chatId (without []).

Finally, start a chat with your Bot from the Telegram App: here’s what it looks like




Download Codevarious-telegram-bot.json

How-to import: Video Tutorial