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.

    The problem of displaying the flow from the MMM-RTSPStream module after turning on the screen by the motion sensor.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 2.2k 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.
    • L Offline
      Laz @BKeyport
      last edited by

      @BKeyport When starting the program after rebooting the raspberry, the window falls into its position…

      1 Reply Last reply Reply Quote 0
      • L Offline
        Laz @BKeyport
        last edited by

        @BKeyport And what is strange is that after turning on the screen on the motion sensor, the flow window always ends up in the same place. Unfortunately, not in the right place.

        BKeyportB 1 Reply Last reply Reply Quote 0
        • BKeyportB Online
          BKeyport Module Developer @Laz
          last edited by

          @Laz basically, VLC is called through another program. This program sets VLC’s window position on launch. If VLC moves the window for any reason after that, the program can’t monitor it and move it back.

          There is one thing I just thought about - if your pi itself is resetting the resolution while blanked (which is possible), then that would force VLC to move the window (and possibly make it full screen).

          To get around this, run sudo raspi-config from a command line/terminal, and select “Display Options” then “VNC Resolution” - and set that at the same resolution you use when the monitor is on.

          This might allow VLC to leave the window alone so when the screen comes back, you’ll still have it’s window in place.

          If it don’t, you’ll either have to restart the mirror after turning the screen back on (PM2 restart MagicMirror) or stop using RTSPStream…

          The "E" in "Javascript" stands for "Easy"

          L 2 Replies Last reply Reply Quote 0
          • L Offline
            Laz @BKeyport
            last edited by

            @BKeyport have followed your advice. Doesn’t help.
            After turning on the screen from the motion sensor, the stream window always moves to one place, but not to the frame. And the window resolution is always the same.
            The window simply does not remember its position.
            Overloading raspberries when the screen turns on is too long.
            You can try overloading the MagicMirror program, but I don’t know how to do it.
            If this helps, then restarting the MM must be added to the PIR sensor script…

            1 Reply Last reply Reply Quote 0
            • L Offline
              Laz @BKeyport
              last edited by

              @BKeyport I see such a picture through VNC on raspberries when the motion sensor is triggered.

              But the RTSP window of the stream moves out of the frame after turning on the screen on the motion sensor and on the monitor, which is connected to the raspberry via HDMI. It turns out that this is a VLC player problem…?Pir_off.png

              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Online
                BKeyport Module Developer @Laz
                last edited by

                @Laz That clearly looks like the Pi is resizing the window and bumping VLC out of position.

                If setting the proper resolution through Raspi-config isn’t helping that, then I’m afraid you’re stuck. :(

                The "E" in "Javascript" stands for "Easy"

                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