Read the statement by Michael Teeuw here.
Somertimes no MagicMirror displayed after waiking up Screen by PIR Sensor
-
Hi,
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:
https://github.com/paviro/MMM-PIR-SensorNodeJS Version:
6.14.1MagicMirror Version:
2.3.1Thanks 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?
-
@eckonator https://www.raspberrypi.org/documentation/configuration/screensaver.md
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:
/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.