hothost
hothost copied to clipboard
Can't get telegram bot working
When I try to setup the telegram bot I can't send a test message, it always prints undefinedChatId and invalidChatId in the docker log.
When I send a message to the bot it seems that it can't get the chat id.
When I set the chat id manually in the JSON file as "telegramLastChannelId": "12345" (with my correct Id) I don't get the error anymore but I also don't get a message
Is this something you can look into?
I've the same problem in a docker installation. When I try to send the test message after the configuration, the LOG register this event:
Incorrect chat id
and
[90mundefined[39m chatId
Notifications in Telegram and Gmail do not work
Please make telegram chat id a separate field, now it’s not clear how to make sure that it is defined correctly in the application. And how to change it
Managed to launch telegram alerts
- create a volume for the data folder volumes: - ./data:/var/lib/hothost/data/
- add the bot token to the plugin settings
- stop the container
- replace in the hothost.json file in the line "telegramLastChannelId": ["-111111111111111"] your chatid
- run the container
- send a test notification in the plugin
Thanks, we will take a look. We are now working on v2. Probably fix will be there, probably in this version. @MultiFox200 how do you think?