openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[FritzboxTr064] Warning from soap response showing up in the logs, but Binding is working #5749

Open andrekoeln opened 5 years ago

andrekoeln commented 5 years ago

Openhab 2.4 TR064 Binding installed and onine, Items are working fine (except DSL-related items, bit DSL is disable,because the router is using an external modem).

evey 30 seconds the logs show a fault:

==> /var/log/openhab2/openhab.log <==
2019-01-03 11:36:17.574 [WARN ] [itzboxtr064.internal.SoapValueParser] - Fault received from FritzBox for item :0 in SOAP 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>713</errorCode>
<errorDescription>SpecifiedArrayIndexInvalid</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
==> /var/log/openhab2/events.log <==
andrekoeln commented 5 years ago

I just found the item that causes this problem:

Switch  fboxCD0Switch    "Call Deflection ID 0"         (gfritzbox) {fritzboxtr064="callDeflectionSwitch:0"}

I don't have any call deflection configured.

Maybe this could be handled a bit more gracefully by the binding?

9037568 commented 5 years ago

Can you attach a log with the binding in TRACE mode?

andreas-bulling commented 5 years ago

Thanks for the solution - I had the same issue

phrogg commented 5 years ago

I had the problem as well. Thanks @andrekoeln for the solution!