• 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.

Somertimes no MagicMirror displayed after waiking up Screen by PIR Sensor

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 4 Posters 2.7k 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 Apr 3, 2018, 11:44 PM

    @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
    • M Offline
      Mykle1 Project Sponsor Module Developer @eckonator
      last edited by Apr 4, 2018, 12:42 AM

      @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 Apr 4, 2018, 6:04 AM Reply Quote 1
      • E Offline
        eckonator @Mykle1
        last edited by Apr 4, 2018, 6:04 AM

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

        F 1 Reply Last reply Apr 4, 2018, 11:19 AM Reply Quote 0
        • F Offline
          fabbr @eckonator
          last edited by Apr 4, 2018, 11:19 AM

          @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 Apr 4, 2018, 8:53 PM

            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 Sep 23, 2018, 7:44 PM

              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 Sep 23, 2018, 8:04 PM

                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