Read the statement by Michael Teeuw here.
MMM-PIR
-
Having had issues with Pi5 I went back to Pi4b. MMM-PIR works great with pi 4, blanking the screen after timer expires and resetting once presence is detected.
The only issue I have is when the screen is blanked, the monitor backlight remains on, visible at nightnas a glow, the monitor remains powered up, I would have expected it to go into standby? -
@eyesallin blanking means hide modules. HDMI and screen still active
need CEC commands to potentially get standby mode, if you monitor supports that. I have one TV that supports CEC commands, but does not support standby, only off or on
I use blanking extensively cause none of my monitors will turn off/on
-
@sdetweil
Many thanks, when I shut down the Pi, I get a No Hdmi message on screen and then the monitor goes into standby.
Is there a way that MMM-PIR can turn off the Hdmi feed?
Apologies but I’m not a programmer, just a hobbyist, you mention CEC commands, how would I implement this? -
@eyesallin One the the modes will turn off the HDMI port. one of the modes uses CEC commands
see this MMM-Pir
https://github.com/bugsounet/MMM-Pir -
Thank you, I’ve checked and it is mode 4 for HDMI CEC, I have checked my monitor and HDMI CEC function is turned on, so it should work. After time out the monitor blanks but it is still powered on so I’m guessing so is the backlight, but Ill wait till dark to find out.
Can I just say thanks again for your support with this. -
@eyesallin can u execute the cec-client commands from the commandline to verify they work as you expect?
see https://pimylifeup.com/raspberrypi-hdmi-cec/
then u may be able to adjust the commands the module is using…
none of my displays support standby
-
@sdetweil
So to ask but where are the commands located? -
@eyesallin in the node_helper.js
browsers cannot access the system directly.
the node_helper is the mm solution for that