MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-TelegramBot error.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 5 Posters 6.8k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Mrtrol2013
      last edited by Mrtrol2013

      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

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Mrtrol2013
        last edited by A Former User

        @Mrtrol2013
        don’t put " < " and " > ".

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Mrtrol2013 @Guest
          last edited by

          @Sean doesn’t help, bot doesn’t work either

          ? 2 Replies Last reply Reply Quote 0
          • ? Offline
            A Former User @Mrtrol2013
            last edited by

            @Mrtrol2013
            no, you just probably misconfigured.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Mrtrol2013
              last edited by

              @Mrtrol2013
              Show me your current edited configuration again.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Mrtrol2013 @Guest
                last edited by

                @Sean said in MMM-TelegramBot error.:

                @Mrtrol2013
                Show me your current edited configuration again.

                http://skrinshoter.ru/s/090220/hkrTecpW?a

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Mrtrol2013
                  last edited by

                  @Mrtrol2013
                  Hmmm…
                  add verbose: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,
                      ...
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mrtrol2013 @Guest
                    last edited by

                    @Sean http://skrinshoter.ru/s/090220/nYYpy6Oh?a
                    MMM-TelegramBot not work

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Mrtrol2013
                      last edited by

                      @Mrtrol2013
                      I need log. show me the log. I cannot figure out anything with only configuration.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        Mrtrol2013 @Guest
                        last edited by

                        @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
                        
                        ? 1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mrtrol2013
                          last edited by

                          @Sean
                          I do not know how to view the log file

                          1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @Mrtrol2013
                            last edited by

                            @Mrtrol2013
                            :(

                            If you are using pm2 to execute MagicMirror,

                            pm2 logs
                            

                            Or,
                            just stop pm2 and execute npm start dev on MagicMirror directory.

                            pm2 stop all
                            cd ~/MagicMirror
                            npm start dev
                            

                            It will show runtime log on your terminal shell.

                            M 2 Replies Last reply Reply Quote 0
                            • M Offline
                              Mrtrol2013 @Guest
                              last edited by

                              @Sean said in MMM-TelegramBot error.:

                              pm2 logs

                              http://skrinshoter.ru/s/090220/uYldwV0X?a
                              http://skrinshoter.ru/s/090220/hqejBmIE?a
                              http://skrinshoter.ru/s/090220/M8sqFA3M?a

                              ? 2 Replies Last reply Reply Quote 0
                              • M Offline
                                Mrtrol2013 @Guest
                                last edited by

                                @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 dev

                                It will show runtime log on your terminal shell.
                                http://skrinshoter.ru/s/090220/qvC2cwfM?a
                                http://skrinshoter.ru/s/090220/38fGJyAM?a

                                1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @Mrtrol2013
                                  last edited by A Former User

                                  @Mrtrol2013
                                  Usually connect ETIMEDOUT error 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.)

                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @Mrtrol2013
                                    last edited by

                                    @Mrtrol2013
                                    Anyway, I’ll make some patch for using under a proxy. But cannot guarantee when it is done.

                                    M 2 Replies Last reply Reply Quote 0
                                    • M Offline
                                      Mrtrol2013 @Guest
                                      last edited by

                                      @Sean thank you

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Mrtrol2013 @Guest
                                        last edited by

                                        @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?

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @Mrtrol2013
                                          last edited by

                                          @Mrtrol2013
                                          adding some proxy host and path info on request to telegram server, might be needed. not so complex, but real test be required.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z Offline
                                            Zoltan @Guest
                                            last edited by

                                            @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

                                            Part1.jpg
                                            Part2.jpg

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy