Hey all,
I’m newish to HA and I’m hoping someone can give me a hand here. (First off, yes after any changes were made HA was restarted, Service multiple times entire Raspberry PI a couple of times)
I currently have 10 TP-Link Kasa devices. They are all showing in the Kasa app, work fine etc.
When I originally set up HA all of my Kasa devices were showing (6 at that time). I added a couple dimmer switches, moved some stuff around and no matter what I did I could only get 6 the original 6 to show up.
Next I tried re-installing the integration. When I did this, only 4 showed up.
Finally I assigned a static IP to each device, went through and added them all to my config.yaml file (copied below) hoping that would get them added, redid the integration again anddd unfortunately nope after re-adding the integration I got 3 devices, however the other 7 still aren’t there.
The Girlfriend approval factor was doing pretty well but a couple of these switches are controlling bedroom lights and I have a feeling that’s about to change…HELP!
When I had problems with my HS110s (US) I would always check them using the Kasa app, first. That confirms they’re on line and visible across the network.
If you haven’t already installed it, when you first run the app the first step is “Create an account.” You can then select “Skip” at the bottom of the “Create an account” page. Now you have local control of all your TP-Link devices without connecting them to the TP-Link cloud servers. Of course it only works on your local network, but it’s a great tool for troubleshooting the HA integration. Once that’s working you don’t need Kasa anymore.
Another advantage of not creating an account is it seems like the devices won’t auto-update if you don’t.
I share your concerns about the direction TP-Link is going with regard to third-party integrations. The HA development team is making great progress in overcoming the roadblock TP-Link threw up for our UK users. But I still worry about TP-Link’s long-term plans. My HS110s are working great now, but I won’t be buying any more until I’m sure TP-Link is not actively trying to disable third-party apps.
It may be that the configuration.yaml is not correct. I have a number of dimmers installed and unless they’re identified in the configuration as dimmers, they won’t show-up. My configuration.yaml looks like;
Sorry for the delayed replies. Been a busy couple of days. Weirdly a couple more of the devices have just kind of shown up in HA but I’m still missing all of my Lightbulbs.
As of now I’m trying to figure out another problem with my Ubiquity Dream Machine not actually giving these devices static IPs (argghh!). Once I get that fixed I’ll let return to troubleshooting the lights.
Don’t give up. If they show up in HA sometimes, then we know it’s not the same problem the UK smart plugs had with the firmware update. There’s been a lot of talk on this forum about TP-Link devices going “unavailable” in the HA integration, long before the firmware update issue.
My take is that the integration was historically bad at reconnecting to TP-Link devices which briefly lost connection. And these devices do that occasionally. And seemingly randomly. But we know that a good solid WiFi signal is critical, and changing the IP address makes it worse.
So the first step is always to make sure they’ve got a good signal and their IP addresses remain the same. Some folks have reported better luck defining those addresses in HA, but I haven’t seen any difference. There’s been some work on the integration, so make sure you’re using the most recent version. My TP-Link devices have been rock-solid for a few weeks now.