• 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.

Different sleep function

Scheduled Pinned Locked Moved Requests
10 Posts 7 Posters 6.4k Views 9 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.
  • T Offline
    tjop
    last edited by Sep 26, 2016, 11:16 PM

    Since I used a TV monitor to make my magic mirror when the motion detection module turns off the HDMI port it makes the tv have that blue screen, no signal screen. I’m trying to figure out a way to allow the raspberry pi to go to the blank screen after a set amount of time but then wake up from motion by a raspberry pi camera. Is there a way to do this? Any help is greatly appreciated.

    1 Reply Last reply Reply Quote 0
    • A Offline
      alexyak
      last edited by Sep 26, 2016, 11:41 PM

      What would be the point in power saving if you don’t turn off the HDMI?

      1 Reply Last reply Reply Quote 0
      • T Offline
        tjop
        last edited by Sep 27, 2016, 12:19 AM

        I guess it is less about saving power and more about not having a giant blue screen on until someone walks in front of the camera to reactivate the HDMI port. So the way it works now is that when the HDMI port goes to sleep it makes the TV behind the mirror switch to a blue screen with the words signal lost. So I basically can’t use that functionality. So I figured if I can figure out a way to get the screen blanking to occur instead of turning off the HDMI, that might be more managable to leave the mirror on constantly. Or if the pi can have a screensaver option that turns off by motion detection.

        S 1 Reply Last reply Sep 27, 2016, 12:31 AM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @tjop
          last edited by Sep 27, 2016, 12:31 AM

          @tjop run xset dpms force off

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yawns Moderator
            last edited by Sep 27, 2016, 8:29 AM

            I am in the same situation. I have a Blaupunkt 32" tv. I was able to deactivate the blue screen in the tv settings but after running tvservice -o the screen shows “No Signal”.
            I installed libcec (https://github.com/Pulse-Eight/libcec) and use these commands:

            Check if libcec is working:
            cec-client -l please note this is a small L

            power on the tv:
            echo "on 0" | sudo cec-client -s -d 1

            power off the tv:
            echo "standby 0" | sudo cec-client -s -d 1

            check tv status:
            echo "pow 0" | sudo cec-client -s -d 1

            Downside of this approach is the longer delay the tv needs to power on and show a picture. And I don’t know how long the tv will last until it is broken after continous on and off cycles.

            Maybe you need to find a tv panel controller (on ebay, alibaba) suitable for your tv panel without annyoing onscreen displays.

            T 1 Reply Last reply Sep 27, 2016, 12:34 PM Reply Quote 0
            • M Offline
              McSorley
              last edited by Sep 27, 2016, 9:26 AM

              The setup I have is for the monitor to go to sleep if no signal is found.
              I believe you should be able to find the same kind of settings on your TV.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tjop @yawns
                last edited by Sep 27, 2016, 12:34 PM

                @yawns What settings was that under? I was looking and wasn’t able to find something like that. I have a 40" Haier TV. So that proposed code basically turns on and off the TV? I could find a new tv panel to replace my current one that won’t have the annoying blue screen with the no signal message? I apologize for my ignorance on this subject. Is there a good way to find a new tv panel controller or what I should look for in general?

                Y 1 Reply Last reply Sep 28, 2016, 8:21 AM Reply Quote 0
                • K Offline
                  KirAsh4 Moderator
                  last edited by Sep 27, 2016, 4:12 PM

                  Keep in mind that not all TVs or computer monitors support CEC. Try at your own risk (or do some research to see if yours does.)

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

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    yawns Moderator @tjop
                    last edited by Sep 28, 2016, 8:21 AM

                    @tjop said in Different sleep function:

                    @yawns So that proposed code basically turns on and off the TV?

                    Correct. This feature is commonly used in other HDMI connected devices like Bluray players, gaming consoles and such. Most of the time it is used to keep things simple. You turn on your playstation and it automatically activates the connected tv and switches to the right input channel. Before installing the libcec stuff make sure your tv supports such features.

                    @tjop said in Different sleep function:

                    @yawns I could find a new tv panel to replace my current one that won’t have the annoying blue screen with the no signal message? I apologize for my ignorance on this subject. Is there a good way to find a new tv panel controller or what I should look for in general?

                    Right. If turning off and on does not work or is too slow you could look for another TV Panel Controller like here: http://www.ebay.com/bhp/lcd-controller-board-tv
                    I did not play around with these and you need to find one which works with your large screen and the display you are using but it could be worth a try.

                    D 1 Reply Last reply Jun 22, 2017, 11:30 AM Reply Quote 0
                    • D Offline
                      Desertswing @yawns
                      last edited by Jun 22, 2017, 11:30 AM

                      @yawns
                      I tried that one but can`t find the right install file to put it on…!
                      I used the V59 version

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