Can a single Telegram bot handle notifications for multiple Home Assistant setups?

Hey everyone,

I’m running two separate Home Assistant systems in different places. I’ve already got a Telegram bot set up for one of them. It tells me when a door opens at that location.

Now I’m wondering if I can use the same bot for my other Home Assistant setup. Or do I have to create a new Telegram bot for each system?

I’d like to get notifications about door openings at both places, but I’m not sure if one bot can handle multiple Home Assistant instances. Any advice would be great. Thanks!

I’ve implemented a similar setup and can confirm it’s possible to use one Telegram bot for multiple Home Assistant instances. The key is to use different chat IDs for each system in your configuration.

When setting this up, ensure you’re using the correct chat ID for each Home Assistant in the Telegram integration configuration. This allows the bot to route notifications to the right place.

For clarity, I recommend adding a prefix to your messages (e.g., [Location1], [Location2]) to easily identify which system each alert is coming from. This has been invaluable in quickly distinguishing between notifications from different setups.

Remember to test thoroughly to ensure everything’s working as expected across both systems.

As someone who’s been juggling multiple Home Assistant setups myself, I can confirm that you absolutely can use a single Telegram bot for multiple instances. It’s actually quite convenient.

Here’s what I did: I set up my Telegram bot with a unique chat ID for each Home Assistant system. This way, the bot knows which notifications go where. In the Home Assistant configurations, I just made sure to use the correct chat ID for each setup.

One thing to keep in mind is message organization. I found it helpful to prefix my notifications with a location identifier, like [Home1] or [Office]. This makes it much easier to distinguish which alert is coming from which system at a glance.

Just be mindful of rate limits if you’re sending a lot of notifications. But for door sensors, you should be well within the limits. Hope this helps!

yup, one bot can handle multiple HA setups. i’ve done it. just use different chat IDs for each system in the telegram config. pro tip: add location tags to msgs like [Home] or [Cabin] so u know where they’re from. works great for me!