@Bangee said in MMM-PIR-Sensor - White Screen:
ok so lets go step by step:
cd ~/MagicMirror/modules/
now we will remove the PIR folder:
rm -rf MMM-PIR-Sensor
and from here, we’re going to reinstall the MMM-PIR-Sensor modul:
git clone https://github.com/paviro/MMM-PIR-Sensor.git
cd MMM-PIR-Sensor
run the following cmd here:
npm install
and wait, this can take a few minutes.Now you’ll have to add pi to gpio
sudo useradd -g pi gpio
and reboot your Raspi:
sudo reboot
You’ll have to connect your PIR Sensor the right way with your Raspi.
I’ve connected my PIR Sensor on the following Pins:
I’ve got a Pi2 and use Pin 2 for power, Pin 6 for Ground and Pin 15 for Data.
– correctin grn pinand dont forget to add the config :-)
Attempts to remove and install the module again as the user @Bangee said
Worked with me