sorry … one more question while I still hope that the above issue can be solved
while fiddeling with that Wan Block and other features like MAC Online I also asked myself if there is a way I could “comment” an IP or Mac in the parameter…
Otherwise this is hard to “maintain” for a user…
I mean instead of:
So channels work and I added a Switch Item to that channel.
Unfortunately when I use the switch I see:
13:43:26.303 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'FBOX_WANBlock1' received command ON
13:43:26.306 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'FBOX_WANBlock1' predicted to become ON
13:43:26.309 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'FBOX_WANBlock1' changed from UNDEF to ON
13:43:26.312 [DEBUG] [ing.tr064.internal.soap.SOAPConnector] - Sending ON as 1 to urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1/DisallowWANAccessByIP
13:43:26.325 [WARN ] [ing.tr064.internal.soap.SOAPConnector] - Could not send command ON: HTTP-Response-Code 500 (Internal Server Error), SOAP-Fault: 402 (Invalid Args)
so it says UPNP error… I can retry with allowing UPNP in the FB … however I would not like UPNP standard to be turned on. EDIT: Enabling UPNP in the FB does not help. same error.
Also maybe a “switch item” is wrong? As the “Kindersicherung” can have more states.
I uninstalled the former on the shell and dropped the new one in the addons folder
should it still read a yesterday date?
288 │ Active │ 80 │ 3.1.0.202101021630 │ org.openhab.binding.tr064
if this is the correct one I still see:
14:12:53.433 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'FBOX_WANBlock1' received command ON
14:12:53.444 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'FBOX_WANBlock1' predicted to become ON
14:12:53.450 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'FBOX_WANBlock1' changed from UNDEF to ON
14:12:53.455 [DEBUG] [ing.tr064.internal.soap.SOAPConnector] - Sending ON as 1 to urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1/DisallowWANAccessByIP
14:12:53.460 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:DisallowWANAccessByIP xmlns:u="urn:dslforum-org:service:X_AVM-DE_HostFilter:1"><NewDisallow>1</NewDisallow><NewIPv4Address>192.168.1.84 #IPCamGarten</NewIPv4Address></u:DisallowWANAccessByIP></SOAP-ENV:Body></SOAP-ENV:Envelope>
14:12:53.472 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received 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>
14:12:53.476 [WARN ] [ing.tr064.internal.soap.SOAPConnector] - Could not send command ON: HTTP-Response-Code 500 (Internal Server Error), SOAP-Fault: 402 (Invalid Args)
If there are three options to set, could you find out what to send for these? We could change that to a string channel with the three options as commands.
How to do that: Change the parameter in the FB UI, check what value is reported in the TRACE logging for the status, check next and so on.
For 2. the Profiles are done in another section and allows you to create multiple new profiles like time budgets for access or based on time of day.
I think after looking at it again that only 1. is affected by the new WAN Block feature and has is only boolean.
If a Trace helps you nevertheless I will do that for you of course.