Example for set volume (33) at IP (192.168.0.10):
Code: Select all
POST /upnp/control/RenderingControl1 HTTP/1.1
SOAPACTION: urn:schemas-upnp-org:service:RenderingControl:1#SetVolume
CONNECTION: close
CONTENT-LENGTH: 368
CONTENT-TYPE: text/xml
HOST: http://192.168.1.10:52235
USER-AGENT: Http/1.1
<?xml version='1.0' encoding='utf-8'?>
<s:Envelope s:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'>
<s:Body>
<ns0:SetVolume xmlns:ns0='urn:schemas-upnp-org:service:RenderingControl:1'>
<InstanceID>0</InstanceID>
<DesiredVolume>33</DesiredVolume>
<Channel>Master</Channel>
</ns0:SetVolume>
</s:Body>
</s:Envelope>
I use this in my Remote LAN Control app. Maybe it's possible to make script for work with PRV+ (or myButtons).