Different sleep function
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.
alexyak last edited by
What would be the point in power saving if you don’t turn off the HDMI?
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.141 last edited by
xset dpms force off
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 -lplease 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.
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.
@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?
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.)
@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.
@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.
Desertswing last edited by
I tried that one but can`t find the right install file to put it on…!
I used the V59 version