Read the statement by Michael Teeuw here.
"No Signal" message when PIR sensor is triggered
-
Are you on Pi 4 perhaps? I also got the same problem with the module mentioned above.
Then I switched to this one and it works https://github.com/bugsounet/MMM-NewPIR -
@steverichab there are two different ways to turn off the hdmi monitor.
vcgencmd display_power 0
turns of the hdmi controller. The monitor will go into standby mode after that.
tvservice -o
is another option. It probably does the same but I’m not sure. MIght work better and send the monitor directly into sleep.
Both commands are bash commands and can be tried from an ssh shell.
if you try out the tvservice command you might need a more complex command to get the mirror GUI back./opt/vc/bin/tvservice -p; sudo /bin/chvt 6; sudo /bin/chvt 7
-
@lavolp3 the real issue here is, can I blank and restore the MagicMirror modules using the PIR module in MM2?
Would either of these two options work from within the PIR module?
I keep trying to find a hide or show all(modules) command that I could trigger from within the PIR module similar to the “powerSaving” command that turns off the HDMI port but unfortunately causes the “no Signal” message to appear.
Thanks Again
-
@uros76 I am using a 3B+ and I have tried the MMM-NewPIR module and it appears to behave the same with my monitor. As soon as I turn off the HDMI port via the PIR module I get “No Signal”
-
@steverichab right, u need to turn off the monitor, not the HDMI signal… some monitors support that. some don’t (none of mine do)…
-
Long time ago I visited this forum, so I don’t know if this will help. but the MMM-ModuleScheduler can hide all modules per notifications. So maybe you can trigger the module with your pir-module.
Or take a look at point 6 in this tutorial
https://forum.magicmirror.builders/topic/6291/howto-turn-on-off-your-monitor-time-based-pir-button-app/2