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.)
HDMI CEC Menu button to Home
What are you developing?
Jump to
- Announcements
- New users start here
- ↳ Forum rules, FAQs and HowTo's
- ↳ Let us know a bit about you and your projects
- Arduino for STM32
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Cores
- ↳ STM32 Core
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ Ideas & suggestions
- ↳ General discussion
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ LibMaple
- ↳ Builds and Announcements
- ↳ Code snippets
- ↳ General discussion
- ↳ Ideas & suggestions
- ↳ Installation and OS related
- ↳ Libraries & Hardware
- ↳ PR's bugs and enhancements
- ↳ Steve's LibMaple core
- ↳ General discussion
- ↳ PR's bugs and enhancements
- ↳ Projects
- ↳ IDE's
- ↳ Off topic
- Arduino for STM8
- ↳ General discussion
- ↳ Cores
- ↳ STM8 Core
- ↳ Other
- Boards
- ↳ Custom design boards
- ↳ Maple & Maple mini etc
- ↳ STM boards (Discovery, Eval, Nucleo, ...)
- ↳ All other boards
- ↳ STM32F0 based boards
- ↳ STM32F1 based boards
- ↳ STM32F2 based boards
- ↳ STM32F3 based boards
- ↳ STM32F4 based boards
- ↳ STM32F7 based boards
- ↳ STM32G0 based boards
- ↳ STM32G4 based boards
- ↳ STM32H7 based boards
- ↳ STM32L0 based boards
- ↳ STM32L1 based boards
- ↳ STM32L4 based boards
- ↳ STM32L5 based boards
- ↳ STM32MP1 based boards
- ↳ STM32WB based boards
- Bootloaders
- ↳ STM32 HID bootloader
- ↳ USB bootloader
- ↳ STM32 SD-Bootloader
- ↳ STM32 USB CDC bootloader
- Uploaders and debuggers
- ↳ STLink
- ↳ USB to Serial adaptors
- ↳ Black Magic Probe & other
- Dead Thread Graveyard
- ↳ Dead Thread Graveyard