Read the statement by Michael Teeuw here.
PIR sensor to turn monitor off. Nothing works :(
-
@wishmaster270 said in PIR sensor to turn monitor off. Nothing works :(:
@elleclouds Hi, do you see any output of the Gpio module in the log file?
So I got it working with your tutorial. My only issue now is when the monitor doesn’t have a signal it turns completely off and won’t turn back on unless its unplugged and plugged back in. Is there a way to keep the monitor on, just asleep so that the HDMI signal when signaled, activates the screen?
-
Hi,
it depends on your monitor. Maybe there is an option in the monitor configuration menu.
If not you can configure the MMM-Screen-Powersave-Notification module to only hide all modules and show the black background instead of turning the hdmi off (hideInsteadShutoff option) -
@wishmaster270 Since the monitor would stay on… would that have any benefits? I can’t access the menu of the monitor due to taking it apart and not knowing where the button to access the menu is located. Thanks for all the assistance and advice, I appreciate it.
-
@elleclouds Black causes the display to turn off the backlight which saves energy. But it is surely less effective than switching the display to standby mode.
-
@wishmaster270 I’m using this in the config file but its coming back with an error. What am I doing wrong?
{ module: 'MMM-Screen-Powersave-Notification', config: { delay: 60, hideInsteadShutoff:true, } } }
-
@elleclouds said in PIR sensor to turn monitor off. Nothing works :(:
What am I doing wrong?
please use the markup for code or config info
mark the text, and hit the button above the editor </>
-
@sdetweil Did you change it for me, because it looks in the correct format? Any help with the code?
-
@elleclouds yes I changed it… know nothing about the module sorry
-
@sdetweil well, u have 1 more close brace } then u have opens {
{ module: 'MMM-Screen-Powersave-Notification', config: { delay: 60, hideInsteadShutoff:true, } } // ---- what is that guy? }
before u fix it run the config checker
cd ~/magicMirror npm run config:check
so u can learn how to fix them
-
For those unsuccessfully trying to put the monitor to sleep and wake up with PIR, are you running MM on pi4 with Rapsberian?
I never managed to get this combination to work. Instead I did succeed with Lubuntu on pi4.Currently I have working PIR on pi3 with Rapsberian. No issue with this one.
Just the pi4 is so different and worse to configure sleep/wakeup.