Closed eengert closed 10 months ago
Hey there @rytilahti, @thegardenmonkey, mind taking a look at this issue as it has been labeled with an integration (tplink
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tplink documentation tplink source (message by IssueLinks)
The device is closing the connection for some reason ([Errno 104] Connection reset by peer
), but it's hard to say why or to offer any help.
You could try enabling the debug logging for kasa
in your homeassistant logger configuration to see if something obvious is visible in the communication. Alternatively, feel free to try python-kasa directly to see if changing the color settings work outside homeassistant:
kasa -d --host <ip address> hsv
for controlling color, orkasa -d --host <ip address> temperature <color temp>
for color temperatureI have the same problem, but not only when you try to change the color, sometimes the become unavailable when you turn them on/off. Is there anything we can do to help get this resolved?
Also having this problem, but it isn't just home assistant. Trying to do anything other than on/off with a 3rd party app seems to overwhelm the hardware.
Please test if the upcoming 2023.7.4 release improves the situation and report back, thanks!
Please test if the upcoming 2023.7.4 release improves the situation and report back, thanks!
I'm on 2023.8 and still experiencing this issue.
I resolved this issue BEFORE the latest release by removing the KL400 device from both Home Assistant and removing it from the Kasa mobile app, then re-adding it to the Kasa mobile app, then re-adding it to Home Assistant. If you have a custom ID for it in Home Assistant, you will need to make a note of it before deleting it, as to not disrupt any automations when you re-add it to Home Assistant.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
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 last 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 usually 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.
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.
What version of Home Assistant Core has the issue?
core-2023.3.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
tplink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tplink/
Diagnostics information
config_entry-tplink-5a4a0d6441f3a32fdf6c68a73ac14fd1.json.txt home-assistant_2023-04-01T12-19-10.990Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Just to be clear, this happens every single time I change the color of either light strip. And it never happens if those light strips are not enabled in the HA TPLink integration.