It would appear that to get a proper status back from the Amp I need
to send a GET after the PUT.
So the workflow is:
send:
POST /YamahaRemoteControl/ctrl HTTP/1.1\x0D\x0A\x0D\x0A<YAMAHA_AV
cmd="PUT"><Main_Zone><Power_Control><Power>Standby</Power></
Power_Control></Main_Zone></YAMAHA_AV>
rcv:
HTTP/1.1 200 OK\x0D\x0A
<YAMAHA_AV rsp="PUT" RC="0"><Main_Zone><Power_Control><Power></Power></
Power_Control></Main_Zone></YAMAHA_AV>
then to get the actual status of the main zone power I need to send:
HTTP/1.1\x0D\x0A\x0D\x0A<YAMAHA_AV
cmd="GET"><Main_Zone><Power_Control><Power>GetParam</Power></
Power_Control></Main_Zone></YAMAHA_AV>
to which the Amp would respond with:
HTTP/1.1\x0D\x0A\x0D\x0A<YAMAHA_AV rsp="GET"
RC="0"><Main_Zone><Power_Control><Power>Standby</Power></
Power_Control><Main_Zone></YAMAHA_AV>
So I set the Command Value for the power off button to:
POST /YamahaRemoteControl/ctrl HTTP/1.1\x0D\x0A\x0D\x0A<YAMAHA_AV
cmd="PUT"><Main_Zone><Power_Control><Power>Standby</Power></
Power_Control></Main_Zone></YAMAHA_AV>POST /YamahaRemoteControl/ctrl
HTTP/1.1\x0D\x0A\x0D\x0A<YAMAHA_AV
cmd="GET"><Main_Zone><Power_Control><Power>GetParam</Power></
Power_Control></Main_Zone></YAMAHA_AV>
Which I was hoping would set the value and request the status. It
does seem to set the value but not provide the response which I could
then use to change the state of the power button.
Any help would be most appreciated.
Kind regards
On Jun 4, 12:54 pm, Marc-Etienne HUNEAU <mehun...@gmail.com> wrote:
> In fact, the Crestron module (from the website) has issues. One can
> understand why !
>
> --
> Marc-Etienne Huneau
> Dark Side of the Room -www.dsr.fr
> 06.615.516.90
>
> Le 2 juin 2010 à 10:08, Jarrod Bell <jar...@guilink.com> a écrit :
>
>
>
> > Wow what a terrible protocol to implement...
> > Good luck to anyone doing this. It's very possible, but will not be a
> > walk in the park!
>
> > Jarrod
>
> > On Jun 2, 5:37 pm, Fiasco <dgvoll...@gmail.com> wrote:
> >>http://webpix.ca/files/RX-V3900_Z7_ETHERNET_IF_Spec_e_1.0.xls
>
> >> What an awful protocol. Soooo glad I purchased an onkyo before
> >> getting into automation.
>
> > --
> > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> > To post to this group, send email to commandfusion@googlegroups.com.
> > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: Controlling Yamaha RX-V3900 (Noob question)"
Post a Comment