There isn't a dedicated driver for this amp yet but I've discovered that you can turn on a web based remote control system for it where the amp acts as a web server and generates a user interface. The browser then sends commands to the amp as http POST requests. So I've started snooping and so far can turn it on and off from myServer by running myServer commands like:
Code:
PostURL|http://192.168.1.182/YamahaRemoteControl/ctrl~<YAMAHA_AV cmd="PUT">...
<Main_Zone><Power_Control><Power>On</Power></Power_Control></Main_Zone></YAMAHA_AV>
to turn it on.
You can also get info from the amp by POSTing something like:
Code:
<YAMAHA_AV cmd="GET"><Main_Zone><Volume><Lvl>GetParam</Lvl></Volume></Main_Zone></YAMAHA_AV>
and it will return the current volume level in dB:
Code:
<YAMAHA_AV rsp="GET" RC="0">
<Main_Zone>
<Volume>
<Lvl>
<Val>-250</Val>
<Exp>1</Exp>
<Unit>dB</Unit>
</Lvl>
</Volume>
</Main_Zone>
</YAMAHA_AV>
Is there any way of parsing the returned data, pulling out the current volume ("-250") and sticking it into a myServer variable?
Andrew