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.

    Modulo MMM-TelegramBot screenshot

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 2 Posters 383 Views 2 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.
    • N Offline
      nic0rz
      last edited by

      Hello friends,

      I managed to get my MagicMirror working the way I wanted, but I have an issue I can’t solve. It’s about the screenshots I take using the Telegram bot. The image I receive on my phone is 1280x720 pixels, and the problem is that it looks very blurry, making it hard to read or understand what it says. However, on Telegram for PC, that same image looks fine, and I receive it at 1920x1080, which is the resolution of my screen.

      The module I have installed is MMM-TelegramBot.TelegramPC.jpg TelegramMovil.jpg

      M 2 Replies Last reply Reply Quote 0
      • M Offline
        MMRIZE @nic0rz
        last edited by

        @nic0rz
        Telegram mobile app will reduce the size of the same image than the desktop app.

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE @nic0rz
          last edited by

          @nic0rz
          To avoid this, the module had to send the image as a file, not an image. But in that case, the preview of the image will not work in the Telegram App. Dillemma. (I’ll consider enabling the selection both ways.)

          N 2 Replies Last reply Reply Quote 0
          • N Offline
            nic0rz @MMRIZE
            last edited by

            @MMRIZE Hello MMRIZE, thank you for the help. You gave me a great idea, and it worked. I changed sendPhoto to sendDocument under case ‘PHOTO_PATH’: in node_helper.js, and now it sends it to me as a file without compression.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nic0rz @MMRIZE
              last edited by

              @MMRIZE I just realized that if the screen is turned off, taking a screenshot only shows the background and not the modules.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @nic0rz
                last edited by MMRIZE

                @nic0rz

                I just realized that if the screen is turned off, taking a screenshot only shows the background and not the modules.

                I think that is out of this module’s business.

                N 1 Reply Last reply Reply Quote 0
                • N nic0rz has marked this topic as solved on
                • N Offline
                  nic0rz @MMRIZE
                  last edited by

                  Alright, the issue was resolved after restarting. Thank you so much for the help!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • 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