gitbock / fritzboxtr064

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

issue with FB connected via LAN #25

Open michaelHH1 opened 7 years ago

michaelHH1 commented 7 years ago

It seems, if the FB is not directly connected to DSL but via an external modem (Kabel Deutschland, "vorhandener Zugang über LAN"/"existing access via LAN"), the communication flow to the FB gets interrupted. Flow: DeviceInfo - ok WLANConfiguration:2 - ok WLANConfiguration:3 - ok WANPPPConnection:1 - failed And then no further communication happens. So I'm missing all the remaining data like all from callmonitor_ringing, tam, etc.

Here is the trace-log: `2017-01-24 00:21:32.106 [TRACE] [ing.fritzboxtr064.internal.Tr064Comm] - Raw SOAP Response from FritzBox: <?xml version="1.0"?>

1 Up Auto 12 xxxxxxx WPAand11i 0 n xxxxxxx None None 32 1 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !"#$%&'()*+,-./:;<=>?@[\]^_{|}~ 64 64 0123456789ABCDEFabcdef

</u:GetInfoResponse> </s:Body> </s:Envelope> 2017-01-24 00:21:32.108 [TRACE] [ing.fritzboxtr064.internal.Tr064Comm] - Raw SOAP Request to be sent to FritzBox: </SOAP-ENV:Body></SOAP-ENV:Envelope> 2017-01-24 00:21:32.335 [DEBUG] [ing.fritzboxtr064.internal.Tr064Comm] - Releasing connection 2017-01-24 00:21:32.335 [TRACE] [ing.fritzboxtr064.internal.Tr064Comm] - Raw SOAP Response from FritzBox: <?xml version="1.0"?>

s:Client UPnPError 402 Invalid Args

</s:Fault> </s:Body> </s:Envelope> 2017-01-24 00:21:32.336 [ERROR] [ing.fritzboxtr064.internal.Tr064Comm] - FritzBox returned unexpected response. Could not find expected datavalue NewExternalIPAddress in response. 2017-01-24 00:21:32.336 [DEBUG] [ing.fritzboxtr064.internal.Tr064Comm] - <?xml version="1.0"?>

s:Client UPnPError 402 Invalid Args

</s:Fault> </s:Body> </s:Envelope> ` BTW: I'm using it with OH2.

Would be great to get it running.

BR Michael