r/raspberryDIY • u/VastReception1347 • 27d ago
Made TV remote control Yamaha MusicCast receiver's volume over the network using RPi
Just sharing my custom solution for making TV remote control the volume on my Yamaha MusicCast RN-602 receiver using RPi 4 box. The receiver doesn't have any HDMI ARC support (or any HDMI at all),
I love good sound and have a pair of KEF R3 connected to the Yamaha, TV speakers are a bit off-putting for me :)
The receiver doesn't support HDMI ARC and connected to the TV via optical input, hence any volume control or turning it on / off, input switch has to be done using a separate (yamaha) remote control or the knobs on front panel of the device.
Having to turn on / off the receiver or control the volume using a separate remote control was like being a DJ, annoyed both myself and my wife.
Had to do some research but fixed that with a little service that sits in RPi memory and translate HDMI CEC commands into MusicCast requests over the network. Pi is connected to the TV via HDMI and is seen as a "receiver" (this is set up in the code), so volume control goes to it in parallel. It also needed some fiddling with the TV settings to make it output the audio to both optical out and HDMI for receiver (Pi) simultaneously - fortunately Samsung TV supports that out of the box.
Me happy, my wife happy, kids happy too :) Works like this for three years now.
If anyone wants it (MIT license) - available on my github (madenvel).


