Yamaha AVR driver would be great. Running everything through IR right now and have to be careful when we hold the volume up/down too long- after we release sometimes it will continue on for another 5-10 units. 😬
I guess first make sure that you haven't got long-press on your volume keys defined to run a loop of 10 as they were originally in the smart remote sample. Then you could try using the IP control protocol documented here
github.com/nicko88/HTWebRemote/blob/mast...ents/Yamaha_YNCA.pdf
and here
github.com/nicko88/HTWebRemote/blob/mast.../Yamaha_Commands.txt
and see if that's better.
Make sure netcat (nc) is installed on your myServer box then cook up some scripts that contain nc commands such as these:
Code:
allonis@myserver-360:~ $ echo "@SYS:PWR=On" | nc -w 1 -C yamaha-amp 50000
@MAIN:PWR=On
@MAIN:AVAIL=Ready
@MAIN:INP=HDMI2
@MAIN:MUTE=Off
@MAIN:PUREDIRMODE=Off
@MAIN:SOUNDPRG=Surround Decoder
@MAIN:STRAIGHT=Off
@MAIN:VOL=-32.0
@ZONE2:PWR=On
@ZONE2:AVAIL=Ready
@ZONE2:INP=AUDIO1
@ZONE2:MUTE=Off
@ZONE2:VOL=2.5
@SYS:PWR=On
@SYS:DMCCONTROL=Enable
@SYS:HDMIOUT1=On
@MAIN:VOL=-40.0
allonis@myserver-360:~ $ echo "@MAIN:VOL=?" | nc -w 1 -C yamaha-amp 50000
@MAIN:VOL=-40.0
allonis@myserver-360:~ $ echo "@MAIN:VOL=Up 1 dB" | nc -w 1 -C yamaha-amp 50000
@MAIN:VOL=-39.0
allonis@myserver-360:~ $ echo "@MAIN:VOL=Down 1 dB" | nc -w 1 -C yamaha-amp 50000
@MAIN:VOL=-40.0
allonis@myserver-360:~ $ echo "@MAIN:VOL=Down 5 dB" | nc -w 1 -C yamaha-amp 50000
@MAIN:VOL=-45.0
allonis@myserver-360:~ $ echo "@MAIN:VOL=Up" | nc -w 1 -C yamaha-amp 50000
@MAIN:VOL=-44.5
allonis@myserver-360:~ $ echo "@SYS:PWR=Standby" | nc -w 1 -C yamaha-amp 50000
For instance have a "vol-up.sh" script that contains:
Code:
echo "@MAIN:VOL=Up 1 dB" | nc -w 1 -C yamaha-amp 50000
Then have your volume up key run that script on the server.
Note - I haven't tried this so running a script each time might be too slow, or it might not be a good idea for another reason.
You might even be able to do this directly in myServer using the SendTCP command but each message string has to end with 0x0d 0x0a line ending and I don't know if you can specify that.
Andrew