Hey guys,
I recently installed a MagicMirror in my workplace workshop, and i needed a way, other then voice control, or mobile app/commands, while it is the active video source of the TV.
So I looked into the HDMI-CEC protocol, and discovered that the Pi is actually capable of intercepting the said protocol.
Going forward from this, I wrote a module that makes the Pi the active device and “posts” this to the TV via CEC, thus making the TV, forward any remote control commands the TV receives to the HMDMI port as well, considering the Pi beeing a playback device.
If anyone is intereseted in controling their MagicMirror via a ordinary TV remote, let me know, and we will try and upload the code to a git repo separatelly.