I would like to know how I could have various Telegram bots declared in HA.
For instance, one for general information, one for alerts.
In the configuration, one bot can be declared and then one or various notifiers can be set-up for this bot, but I don’t see a way in the notifiers of specifying a particular bot to use, therefore I understand that only one bot can be parameterized at the same time :
How does that work ?
I currently have various Bots created in Telegram : named as an example homeInfo, homeAlert.
In other systems, I used each bot with the same chatID (my phone), to receive a message in one chat or the other, having muted the homeInfo, and having the homeAlert with sound in Telegram.
If there is another way of doing it I’m eager to know how.
Excellent, many thanks.
Now instead of having a dedicated bot for each communication type (info, alert), I have a single bot that sends messages to dedicated groups…
It’s working great
Update : working great, but getting a lot of errors in logs :
ERROR (updater) [telegram.ext.updater] Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)
Did you experience that ?
Saw in other posts something to do with Node-Red. I have Node-Red installed but nothing on it yet.