Read the statement by Michael Teeuw here.
MMM-PIR-Sensor (black screen)
-
{ 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", } },