In this video, I'll show you how to automatically send Telegram messages to your smartphone in Home Assistant in just a few simple steps.
Video Content:
00:00 - Introduction
02:42 - Creating a Telegram Bot
05:21 - Determining Your Own Telegram Chat ID
06:43 - Configuring Telegram in Home Assistant
09:34 - Sending Notification Text to Your Smartphone via Home Assistant Automation with Telegram
Links to the Video:
Telegram Integration for Home Assistant: https://www.home-assistant.io/integra...
Telegram Messenger:
Android: https://play.google.com/store/apps/de...
iOS: https://apps.apple.com/de/app/telegra...
Configuration Example:
configuration.yaml
------------------------------
Telegram Bot Connection
telegram_bot:
platform: polling
api_key: YOUR_TELEGRAM_API_KEY
allowed_chat_ids:
YOUR_CHAT_ID
YOUR_CHAT_ID_2
Notifications
notify:
platform: telegram
name: Telegram Notify 1
chat_id: YOUR_CHAT_ID
platform: telegram
name: Telegram Notify 2
chat_id: YOUR_CHAT_ID_2
-----------------------------------
Automation example:
(Alternative to the variant shown in the video)
This allows you to use the service to specifically decide which user (ChatID) the message should be sent to.
Action type: Execute service
Service: notify.telegram_notify_1
Service data:
title: Message title
message: Message text
-----------------------------------
If you now want to send a message to multiple ChatIDs, that's also possible. However, both IDs must be specified as the target. The action should then look something like this:
service: telegram_bot.send_message
data:
text: Mail is here
title: Mailbox
target:
12xxxxx132
13xxxxx876
-----------------------------------
--
Would you like to support my work?
Just browse my Amazon recommendations:
https://www.amazon.de/shop/smarthomey... *
Or visit my fan shop:
https://shop.spreadshirt.de/smarthome...
If you order something from eBay or Amazon, please use my affiliate links:
Ebay affiliate link: https://ebay.us/7RBSKn *
Amazon affiliate link: https://amzn.to/2O7Z1x3 *
Or donate any amount you choose at:
https://streamlabs.com/smarthomeyours...
or
https://paypal.me/ScheidlerITSolutions
--
Feel free to join our Discord:
/ discord
--
My video accessories:
Camera: Panasonic Lumix DMC-G81MEG-K (https://amzn.to/2UoafPp)*
Andoer SGC-598 Condenser Microphone (https://amzn.to/2RPZ19B)*
Zoom H2n Audio Recorder (https://amzn.to/3kZGZMa)*
Hauser 200W ESL + Translucent Umbrella White (https://amzn.to/2HyYtjx)*
2x Neewer LED Panels (https://amzn.to/3cH8NBO)*
SD Cards: SanDisk Extreme PRO 128GB SDXC Class 10 U3 (https://amzn.to/2CMaxrV)*
Adobe Premiere/Photoshop Elements 2020 (https://amzn.to/2MMimU6)*
--
All Amazon links are affiliate links. This means I receive a small commission for every purchase made through the links. Of course, you'll still pay the same price as usual.
Thank you for your support!