MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Auto Sleep Turn on/off Active Hours

  • Hello, I want to start a project regarding the magic mirror and i was wondering if someone can implement the active hours idea .

    For example, the monitor / TV output should be off / sleep between 20:00 (8PM) to let’s say 6:30 (AM).

    From a quick view, i found a PIR module or an network sensing sleep module, but a simple one wasn’t implemented yet

    Thank you,

  • Hello

    I found somthing like this.
    I dont know if this is working
    I want to test this in some Days:

    Automatic switch off of the monitor

    So that the monitor does not run through at night and on weekends, we switch off the HDMI port time-controlled (the power consumption of the Rasperry is negligible in our view).

    With sudo crontab -e we create cron jobs. Scroll to the end of the file and add:

    10 17 * * 1-5 vcgencmd display_power 0

    0 7 * * 1-5 vcgencmd display_power 1

    The first line switches off the HDMI port on weekdays Mon-Fri (1-5) at 5 p.m. and 10 minutes. The second line turns it on again at 7:00 a.m.

  • @radioman cool. none of my monitor/tv devices support that capability.