• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 17.5k 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.
  • M Offline
    MechMatt
    last edited by May 18, 2016, 10:25 PM

    Hey Everyone,

    I was wondering if anyone had any ideas on a good way to have the monitor/tv turn on and off automatically at specific times. I know there is an auto on/off module for the raspberry pi, but I was thinking this for the screen itself.

    My mirror is set up with a non-smart tv that doesn’t have any options for auto on and off. I have a logitech harmony remote that I haven’t had a chance to try yet , but some quick googling makes me think it doesn’t have the auto start functions. Anyone have any (preferably cheap) ideas?

    1 Reply Last reply Reply Quote 0
    • Z Offline
      zombi27
      last edited by May 19, 2016, 6:05 AM

      Hi,

      @paviro just did want you probably want :)

      https://github.com/paviro/MMM-PIR-Sensor

      With this you can either turn of the HDMI signal (maybe your monitor goes to sleep then), or you can cut off the power signal of your monitor with a simple relay.

      Z M M 3 Replies Last reply May 19, 2016, 6:13 AM Reply Quote 1
      • Z Offline
        zombi27 @zombi27
        last edited by May 19, 2016, 6:13 AM

        *just did what you probably want :) (typo)

        @paviro / @MichMich: am i not allowed to edit my reply? there is a 120sec time limit for editing? :/

        P K 2 Replies Last reply May 19, 2016, 1:19 PM Reply Quote 0
        • P Offline
          paviro Admin @zombi27
          last edited by May 19, 2016, 1:19 PM

          @zombi27 Yes might consider changing this to ten minutes or so :)

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mitchfarino Module Developer @zombi27
            last edited by May 19, 2016, 1:55 PM

            @zombi27 @paviro I’m wanting to use the camera/facial recognition to do this - but haven’t even looked at it yet.

            Work/Family life has prevented me recently.

            Slow and steady wins the race :)

            1 Reply Last reply Reply Quote 0
            • M Offline
              MechMatt @zombi27
              last edited by May 19, 2016, 4:42 PM

              @zombi27 oh awesome i will have to check this out

              1 Reply Last reply Reply Quote 0
              • K Offline
                KirAsh4 Moderator @zombi27
                last edited by May 19, 2016, 5:06 PM

                @zombi27, yeah, @paviro wants to make sure that once you post your message, you are 100% committed to it. There will be no going back to change your post, or reply. You don’t get to pass GO and collect twice. :)

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

                P 1 Reply Last reply May 19, 2016, 5:25 PM Reply Quote 0
                • P Offline
                  paviro Admin @KirAsh4
                  last edited by May 19, 2016, 5:25 PM

                  @KirAsh4 @zombi27 changed it to ten minutes :) Should be enough to fix mistakes :D

                  We're all stories in the end. Just make it a good one, eh?

                  – The Doctor

                  1 Reply Last reply Reply Quote 1
                  • S Offline
                    sameershah23
                    last edited by Jul 1, 2016, 7:31 PM

                    I was wondering if there is a way to toggle the power to the TV via HDMI CEC commands (sent by pi) and integrating a PIR sensor?
                    Example setup: The pi is always powered on. I walk into the room, the PIR senses me, and sends a power on signal to my TV via HDMI CEC command, and the mirror modules are displayed.

                    After a set duration, if no activity sensed by PIR sensor, a power off CEC command is sent to the TV by PI.

                    Has this been done before?

                    Any guidance would be much appreciated.

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      KirAsh4 Moderator
                      last edited by Jul 1, 2016, 8:02 PM

                      CEC implementation is far and wide on monitors/tvs. There’s a client for the Raspberry Pi that you would have to install yourself, possibly (re)compile for your specific setup, and see if it is even able to communicate. This part is outside the scope of MagicMirror, like way out there. :)

                      You can start by reading the rpi forum: https://www.raspberrypi.org/forums/viewtopic.php?t=15749

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

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