Hi, I have several KASA plugs, I know integration was removed, but with all the recent HA updates I thought I would give it another go, I moved a plug on to my home VLAN (from the IOT dirty network) and it worked! so, I migrated over another plug but was less successful , watching this thread with interest, hope this helps?
Interesting. Not sure if this is any help, but thereās another IP-based integration, Broadlink, which gives a similar result. The first one connected works fine in HA, but none after that.
The first one connects to your home WiFi router, while the next one connects to the first Broadlink device. The idea is, they try to create their own mesh network. Just one device connects to your LAN, and through that, to the vendorās cloud servers and/or HA. The rest all āpiggy backā off that connection, but are not directly accessible from any other device (like HA) on your network.
I have no idea whether TP-Link uses a similar process. This āfeatureā was pushed to all Broadlink devices with a recent firmware update. It wouldnāt be too far-fetched to imagine TP-Link doing the same thing. Another reason to avoid cloud-dependent devices!
ah I just noticed the plug that will not connect to HA is on FW 1.1.0ā¦whereas the working plug is 1.0.3.
I am re-posting the following information here in the hope it helps someone
I think this message got lost in all the thread noise last time.
Like others here, I was adversely impacted by the TP-LINK firmware update to one of my HS100 (UK) plugs. This firmware update removed the plugās 9999 port effectively breaking the HA tplink integration.
I was successfully able to regain LOCAL control of this plug by using the following updates
to the python-kasa library found in this repo on github.
GitHub - ghostseven/python-kasa: š š¤ Python API for TP-Link Kasa Smarthome products
Using this project, I verified I was able to turn the swithch on/off etc from the command line
I now use this command line utility via a bash script that I invoke via an automation in my HomeAssistant. Itās a bit clunky, but itās more than adequate for my particular needs in HomeAssistant.
Hope this help anybody else who has one of these ābrickedā plugs.
Please see my previous post in this thread for the original background info and links to similar discussion on the HomeBridge boards.
(*) I believe the python-kasa library may be in the process of being incorporated with the HA tplink integration. Iām not sure what the current state that development effort is in, but I hope the above can help anyone else out in the interim.
M