Read the statement by Michael Teeuw here.
PIR sensor to turn monitor off. Nothing works :(
-
@rafhtl I was able to achieve this but my monitor stays off after a while and doesn’t come back on. Earlier in the thread I was suggested to just put the monitor to sleep but the code I used came back with errors. I needed help with those lines.
-
@elleclouds ok
You need to acces the monitor’s menu
I think I read you dont have a remote?
You need to access the energy saving menu
It musdt be something simple as that -
@rafhtl can’t access it. Stripped down the monitor in my build a while ago
-
wait, the code comes back with errors?
do us a favor.
DISABLE the pir-sensor module for this test.
SSH into the mirror when you’re gonna be away for a couple hours.
type:
vcgencmd display_power 0
- Monitor should shut off.Go do whatever for a while. Come back,
SSH back into the mirror, and type
vcgencmd display_power 1
Monitor should power on.If the monitor doesn’t power back up, there’s a good chance the monitor isn’t good for your use. If it does, then we need to look at how it’s interfacing with the PIR Sensor module.
-
@BKeyport commands that work on pi3, do not work on pi4… many struggling with things that worked, but don’t now
-
@sdetweil True - however these commands do work the same as they did before. (Assuming you’re using the HDMI 0 plug closest to the power supply anyway)