@george i just replied to someone else on discord
there are different commands to turn on/off display devices… and they work in different places
tvservice is a pi only command
https://www.raspberrypi.org/documentation/raspbian/applications/tvservice.md
vcgencmd is one to control the hdmi port (turn off, and display MAY show ‘no input’)
https://www.raspberrypi.org/documentation/raspbian/applications/vcgencmd.md
and cec-utils (cec-client) can control the tv on the end of the hdmi cable (for cec compliant devices)
https://pimylifeup.com/raspberrypi-hdmi-cec/
tv service works on pi4 to turn off hdmi port, but not back on.
vcgencmd worked on pi 4, but montior displayed no input, cec-utils worked turned off/on monitor
[11:45 AM]
the PIR module has to use the right commands… I thought NEWPir supported cec-client… but haven’t tried it…
sam — Today at 11:58 AM
New-PIR does support the CEC commands, and vcgencmd and tvservice…
using mode in the module config screen section screen: { } I think
5 modes are available:
mode: 1 - use vgencmd (RPI only)
mode: 2 - use dpms (version RPI)
mode: 3 - use tvservice (RPI only)
mode: 4 - use HDMI CEC
mode: 5 - use dpms (linux version for debian, ubuntu, …)
my advice to the other user was to logon to the pi via ssh and try the commands as documented in the links to figure out which on works and then use the mode in the NEW-Pir module config