HDMI CEC Menu button to Home

What are you developing?
Post Reply
arpruss
Posts: 83
Joined: Sat Dec 21, 2019 10:06 pm

HDMI CEC Menu button to Home

Post by arpruss »

We got a Chromecast to use on our Toshiba Fire Edition TV, because the Fire end was getting incredibly laggy after Amazon kept on updating it past the capabilities of our TV. But I didn't want to use an extra remote for the Chromecast. Fortunately, the Chromecast supports HDMI CEC and most of the needed functions worked with our TV remote, except that the TV remote's home button went to the TV's home, not the Chromecast home. The Chromecast doesn't have the ability to remap HDMI CEC keys, and I don't know how to root it, so I ended up going with a hardware solution to the problem. The current solution is to hook a blue pill to the HDMI CEC line, and when the TV sends a Menu button press to the Chromecast (which doesn't do much with it anyway), the blue pill injects a Root Menu or Home button press to the CEC line. The project is powered via the HDMI 5v line. Code: https://github.com/arpruss/CECMenuToHome

A previous iteration of the project translated the CEC buttons to USB keystrokes, but that required an extra USB cable behind the TV, plus the Chromecast had to sit in a dock to allow it to have a USB input. But that version of the project might still be useful to some people. It allows one, for instance, to hook up a laptop to the TV and control some things on the laptop with the TV remote. Here's the code for that version: https://github.com/arpruss/USBCECAdapter/
This project is configurable via the serial console, with further mapping customizable in the code. (Type "help" for a list of commands.)
Post Reply

Return to “Projects”