I installed a bunch of Kasa switches, plugs and light strips about 4 weeks ago. Up until a few days ago, I was integrating them into Homekit via Homebridge. Earlier this week I made the decision to migrate to HA. Everything has gone fairly smoothly except for the two light strips. They actually work fine to just turn them on/off (from HA or HK or Kasa app). But they’ve been intermittently going offline (unavailable). I finally figured out that it’s happening whenever I try to change the color. This started immediately after integrating them into HA. Doesn’t matter whether I change the color in HA or HK or Kasa, they will become unavailable in HA within ~30 seconds. They remain unavailable for ~60-90 seconds and then come back online. Didn’t have any problems with them when I was using Homebridge.
I’m running HA in Hyper-V on a mini PC, Win11 Pro. I’m using the TPLink and Homekit integrations to bridge the Kasa devices to Homekit. When I switched from Homebridge to HA, I followed this process:
- Removed HB bridge from HK
- Disabled and uninstalled HB on Mac
- Installed TPLink integration in HA and let it discover all devices
- Installed Homekit integration in HA and configured to expose all Kasa devices
- Added HA bridge in HK and configured all Kasa devices in HK
- Started testing various devices in HK and immediately noticed issues with the KL400 light strips (I didn’t realize it at the time, but looking back, they would lose connection every time I tried adjusting the color)
- As a troubleshooting step, factory reset both light strips to remove them from the Kasa app, then re-added them (didn’t seem to help)
To recap: The KL400 light strips worked perfectly for the past few weeks using HB. Since integrating them in HA, they become unavailable for a period of time every time I try to adjust the color.
I turned on debug logging for the TPLink integration, but I’m not seeing anything very useful in the logbook. It just shows that the color was changed and then a few seconds later it shows they became unavailable.
I don’t think this is a networking issue. I have strong Wifi throughout the house, but certainly in the kitchen where the light strips are. I did assign an IP reservation for each, but it hasn’t made any difference. It seems like the TPLink integration is the likely culprit, but I can’t really tell what might be going on. I’m very new to HA, so maybe there’s a different level of logging I should try?
Any help or suggestions would be appreciated. Thanks.