@mcmalone said in Turning TV on/off via PIR sensor - current problem: TV displays "No Signal" screen:
@mcmalone I don’t know exactly why but the following solution worked for me.
Posting my solution for others in the future and also so that maybe someone in the future can explain to me why this works (and maybe a more efficient solution).
I changed the
monitor_on.shandmonitor_off.shfiles to read, respectively:DISPLAY=:0 xscreensaver-command -deactivateand
DISPLAY=:0 xscreensaver-command -activateBefore I made these changes, I also configured xscreensaver by running
xscreensaver-demoin the terminal, then on my monitor connected to the Pi, a preferences box pops up. I selected “black screen” from the options so that when the screensaver activates through the above files, it will be a black screen (no backlight).
With this procedure you are turning on the screensaver (which is set to black) instead of turning the screen off.
It may serve as a solution wiht regard to the picture, but keep in mind that 1) a black screen is brighter than a screen turned off (except you have an oled screen) 2) you are wasting power.
My screen consumes ~ 20W running, my pi consumes ~ 2W.
I’d rather have the screen turned off in absence of any person.
Still, I had the same problem for some time.
Last time I tried the MMM-NewPIR module it worked for me. That one has a configuration option for the different modes (display_power vs tvservice).
You may have a look into that module.
