KEBA Binding Restart after connection-error

Got a solution by using rules:

rule “Refresh_Connection”
when
Thing “keba:kecontact:095e5da8” changed or System started
then
var Tstatus = getThingStatusInfo(“keba:kecontact:095e5da8”).getStatus()
if (Tstatus.toString == “OFFLINE”)
createTimer(now.plusSeconds(10), [ |
sendHttpPutRequest(“http://192.168.1.36:8080/rest/things/keba:kecontact:095e5da8/enable”, “application/json”, ‘false’)])
createTimer(now.plusSeconds(30), [ |
sendHttpPutRequest(“http://192.168.1.36:8080/rest/things/keba:kecontact:095e5da8/enable”, “application/json”, ‘true’)])

end

Thanks to all helpers