Read the statement by Michael Teeuw here.
PIR Sensor + Raspi
-
@McSorley said in PIR Sensor + Raspi:
Keeping in mind for both this code and the module that you have the correct pin number.
How do I know in what pin are the 3 cables connected?
-
@pepemujica www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/
You have 5v, Ground, then GPIO.
-
@McSorley so, the (4) you’ve put in the example before, wich of the 3 cables is?
Sorry, I’m pretty new in this, and I can’t get it easyly -
@McSorley Hi I have tested, and always says motion detected, never ends, even when there is no motion
-
Try again what PtrBld suggested with calibrating the PIR Sensor Tuning by turning the knobs so see if you get different results.
Otherwise, this image show you which pins you have connected. If oyou have it set up the way PtrBld suggested, you change the code to 24.
-
i have the same problem, my magic mirror installation is fine, but when it comes to pir motion sensor installation , i have not able to set it up it correctly, my pir will sense it when there is a movement but my magic mirror has no reaction, it will just stays on.any suggestion…i have rasp pi 3, pir motion sens conn to gpio 18. no error message. …
{ module: 'MMM-PIR-Sensor', config: { sensorPIN: '18', powerSaving: 'true' } },
(my module config)