TP-Link HS103 (COMMUNICATION_ERROR)

After almost a year of use one of my TP-LINK HS103 is experiencing a COMMUNICATION ERROR. My other HS103 continue to function correctly.

I am able to control it with the Kasa iOS app (LOCAL ONLY) but openHAB is no longer able to control it.

I deleted it from openHAB after a lengthy delay openHAB rediscovered it but after it was added back into openHAB it went offline again.

I have it blocked from the internet so no firmware updates should have taken place.

  • hardware version 5.0
  • feature TIM
  • sofware version 1.0.3 Build 201015 Rel.142523
  • model HS103(US)
  • device name Smart Wi-Fi Plug Mini
  • type IOT.SMARTPLUGSWITCH

Using TP-LINK Smarthome Binding 3.0.2

I have not made any changes to my openHAB setup and have not altered my wifi router.

Any suggestions would be much appreciated.

Did the “bad” unit get a new IP address from the DHCP server by chance?

Nope. I have assigned static IP address for my smart home devices.

Try placing the device physical closer to your wifi acces point and see if that makes a difference.If that fixes it, it could mean something is interfering with your hs103.

will do.

I moved the HS103.

openHAB once again found it.

I added the HS103 to openHAB

Once added the following was displayed within openHAB.

Status: UNKNOWN

And then it changes to the following.

Status: OFFLINE
**COMMUNICATION_ERROR**
No route to host (Host unreachable)

Please note that the Kasa iOS app can control the HS103 (LOCAL ONLY)

I then changed the power strip it was plugged into and it “SEEMED” to start working again BUT each time I turned on or off the HS103 I would cause a COMMUNICATION_ERROR which lasted for a few seconds.

Here is output from the events.log file.

2022-08-24 12:46:30.420 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bedroomlamp' changed from UNDEF to ON

2022-08-24 12:46:45.994 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'bedroomlamp' received command OFF

2022-08-24 12:46:45.996 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'bedroomlamp' predicted to become OFF

2022-08-24 12:46:46.002 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bedroomlamp' changed from ON to OFF

2022-08-24 12:46:50.333 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs103:xxxxxx' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Read timed out

2022-08-24 12:46:50.338 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bedroomlamp' changed from OFF to UNDEF

2022-08-24 12:47:00.379 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tplinksmarthome:hs103:xxxxxx' changed from OFFLINE (COMMUNICATION_ERROR): Read timed out to ONLINE

2022-08-24 12:47:00.382 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bedroomlamp' changed from UNDEF to OFF