← Back to context

Comment by star-glider

2 months ago

heh I really enjoyed reading this because I went on a RPI-fueld CEC deep-dive about a year ago when we put a gym in our house. I wanted a simple media center control for the TV/Receiver we had in there. An RPI sits at the center of the thing, and by reading the CEC bus I can respond to various remote commands to launch the media center, bring up security camera feeds, switch the receiver to Bluetooth, start Spotify Connect, etc.

It works well, but CEC most definitely is the buggiest part of the setup. It's a reasonably elegant system, but it's just not implemented very well by most electronics. I ended up putting in a lot of retries: stuff like "send active source command; wait five seconds and send it again." Still, if you're willing to dive into the weeds, you can do some nifty stuff.