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 4.9k 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.
    • ? 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
                      • ? Offline
                        A Former User
                        last edited by A Former User

                        Hi, You need to launch a conversation with your new bot created. Not with BotFather.

                        To talk to your bot:
                        above the token you have the link to talking to your bot !
                        like : t.me/ just click on it :)

                        Z S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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