Reconnect AVM Bridge after Fritz Box reset

Hello,

I have a problem with collecting some measurement values from fritz box after fritz box reset. Here my investigation:

first some words to my configuration:
I’m using a AVM Fritz Box as a DSL Router. To this box some DECT200 sockets are connected. One of these sockets is AVM_SD_02.

I’ve created by myself:

bridge -> AVM Fritz Box (avmfritz:fritzbox:1)
Item -> Number:Power Power_SD_AVM_02 …
Rule -> When Item Power_SD_AVM_02 received update then DO SOMETHING

Everthing is working fine.

It seems to be, that during the last night the fritz box executed a reset. After the reset, openhab lose connection to the fritz box. No Power_SD_AVM_02 changed events occured anymore.

After i reset the openhabianpi manually, connection established an everything works fine again.

How it is possible to recognize a reset of the fritz box and establish connection between openhab and the fritz box automatically again ?

Fritz.Box log:

Internet, IPv4

connected since 08.03.2019, 04:09 Uhr, Telekom,
IP-Adresse: *****

event-log:

2019-03-08 03:07:38.701 [vent.ItemStateChangedEvent] - Power_SD_AVM_02 changed from 35.260 W to 34.830 W
.
2019-03-08 03:09:17.517 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 03:09:17.544 [hingStatusInfoChangedEvent] - ‘avmfritz:FRITZ_DECT_200:1:AVM_SD_02’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2019-03-08 03:09:17.549 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid

2019-03-08 03:09:25.757 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond

2019-03-08 03:09:25.763 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid

Restarting openhabian PI at 9:20am

2019-03-08 09:21:08.126 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from UNINITIALIZED to INITIALIZING

2019-03-08 09:21:08.892 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:1’ changed from INITIALIZING to ONLINE: Established FRITZ!Box connection with SID b4bf189f211bcb21
2019-03-08 09:21:08.935 [hingStatusInfoChangedEvent] - ‘avmfritz:FRITZ_DECT_200:1:AVM_SD_02’ changed from UNINITIALIZED to INITIALIZING
2019-03-08 09:21:10.483 [vent.ItemStateChangedEvent] - Power_SD_AVM_02 changed from NULL to 140.400 W

openhab-log:

2019-03-08 03:08:24.691 [INFO ] [pse.smarthome.model.script.AVM_SD_02] - Leistung_persistieren:Akkumulierte Leistung 1192.480, Zähler 34

2019-03-08 03:08:24.695 [INFO ] [pse.smarthome.model.script.AVM_SD_02] - Leistung_persistieren:Energie pro Tag: 104.88645833
.
2019-03-08 03:10:49.358 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = ***-***-***-***-***, base URL = http://localhost:8080)
2019-03-08 03:11:14.615 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: xhr post error
at io.socket.engineio.client.Transport.onError(Transport.java:71) …

Restarting openhabian PI at 9:20am

2019-03-08 09:20:43.633 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘avm.items’
2019-03-08 09:21:04.245 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘avm_sd_02.rules’
2019-03-08 09:21:33.142 [INFO ] [pse.smarthome.model.script.AVM_SD_04] - System_start: Setze Anzahl der Messungen 0
2019-03-08 09:21:36.172 [INFO ] [pse.smarthome.model.script.AVM_SD_02] - Leistung_persistieren:Aktuelle Leistung 140.400 W

BR

It seems like this is a known issue of the binding:


Hi Michael,

yes i agree. This issue is the same.

Thank you

You are welcome, Arne!