austin6118
Posts: 1
Joined: Sat Mar 09, 2013 10:44 pm

Turn TV on/off via HDMI CEC commands

Sat Mar 09, 2013 10:47 pm

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?

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Turn TV on/off via HDMI CEC commands

Sun Mar 10, 2013 12:09 am

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
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Turn TV on/off via HDMI CEC commands

Tue Mar 12, 2013 7:13 am

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
Paul Webster
Posts: 801
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: Turn TV on/off via HDMI CEC commands

Tue Mar 12, 2013 7:33 am

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

Return to “Other projects”