I currently have my mirror mounted close to my bed, so I’d like to use cronjob to schedule when to turn the screen on and off. However, simple commands such as sudo tvservice -o
and vcgencmd display_power
won’t work because this specific monitor shows a very bright blue screen with “NO SIGNAL” showing when it can no longer read the HDMI signal.
Additionally, using the xset dpms force
options make it go to a white screen instead of a blank black one when they run to turn it “off”. No idea why or how tot fix this. Nightmare, I know.
Ideally, I’d like to use cronjob to schedule the screen to turn black or off at 12AM and turn back on at 7AM. Because of the limitations above, I think a good bet would be to maybe use MMM-ModuleScheduler to have all of the modules turn off at the specified times and then use cronjob to turn off the backlight at the same time. This would effectively cause the monitor to go “blank”, even if it’s technically still running in the background. Of course, to turn them back on, I would just run the reverse of those commands.
If someone could help me out with this (or provide a better solution), I would be very appreciative. Thank you!