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.8k 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

      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.

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @tjop
        last edited by

        @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
        • yawnsY Offline
          yawns Moderator
          last edited by

          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 Reply Quote 0
          • M Offline
            McSorley
            last edited by

            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

              @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?

              yawnsY 1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                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
                • yawnsY Offline
                  yawns Moderator @tjop
                  last edited by

                  @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 Reply Quote 0
                  • D Offline
                    Desertswing @yawns
                    last edited by

                    @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