MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. arbeyukay
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by arbeyukay

    • A

      How do you switch on / off, wake up yours?
      Hardware • • arbeyukay

      15
      0
      Votes
      15
      Posts
      14184
      Views

      fox

      @shockwave said in How do you switch on / off, wake up yours?:

      I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.

      crontab -e

      00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1 0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2

      monitor-off.sh

      #!/bin/bash vcgencmd display_power 0 # export DISPLAY=:0.0 # xset dpms force off

      monitor-on.sh

      #!/bin/bash vcgencmd display_power 1 # export DISPLAY=:0 # xset dpms force on # xset s reset

      Great !
      I will give it a try

    • A

      Lesson plan for 2 daughters
      Troubleshooting • • arbeyukay

      5
      0
      Votes
      5
      Posts
      2105
      Views

      A

      Ahh, thanks. I’d search, but didn’t come across that. I’ll give it a try!

    • 1 / 1