• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 310 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 Dec 12, 2024, 11:57 PM

    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 Dec 13, 2024, 1:56 AM Reply Quote 0
    • M Offline
      MMRIZE @nic0rz
      last edited by Dec 13, 2024, 1:56 AM

      @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 Dec 13, 2024, 11:38 AM

        @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 Dec 14, 2024, 1:26 AM Reply Quote 0
        • N Offline
          nic0rz @MMRIZE
          last edited by Dec 14, 2024, 1:26 AM

          @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 Dec 14, 2024, 1:39 AM

            @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 Dec 15, 2024, 12:12 PM Reply Quote 0
            • M Offline
              MMRIZE @nic0rz
              last edited by MMRIZE Dec 15, 2024, 12:12 PM Dec 15, 2024, 12:12 PM

              @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 Dec 18, 2024, 9:20 AM Reply Quote 0
              • N nic0rz has marked this topic as solved on Dec 18, 2024, 9:18 AM
              • N Offline
                nic0rz @MMRIZE
                last edited by Dec 18, 2024, 9:20 AM

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

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