TP-Link HS-220

Running 3.0.2 - Release Build on a Pi 4 and TP-Link Smart Home Binding 3.0.2. with ZRAM enabled.

After some hours I get a ton of COMMUNICATION_ERRORs:

2021-04-24 13:21:53.894 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Read timed out
2021-04-24 13:21:53.897 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bedroom_Brightness' changed from 20 to UNDEF
2021-04-24 13:21:55.060 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from OFFLINE (COMMUNICATION_ERROR): Read timed out to ONLINE
2021-04-24 13:21:56.236 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bedroom_Brightness' changed from UNDEF to 20
2021-04-24 13:22:15.430 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Read timed out
2021-04-24 13:22:15.435 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bedroom_Brightness' changed from 20 to UNDEF
2021-04-24 13:22:15.594 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from OFFLINE (COMMUNICATION_ERROR): Read timed out to ONLINE
2021-04-24 13:22:16.755 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bedroom_Brightness' changed from UNDEF to 20

Rebooting doesn’t help (good thing). Only “fix” that works is to remove/reapply power to the HS-220 (not good).

I’m trying changing the polling interval from 1 to 10 but while I’m waiting to see if it helps, I’d appreciate any other ideas.

Update: changing the polling interval only delayed the error reporting:

2021-04-28 06:49:42.131 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from ONLINE to UNKNOWN
2021-04-28 06:49:52.249 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs220:1E0CAC' changed from UNKNOWN to ONLINE