MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Best PIR Strategy for RPI4?



  • Hi, I am a noob , doing my first mirror project. I plan to have a PIR sensor to wake the mirror up from sleep. There seem to be 3 ways to do this: MMM-PIR Sensor, MMM-newPIR, and what I guess is a shell script? at https://www.putorius.net/using-pir-sensor-for-motion-detection.html. Is there a best approach for RPI4?



  • @cmer3 I would suggest you go with @paviro’s MMM-PIR-Sensor. It worked really good on a RPi 4.



  • @cmer3 said in Best PIR Strategy for RPI4?:

    Hi, I am a noob , doing my first mirror project. I plan to have a PIR sensor to wake the mirror up from sleep. There seem to be 3 ways to do this: MMM-PIR Sensor, MMM-newPIR, and what I guess is a shell script? at https://www.putorius.net/using-pir-sensor-for-motion-detection.html. Is there a best approach for RPI4?

    If it matters any… I used to use MMM-PIR but for the monitor I am currently using …when the monitor “goes to sleep” because of no motion, it would put my monitor to “sleep” …displaying a banner… not waking up… or you will get it to wake up but it shows the input HDMI that it is on (then goes away)…

    With MMM-NEWPIR … it has the ability to put up a “black screen” type of thing… keeping the monitor “awake” but it is black… when motion it goes away and restarts the timer as motion continues…

    That is basically the only reason why I used it… and I have it working on a PI3b+ and a 4 (4g ram).


Log in to reply