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.

    Somertimes no MagicMirror displayed after waiking up Screen by PIR Sensor

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 4 Posters 2.8k Views 4 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.
    • F Offline
      fabbr @eckonator
      last edited by

      @eckonator I never used the module, but I have the python script running and it’s working like a charm.

      https://forum.magicmirror.builders/topic/6291/howto-turn-on-off-your-monitor-time-based-pir-button-app

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @eckonator
        last edited by

        @eckonator

        Have you disabled your screensaver? The display will turn on and off but the screensaver won’t.

        Create a working config
        How to add modules

        E 1 Reply Last reply Reply Quote 1
        • E Offline
          eckonator @Mykle1
          last edited by

          @Mykle1 how can i check if my screensafer is disabled?

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fabbr @eckonator
            last edited by

            @eckonator https://www.raspberrypi.org/documentation/configuration/screensaver.md

            Use the second option

            1 Reply Last reply Reply Quote 0
            • E Offline
              eckonator
              last edited by

              I installed xscreensaver but to Problem exists again. I found out that it must be a problem from lightdm.

              After my screen was black again i tried to connect by vnc but the port was not reachable.

              So i did this:

              sudo service lightdm restart

              And after that vnc was working again and my mirror was displayed on my display.

              Now i have to find out why lightdm stops working after some time. Any idea howto debug?

              1 Reply Last reply Reply Quote 0
              • M Offline
                mmille40
                last edited by

                I’m running into the exact same issue “eckonator”. I tried the ‘sudo service lightdm restart’ but it still wakes to a black screen after a few hours. Have you had success or did you have to try something different?

                1 Reply Last reply Reply Quote 0
                • E Offline
                  eckonator
                  last edited by

                  Here is my working vcgencmd-Replacment:

                  https://pastebin.com/5n8zqL5a

                  Just copy&paste this into this file:
                  /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js
                  and replace the whole existing code there.

                  After that the Problem was fixed for me.

                  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