Read the statement by Michael Teeuw here.
PIR Sensor won't wake up
-
@sceetch google to answer those questions
-
I just added a PIR sensor, and I have put jumper on “L” and the two potmeteres on low (clockwise) . This works fine.
Here you have som more information on the PIR sensor.
https://lastminuteengineers.com/pir-sensor-arduino-tutorial/
I use this module:
https://github.com/bugsounet/MMM-NewPIR
In the config, I have chaged delay from delay: 2 * 60 * 1000 // 2min to delay: 10 * 60 * 1000 //10min -
I’m having a similar issue using Mmm-PIR-Sensor
Using a pi 3b+ and it turns the screen off but not back on again…
-
Having tested the commands it looks like
sudo tvservice -p doesn’t work with my monitor. (-o works though which is strange?)Vcgencmd works perfectly though…
Could this be a reason why it’s not working?
-
@jste84 yes change the command the module uses
-
@sdetweil is it this line
sudo chmod u+s /opt/VC/bin/tvservice && sudo chmod u+s bin/chvt
That I need to change? Would I just change TV service to vcgencmd
-
@jste84 maybe. dont know. you could try
-
@jste84
i guess i have the same issue.
you can try easily with this modulehttps://github.com/bugsounet/MMM-NewPIR
you can change inside the module the mode
mode: 1 - use vgencmd
mode: 3 - use tvservicein my case it works. But i think i have an adjustment problem.
The screen turns off and also the sensor can wake up the screen again.
But if there is no movement, the screen turn on randomly. Currently i have no solution. I guess there is some wrong settings on sensors Potentiometer. -
@sceetch I came to a conclusion to not use any modules which do not show any info on the screen. So, in this case, I use a python script at boot which monitors a PIR and executes an HDMI on/off cmd ;)