@Dan, I’m very glad that you wrote this plugin. Unfortunately I’m having a little problem with sending messages, i.e. they got sent but do not arrive.
I created an own bot via BotMatser as described. When I now call https://api.telegram.org/bot<myKey>/getMe I get something like this: {“ok”:true,“result”:{“id”:111111111,“first_name”:“MyName”,“username”:“MyName_bot”}}.
In the config I stored
{
“plugin”: “telegram”,
“host”: “api.telegram.org”,
“apiToken”: “<myKey>”,
“userChatId”: “111111111”,
“recipients”: []
}
Is that correct? I also tried with the other numbers, the first part of apiToken, the updateId etc. I do not see an error in pimatic’s log but I do not receive any telegram message.
The rule is “when pimatic-start” or a sspecific time.
Any help highly appreciated. and many thanks for your effort!