MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Auto Sleep Turn on/off Active Hours

    Scheduled Pinned Locked Moved Requests
    taskshourlysleepturn offmonitor offtv offoutput offactive hours
    3 Posts 3 Posters 1.4k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      alexgoaga
      last edited by

      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,
      Alex

      1 Reply Last reply Reply Quote 0
      • R Offline
        radioman
        last edited by

        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.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @radioman
          last edited by

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy