Posts: 170
Joined: Jul 2007
Reputation:
3
The subject seems pretty obvious, is there some way to use kodi to send CEC commands to devices in the system?
I notice there's such a thing as CECToggleState, but I'm not quite sure that actually tells a device to play? Or is that power toggle? Is there some other CEC command to tell a random device connected to my receiver to start playing?
WHY I want to do this: Want to use the (usb+rf) remote plugged into Kodi to control Chromecast play/pause
System: Kodi on NVidia Shield 2015
Video: Panasonic AE3000 Projector / Samsung 46" LCD
Audio: Quad 2912 on Nord DM500Up with Marantz 7010 receiver.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Why involve kodi? Look at libcec for interacting with cec.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 9,033
Joined: Feb 2012
Reputation:
551
If it were possible Google would have implemented HDMI-CEC TV - Chromecast remote control by now.
Posts: 170
Joined: Jul 2007
Reputation:
3
Actually my TV's remote control can play/pause the chromecast..
System: Kodi on NVidia Shield 2015
Video: Panasonic AE3000 Projector / Samsung 46" LCD
Audio: Quad 2912 on Nord DM500Up with Marantz 7010 receiver.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Well kodi can run an arbitrary script on keypress. I guess it is a matter of figuring out the cec command to put in keyboard.xml.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 170
Joined: Jul 2007
Reputation:
3
Yep, my TV's remote control can play/pause the CC..
System: Kodi on NVidia Shield 2015
Video: Panasonic AE3000 Projector / Samsung 46" LCD
Audio: Quad 2912 on Nord DM500Up with Marantz 7010 receiver.