gitbock / fritzboxtr064

Binding for openHAB for communicating with AVM FritzBox
16 stars 12 forks source link

Querying wanip creating error (OH1) #27

Open M-ax-G opened 7 years ago

M-ax-G commented 7 years ago

Using org.openhab.binding.fritzboxtr064-1.9.0-SNAPSHOT.jar with OH1 on 7490 with v6.3 will create an error when querying wanip, like so:

2017-02-25 00:02:22.580 [ERROR] [o.o.b.f.i.FritzboxTr064Binding] - FritzBox returned unexpected response. Could not find expected datavalue NewExternalIPAddress in response <?xml version="1.0"?><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:dslforum-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>Invalid Args</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

... with sitemap: Text item=fboxWanIP

and item: String fboxWanIP "FBox WAN IP [%s]" {fritzboxtr064="wanip"}

More info here: https://community.openhab.org/t/fritzbox-tr064-wan-ip/19634