How to send notifications/messages from Turris Omnia with Telegram

This is, at the moment, just a bare-bones guide of how to setup telegram-send on the Turris Omnia router.
I plan to use Telegram to send messages about installing updates, rebooting to me and the other people using the router.

Install

cd /tmp
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install telegram-send
mkdir /root/.config
touch /root/.config/telegram-send.conf

Create Telegram Bot

Open Telegram on your phone
Type in search BotFather
Click on BotFather
Create your bot by sending: “/newbot”

Configure

telegram-send --configure

Enjoy!

3 Likes