Telegram chatbot/appdaemon, configuration not working?

Hello,

I’m trying to create a chatbot for my HA-installation, so that I can request information from the home when away from home.

Trying to follow this guide: https://www.wouterbulten.nl/blog/tech/talking-to-my-house-telegram-homeassistant-bot/#comment-submitted

I’ve installed Appdaemon without issue and ended up copying the code in the link, but I can’t get the telegram bot to reply whenever I try to contact it.

Telegram is working properly (I think), because I use it to receive notifications from Home Assistant. I am a little confused about which chat_id’s to have entered in configuration.yaml, but Telegram works, so I figure they’re the right id’s.

In the AppDaemon web ui, my bot is listed as “terminated” under State - should it be this?

Any tips or directions as to what I might be doing wrong is much appreciated.

Cheers,

I have done telegram /commands to HA using nodered (and get notifications too). The nodered site has some good info on this to get you started if you are interested:

FWIW, I find nodered easier to work with for automations in general, especially the more complicated stuff. So 99.9% of my HA automations are done in the nodered addon (just some mqtt discovery and theme automation directly in HA). It is pretty easy to learn, and lots of good help on this site as well. This is something to consider if you are on the fence using nodered for telegram.

My Telegram notification system and automations works without using Nodered, so I was hoping to avoid having to learn Nodered to get this to work, unfortunately don’t have too much time at the moment :slight_smile:

I might check out nodered at a later point, though, if all else fails.