Read the statement by Michael Teeuw here.
MMM-PIR-Sensor (black screen)
-
Hello,
I have a problem with (I think) the PIR-Sensor module. It works fine, when the mirror wakes after 10-15 min up. But when the pause is longer (a few hours) I have a black screen with the cursor on it. I can’t see any modules and need to restart the Mirror. Do someone know how to fix it? -
@Stabber what is in your config.js for the module?
-
{ module: 'MMM-PIR-Sensor', config: { sensorPIN: 4, powerSavingDelay: 25, } }, -
Hi,
I’ve a similar Problem with MMM-PIR-Sensor. However, my MagicMirror already starts with a black screen as soon as I insert the module. The config is almost identical. -
Hey,
I’ve had the same problem and I solved it with Crontab and Python. The Module from paviro made some trouble with my mirror.
-
@conkhidot Hi, do you maybe have some links or could give instructions how to do it? I would be grateful.
-
was this solved?
i just installed everything from this tutorial: https://howchoo.com/g/ntcymzbimjv/how-to-install-magic-mirror-on-your-raspberry-pi
everything works EXCEPT this pir module. once i remove the module, off course everything is back to “normal”but if i add the module back in with
{ module: 'MMM-PIR-Sensor', config: { sensorPIN: 4, powerSavingDelay: 25, } },i get nothing but a mouse cursor and a totally black screen. it doesnt turn off or on via the PIR either.
never mind…
i got it now. i reinstalled everything again.
cd ~/MagicMirror/modules
git clone https://github.com/paviro/MMM-PIR-Sensor.git
cd MMM-PIR-Sensor
npm installsudo usermod -a -G gpio pi
sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt
to allow turning on/off the hdmi output.sudo reboot
sudo nano ~/MagicMirror/config/config.js
{ module: 'MMM-PIR-Sensor', config: { sensorPIN: "4", powerSavingDelay: "25", } },
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login