Send Telegram bot message
Now it is possible to send telegram bot message from MyController.
Add telegram bot
tokenfrom your bot(
BotFather) into MyController notifications settings.
I followed this link to set up a bot in my telegram account.
We can get chat_id in two different steps,
Options #1: Thanks, @jl277013 for the information
The solution was to go to Telegram and search for the bot called "userinfobot" with the questionmark as an avatar. Click start and it gives you your userid.
From the video
- to join your bot to a group, from 04:20 to 05:52
- to get channel username(chat id), from 09:20 to 13:20.
tokenwill be looking as follows after saved,
Create Operation to send telegram bot message, Here
Channel usernameis important. The custom message can be empty.
Which version of MyController is this feature available?
@jkandasa Thank you!
Hello @jkandasa ,
I wanted to update Telegram configuration on my Mycontroller setup, version 1.6.0-SNAPSHOT,
The Id I got is 537757xxxx, and I get an error message :
Numeric value (537757xxxx) out of range of int.
any chance to get it fixed ?
@fsgrazzutti It is possible we have to change the
I worked while ago in 1.x version. I have to setup the development environment in my local laptop. might take sometime to get the fix.
Have you tried MyController 2.x? I believe we have almost all the features from 1.x in MC 2.x
no, I did not tried it yet, I am a bit scared about the installation. I recently migrated v1.6 to a windows 10 PC
@fsgrazzutti ok, I will update you, when I fix it in v1.x. thanks!
@jkandasa I finally had the chance to test the SNAPSHOT and it works !
Now I have just to remember how to send the sensor states.
Thanks a lot !