What am I doing wrong? May I miss anything in my telegram configuration? Please let me know if you have any ideas. I will appreciate any help. Thank you.
I found this thread because I’m seeing the same thing. I have found that I can type “/command” and my command is received by HA, but clicking on the buttons of the inline keyboard does nothing.
Unfortunately, I can not even send a /command… I think I miss some part of the setup… @SteveDinn can you explain how did you set up you telegram bot so it can send commands to your hassio instance. Thank you.
Hi! Thank you very much for your reply. I have only the android device, but I just wanted to make telegram work… I like it because you can see the whole kinda log of actions in your telegram group… So as I understand, you just set up the telegram_bot with webhooks platform and created the notify with platform: telegram and then just created the automations you want… And when you type commands in telegram like /command@your_bot then your hassio instance receives the command and triggers your automation, right? Or am I missing anything?
Btw, I tried using webhooks instead of polling with the same result (the alarm is being sent to telegram with inline_keyboard without any problem, but when I tap on keyboard button nothing happens, I cannot even catch the telegram_callback event in my hassio instance)…
I only do not understand the following part of hassio telegram webhooks documentation:
Using Telegrams setWebhook method your bot’s webhook URL should be set to https://<public_url>:<port>/api/telegram_webhooks .
I took a second look at this. I wonder if the problem is that the notification is being sent via the alert and notify components. I realized that I don’t actually use the notify component with telegram, I use the telegram_bot.send_message service in a script. You might try that and see if you have any more success.
I don’t think you can use a non-notify service with alerting, but like I said, I don’t use alerts. Maybe just try to send this style of message through the dev-services tool and see if the button works.
yeah, but it breaks the concept of what I want to achieve… recurring messages in telegram which can be stopped (acknowleged) by pressing the inline keyboard button(((