Read the statement by Michael Teeuw here.
MMM-TelegramBot error.
-
After installing and configuring the module, the Telegram bot does not respond to messages (/ help, / commands) What should I do in this situation?
http://skrinshoter.ru/s/080220/fPHcUQKh?a
http://skrinshoter.ru/s/080220/JqOajiDU?a -
@Mrtrol2013
don’t put " < " and " > ". -
@Sean doesn’t help, bot doesn’t work either
-
@Mrtrol2013
no, you just probably misconfigured. -
@Mrtrol2013
Show me your current edited configuration again. -
@Sean said in MMM-TelegramBot error.:
@Mrtrol2013
Show me your current edited configuration again. -
@Mrtrol2013
Hmmm…
addverbose:true,in your config then let’s see the log what happens. To make things simple, disable other modules in your configuration.{ module: 'MMM-TelegramBot', config: { verbose: true, ... -
@Sean http://skrinshoter.ru/s/090220/nYYpy6Oh?a
MMM-TelegramBot not work -
@Mrtrol2013
I need log. show me the log. I cannot figure out anything with only configuration. -
@Sean
/home/pi/MagicMirror/modules/MMM-TelegramBot/.git/logs/HEAD
0000000000000000000000000000000000000000 9fbce6fe4439d56d46527cd4441bf4cd823bc56b pi <pi@pi.(none)> 1581112213 +0300 clone: from https://github.com/eouia/MMM-TelegramBot.git -
@Sean
I do not know how to view the log file -
@Mrtrol2013
:(If you are using
pm2to execute MagicMirror,pm2 logsOr,
just stoppm2and executenpm start devon MagicMirror directory.pm2 stop all cd ~/MagicMirror npm start devIt will show runtime log on your terminal shell.
-
-
@Sean said in MMM-TelegramBot error.:
Or,
just stop pm2 and execute npm start dev on MagicMirror directory.
pm2 stop all
cd ~/MagicMirror
npm start devIt will show runtime log on your terminal shell.
http://skrinshoter.ru/s/090220/qvC2cwfM?a
http://skrinshoter.ru/s/090220/38fGJyAM?a -
@Mrtrol2013
Usuallyconnect ETIMEDOUTerror will occur when your device would be behind a proxy. Was it accessing the internet via a proxy server? (perhaps from a school or company)
Or your firewall would be blocking it. Check it. (Sorry I can’t help these kinds of issues. Discuss with your network admin.) -
@Mrtrol2013
Anyway, I’ll make some patch for using under a proxy. But cannot guarantee when it is done. -
@Sean thank you
-
@Sean I’m very interested in your module, I can use it with a proxy at the moment. Can you explain how to make it work?
-
@Mrtrol2013
adding some proxy host and path info on request to telegram server, might be needed. not so complex, but real test be required. -
@Sean
Please can you have a look at my log file. I have made a fresh install but my problem still persist. When i use the /help and the other commands in the help file, then i get the expected response. But when i use the
/commands or
/mychatid then i get a responce of“Unrecognized command. Say what?”
I have played with some of the settings of my phone and tried to whitelist my phones ip in the config file but still no joy. Any idea from your side looking at the log? I also dont see my log file grow as i try the commands on my phone


Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login