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.

    MagicMirror not in fullscreen after PIR detection

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 196 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.
    • S Offline
      soldatino
      last edited by soldatino

      Hi all,

      I’m running MagicMirror on a Raspberry Pi 4. Display Samsung Smart Signage Display DB22D-T LED.

      I don’t start MagicMirror via PM2. It is started via webhook on my cell phone. This script executes the 2 commands:
      cd ~/MagicMirror && export ELECTRON_DISABLE_GPU=1
      cd ~/MagicMirror && DISPLAY=:0 npm start

      A PIR service is also running.
      If movement is detected, then sending the “on” command over HDMI-CEC:
      echo ‘on 0’ | cec-client -s -d 1

      After a certain time without movement, then sending the “standby” command over HDMI-CEC:
      echo ‘standby 0’ | cec-client -s -d 1

      If movement is detected again after that, the screen turns on, but MagicMirror runs in a window, i.e. not full screen, see image below.

      What am I doing wrong?

      IMG_1597.PNG

      bugsounetB 1 Reply Last reply Reply Quote 0
      • bugsounetB Offline
        bugsounet Banned @soldatino
        last edited by

        Hi, try to enable auto hide task bar option

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          soldatino @bugsounet
          last edited by soldatino

          Hi @bugsounet
          Thank you for the tip.
          I had to do a bit of research first because the taskbar can no longer be hidden so easily in Bookworm.

          After that I only had a blue line on the side because of the background image, but I replaced this with a black one and now everything works perfectly.

          8f6d0d86-f60a-4c56-a208-77989790024f-image.png

          you are A magician ;-)

          1 Reply Last reply Reply Quote 0
          • S soldatino has marked this topic as solved on
          • 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