2015-07-29, 14:19
Hi,
I have a bit of a complex problem that (hopefully) someone might be able to help with.
In my living room, I have a Raspberry Pi2 which is connected by HDMI to an amplifier (Yamaha YHT294), which is connected, by HDMI, to my TV (Samsung LE40A656).
What would be ideal is for the Pi to be able to switch off the TV and amp when it goes to screen saver mode.
Unfortunately, my amp does not have CEC control but my TV does. What I was hoping to do is to buy a smart powerstrips that senses when the TV is in standby mode and automatically turns off the amplifier.
I have come across two problems with this:
1. For some reason, I cannot get the Pi to put the TV into standby mode - everything else works (full navigation and buttons) and I can successfully get the Pi to turn off when the TV goes into standby.
2. If the CEC signal passes via the amp (which does not have passive HDMI pass through), then the Pi would be unable to pass the signal to turn on the TV which would turn on the amp.
Is there some really clever way to get round this?
My only thought, so far, is to buy a power strip that is controlled via a USB signal something like this, if I can find a UK equivalent: http://www.amazon.com/EcoStrip-1503E-Ene...B003CFB9KA
Now I know that the Raspberry PI sends power to the USB even when shutdown, so I would need one of these to cut the power to them - http://www.uugear.com/witty-pi-realtime-...pberry-pi/
Hopefully, this would mean that although I would not be able to get the control of turning everything off when the Pi goes into screensaver mode, it would allow me to set the Pi to shut everything down if there has been no activity for (say) 10 minutes - which happens a lot in my house.
Is this my best option are am I massively overcomplicating things?
Thanks - sorry for the long post.
I have a bit of a complex problem that (hopefully) someone might be able to help with.
In my living room, I have a Raspberry Pi2 which is connected by HDMI to an amplifier (Yamaha YHT294), which is connected, by HDMI, to my TV (Samsung LE40A656).
What would be ideal is for the Pi to be able to switch off the TV and amp when it goes to screen saver mode.
Unfortunately, my amp does not have CEC control but my TV does. What I was hoping to do is to buy a smart powerstrips that senses when the TV is in standby mode and automatically turns off the amplifier.
I have come across two problems with this:
1. For some reason, I cannot get the Pi to put the TV into standby mode - everything else works (full navigation and buttons) and I can successfully get the Pi to turn off when the TV goes into standby.
2. If the CEC signal passes via the amp (which does not have passive HDMI pass through), then the Pi would be unable to pass the signal to turn on the TV which would turn on the amp.
Is there some really clever way to get round this?
My only thought, so far, is to buy a power strip that is controlled via a USB signal something like this, if I can find a UK equivalent: http://www.amazon.com/EcoStrip-1503E-Ene...B003CFB9KA
Now I know that the Raspberry PI sends power to the USB even when shutdown, so I would need one of these to cut the power to them - http://www.uugear.com/witty-pi-realtime-...pberry-pi/
Hopefully, this would mean that although I would not be able to get the control of turning everything off when the Pi goes into screensaver mode, it would allow me to set the Pi to shut everything down if there has been no activity for (say) 10 minutes - which happens a lot in my house.
Is this my best option are am I massively overcomplicating things?
Thanks - sorry for the long post.