Page 1 of 1

Turn TV on/off via HDMI CEC commands

Posted: Sat Mar 09, 2013 10:47 pm
by austin6118
My master plan is to be able to send CEC commands from my raspberry pi to do things such as turn on/off the tv as well as other devices connected to the TV. Then I will be adding voice recognition to send these commands...that's for another day. I have read up on CEC but from what I've gathered it seems like you can't send CEC commands directly through the command line without the CEC usb adapter? I have installed the cec-client and libCEC library on my pi but when I run cec-client -l it shows no devices.

My question is, how can I send CEC commands via the command line to my tv from the pi without the adapter? Am I missing some basic element about CEC?

Re: Turn TV on/off via HDMI CEC commands

Posted: Sun Mar 10, 2013 12:09 am
by Spid
Even though the Pi is supposedly HDMI 1.3 ! has CEC been fully implemented in the hardware nad if it has is it universally compatable with all TV's ?

http://en.wikipedia.org/wiki/HDMI#CEC

http://www.raspberrypi.org/phpBB3/searc ... ywords=cec

Re: Turn TV on/off via HDMI CEC commands

Posted: Tue Mar 12, 2013 7:13 am
by Spid

Re: Turn TV on/off via HDMI CEC commands

Posted: Tue Mar 12, 2013 7:33 am
by Paul Webster
See this old thread where this has been discussed and implemented - note it is quite old so take care with versions.

http://www.raspberrypi.org/phpBB3/viewt ... 35&t=15749