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.

    Scheduling a blackscreen?

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 919 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.
    • garblefluxG Offline
      garbleflux Project Sponsor
      last edited by

      Your monitor should handle the cec-signal (Consumer Electronics Control).
      I use very successfull the following crontrab

      Stopp und reboot at 8 am

      59 7 * * 1-5 sudo pm2 stop all >/dev/null 2>&1
      0 8 * * 1-5 sudo reboot now >/dev/null 2>&1

      29 9 * * 0,6 sudo pm2 stop all >/dev/null 2>&1
      30 9 * * 0,6 sudo reboot now >/dev/null 2>&1

      Anschalten des Monitors Wochentags um 8 Uhr

      turn on monitor weekdays at 8 am

      0 8 * * 1-5 echo “on 0” | cec-client -s -d 1 >/dev/null 2>&1

      Anschalten des Monitors am Wochenende um 9.30 Uhr

      #turn on monitor on weekend at 9.30 am
      30 9 * * 0,6 echo “on 0” | cec-client -s -d 1 >/dev/null 2>&1

      Ausschalten des Monitors täglich um 20.30 Uhr

      #turn off monitor daily at 8.30 pm
      30 20 * * * echo ‘standby 0’ | cec-client -s -d 1 >/dev/null 2>&1

      best regards Michael

      1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER
        last edited by

        When u use a RPI… use a relay for power if nothing helps. So you can set the time like described.

        2nd possibility - use a Tasmota device and define rules.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @OberfragGER
          last edited by

          @oberfragger STRONGLY recommended NEVER to power off pi as a solution instead of shutdown cleanly…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            OberfragGER @sdetweil
            last edited by

            @sdetweil I agree. But - I said not turn off the RPI. I said- rurn of the monitor with the help of a relay!

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @OberfragGER
              last edited by

              @oberfragger ah… got it…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • 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