API not working on DX700
sebsto opened this issue · 1 comments
sebsto commented
Hello,
I just acquired a DX700 TV and was trying your vera-control (Thanks !)
The web based remote control is working. API works well for what I tested, except the MUTE command
curl localhost:3000/tv/192.168.0.15/volume/mute
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>Invalid args</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Any idea or quick fix ?
Thanks
PeteWilliams commented
Mute seems to get intercepted by the Set volume command. I got this working by changing it from vieraControl.get to vieraControl.post in apis.js and then using POST requests for it.