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 on/off of the TV (not the Pi)?

    Scheduled Pinned Locked Moved Solved Requests
    17 Posts 12 Posters 18.7k Views 12 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.
    • KirAsh4K Offline
      KirAsh4 Moderator @Rtopher
      last edited by KirAsh4

      @Rtopher said in Auto on/off of the TV (not the Pi)?:

      @KirAsh4
      I had already found the link you referenced and in trying to go through it the instructions falter. I’m following the setup listed towards the bottom of this site but when I get down to sudo git clone https://github.com/Pulse-Eight/libcec.git I’m prompted to login to get hub but then just get “remote: repository not found.” Any ideas or advice?

      What are you logging in as? The 'sudo' command is local to you (your rpi), so that password is your regular user’s password (possibly the 'pi' user, in which case you should not need it as it’s already configured to be allowed to run 'sudo'.) I can run it just fine and it clones that repository as expected.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 1
      • F Offline
        fuet
        last edited by

        I use a simple command in my crontab:
        0 23 * * * vcgencmd display_power 0
        0 6 * * * vcgencmd display_power 1

        This turns the monitor off at 11pm and back on at 6am.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mdissel @fuet
          last edited by

          @fuet said in Auto on/off of the TV (not the Pi)?:

          I use a simple command in my crontab:
          0 23 * * * vcgencmd display_power 0
          0 6 * * * vcgencmd display_power 1

          This turns the monitor off at 11pm and back on at 6am.

          I’ve configured the monitor off with display_power 0, but the next morning my raspberry pi is also shutdown… Any tips?
          (no other scheduled tasks running)

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @mdissel
            last edited by

            @mdissel
            Just power your rpi on?
            If you want to power on your rpi schedully, you should use poweroutlet with timer function or something like smartoutlet.
            If your problem is unintentional RPI’s poweroff, this could be another issue.

            1 Reply Last reply Reply Quote 1
            • K Offline
              kroket
              last edited by

              Yeah my project stopped just because of this same reason…
              Prob is, that I’ve made MM on my rpi 3 and bought sonoff relays for turning on and off my tv, but the prob is, that when I power my tv it doesn’t start. It just gets its power and I need to use my remote for it. Now… if I would have some sort of remote app of some sort with wich I could control my tv, then this could be the answer (maybe some android remote or something)…

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