Read the statement by Michael Teeuw here.
"No Signal" message when PIR sensor is triggered
-
@steverichab Wow Serg, My head exploded while trying to get the the MMM-Remote-Control module to “hide” just the calendar module when triggered by the MMM-PIRSensor module. Could you show or point me to an example of these two modules getting rid of this “no signal” problem.
Thanks! -
@steverichab said in "No Signal" message when PIR sensor is triggered:
The MMM-PIRSensor is working perfectly. Unfortunately when the sensor times out due to no presents detected I get a blue screen with “No Signal” on my monitor/screen. Here’s my config:
{ module: 'MMM-PIR-Sensor', position: "top_center", // Remove this line to avoid having an visible indicator config: { sensorPin: 22, powerSaving: true, powerSavingDelay: 10, // Turn HDMI OFF after 60 seconds of no motion, until motion is detected again preventHDMITimeout: 1, // Turn HDMI ON and OFF again every 4 minutes when power saving, to avoid LCD/TV timeout supportCEC: true, presenceIndicator: "fa-eye", // Customizing the indicator presenceOffIndicator: "fa-eye", // Customizing the indicator presenceIndicatorColor: "#f51d16", // Customizing the indicator presenceOffIndicatorColor: "#2b271c" // Customizing the indicator } },
I have enabled HDMI CEC on my monitor. I just want it to go dark. any suggestions?
Thanks in advance!!I have the same issue, and I am sure there was a time I got the monitor turned off directly with another module.
I think there are different ways of turning the monitor off, at least for more recent Raspberry Pis and this module might be using the wrong one for us.
I wanted to look into this more, you motivated me again :-). -
@lavolp3 Thanks, I hope you come up with something. As I said the frame is functioning perfectly except for the “no signal” problem. The MMM-Remote-Control module is tempting but I was not able to figure out how to “hide” everything when the PIR sensor triggered.
-
@steverichab Hi, there are other PIR modules that support hiding out of the box like MMM-NewPIR or mine MMM-Screen-Powersave-Notification.
My module needs my GPIO module to get triggered. You ca find a complete example here -
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