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.6k 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 Do not disturb
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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