Want to turn off my monitor



  • Not sure if this belongs in troubleshooting but didn’t know where to post this so sorry if it’s in the wrong section, but my problem is something I want to achieve so I thought this would be the best place.
    Basically been running my mirror for around 8 months now and really enjoy it but I usually only turn it on when we have visitors just to show it off lol.
    What I would like to achieve is to have it on permantly but maybe have the monitor go to sleep at night so that the monitor isn’t on all the time.
    Is this at all possible or if not what does everyone else do to cut down on electric cost due to the monitor being on all day.
    Thanks in advance



  • Or if I cannot achieve this is there a simple ssh command I could use from my app i use on my phone to set the monitor to sleep and wake as i want.
    Obviously I would prefer the option for me to set on and off times for the monitor but if it’s not achievable this option would have to do.
    Thanks
    Rob


  • Module Developer

    What you want here is a PIR sensor, so the monitor only wakes up when there is someone around. That will help you with the electric cost and, more importantly, won’t stress your display that much. Look for “PIR sensor” here, there is plenty on modules / ways to do it, and the actual sensor is dirty cheap on Amazon. If case that helps you, this is how I did it.



  • Easiest way is to use the MMM-Remote-Control module. With that, u were able to turn off and on the monitor with your phone or every other network device.

    Other options are a PIR-Sensor or a button on your mirror. There are many threads about that. Just give the search function a try ;)



  • Don’t forget, you can also hook up the monitor to a PIR switch directly (check wattage allowed for the PIR switch!) or to a light/power switch or even a combination.

    I didn’t want the monitor to be in standby when I’m not home for a week, so the PIR directly controls power to the monitor to completely switch it off instead of it going to standby. And the PIR is behind a switch, too.



  • Cheers for the replies everyone all is noted :)
    For now think I’ll keep searching the net for a way to have the monitor on during the day and sleep at night.
    I have found one site that shows how to do it but want to make a backup image first incase I break anything lol.
    I do like the idea of a pir. Are they easy to setup if I cannot get on with the way I’m currently looking for.
    Cheers



  • For simple time based screen on & off check https://github.com/ianperrin/MMM-ModuleScheduler



  • Sorry, should say you combine with the remote control module to send screen off notifications.



  • So I’ve been looking through the net and have found I can use vcgencmd display_power 0 to turn off my monitor and the same again to power 1 to turn it back on, it also explains it can be run as a cron job but I’ve never done one of them so not to sure.
    Would it all be possible to hook up a push button switch to the gpio and have them commands somehow turn the display off and on.
    Thanks



  • Don’t forget that the monitor will still be on, it’s just in standby, still consuming power. The Pi can’t switch the power of the monitor itself off.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.