[FritzboxTr064] fboxCD0Switch not writable
Expected Behavior
Call Deflection can be set from OH via rule or karaf.
Current Behavior
Setting Call Deflection from within the fritzboxUI works and updates the OH2 Item.
Setting the item from OH karaf does not work.
Log:
01:24:00.279 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'fboxCD0Switch' received command ON
01:24:00.351 [DEBUG] [ding.fritzboxtr064.internal.Tr064Comm] - SOAP Msg to send to FritzBox for setting data: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:SetDeflectionEnable xmlns:u="urn:dslforum-org:service:X_AVM-DE_OnTel:1"><NewEnable>1</NewEnable><NewDeflectionId>0</NewDeflectionId></u:SetDeflectionEnable></SOAP-ENV:Body></SOAP-ENV:Envelope>
01:24:00.374 [INFO ] [smarthome.event.ItemStateChangedEvent] - fboxCD0Switch changed from OFF to ON
01:24:00.499 [DEBUG] [ding.fritzboxtr064.internal.Tr064Comm] - Releasing connection
01:24:00.524 [DEBUG] [ding.fritzboxtr064.internal.Tr064Comm] - SOAP response from FritzBox: <?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>
01:24:00.571 [ERROR] [ding.fritzboxtr064.internal.Tr064Comm] - Error received from FritzBox while trying to set parameter
01:24:00.611 [DEBUG] [ding.fritzboxtr064.internal.Tr064Comm] - Soap Response was: <?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>
Steps to Reproduce (for bugs)
Create item
Switch fboxCD0Switch "Call Deflection ID 0" {fritzboxtr064="callDeflectionSwitch:0"}
Start karaf console and execute
smarthome:send fboxCD0Switch ON
Context
TR064 is enabled confirmation via dialing extra codes on phone for certain changes is turned of in fritzUI
Your Environment
2.4.0 Fritzbox 7490
Seems similar to #5749.
Are you sure? I was able to get rid of the error message in the log by removing the following Item as my FB is directly connected to the ISP
String fboxWanIPExternal "FBox external WAN IP [%s]" {fritzboxtr064="externalWanip"}
Still setting call deflection is not working form OH. Setting it in the FB UE works and updates the OH item
The switch item for deflection I have ...
Switch fboxCD0Switch "Call Deflection ID 0" {fritzboxtr064="callDeflectionSwitch:0"}
Call Deflection is created in fritzbox UE and existing.
I have the same Problem. I can't set the fboxCD0Switch with openhab. I get the following error message:
[ERROR] [ing.fritzboxtr064.internal.Tr064Comm] - Error received from FritzBox while trying to set parameter
FB 7490 with 7.01
Is there a solution for this issue yet? I would like to use this feature in my openhab-installation.
With the new FritzOs 7.11 the problem is solved. Now you can change the switch object.