Somertimes no MagicMirror displayed after waiking up Screen by PIR Sensor
my MagicMirror2 is running on a Raspberry Pi 3 on Rasbian. MagicMirror2 ist running on latest version.
I use a PIR sensor to wake up the screen for 5min after motion detection. This runs fine, but sometimes the display is not waking up. If i turn on the display manual, i get no MagicMirror displayed. Restarting MagicMirror doesn‘t help. Only restarting my Pi works fine, but after some days the same problem happened again. Can someone help to debug this?
Used PIR Modul:
Thanks for helping
@eckonator I never used the module, but I have the python script running and it’s working like a charm.
Have you disabled your screensaver? The display will turn on and off but the screensaver won’t.
@Mykle1 how can i check if my screensafer is disabled?
Use the second option
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?
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?
Here is my working vcgencmd-Replacment:
Just copy&paste this into this file:
and replace the whole existing code there.
After that the Problem was fixed for me.