I recently had an HS200 switch (Hardware V3, Firmware: 1.1.14) totally fail, that is, it would no longer power-on (no lights, no nothing…)
Since the dead HS200 was configured and working with HA and fully isolated from the internet I had to do the following before replacing it:
- PiHole: Disable Blacklist entry for: tplinkcloud.com
- Router: Update firewalls rules to DISABLE “Drop Traffic” IN|OUT internet traffic to my Kasa devices
- Router: Forget the dead HS200, (disassociate my assigned fixed IP address from the dead MAC address)
- Phone: log in to the Kasa App to ensure that all works with “cloud” control
Once that was all done, I proceeded as follows:
- Hole in the wall: I physically removed the dead HS200 and replaced it with a “new” one ((Hardware V3, Firmware: 1.0.3).
- Phone: Add the new HS200 to my IOT network through the Kasa App.
- Phone: When naming the new HS200, I added a “2” to the name of the device (as in: Name2)
- Router: Once the HS200 was visible on my network, I reassigned the original fixed IP address to the new MAC address
- HA(Pi): Restart Home Assistant
It kind of, mostly worked. I ended up with Name and Name2 as devices in the TP-Link integration. I deleted the original Name and renamed Name2 to Name I restarted Home Assistant again. Success and Joy!
Now for the bad news:
- This morning I had the bright idea that I might be able to reset/fix the dead HS200
- Applied power (with the appropriate connections)
- It looked like a normal power-on for about 2 seconds, then over a period of 5 to 10 seconds (not sure) the wihite circle flashed, Amber/Green flashing on WiFI LED… then dead…
- So what’s the big deal, just throw the dead HS200 in the trash… no problem
- BUT… my new “Name” HS200 works AOK in the Kasa App but no longer works with Home Assistant (all other devices still work)
- I restart HA, the TP-Link integration somehow picked up the now DHCP assigned address of the dead HS200 when I attempted to power it up.
- More restarts, no success.
- Delete the “Name” device from the TP-Link integration, more restarts.
- Still unable to get the TP-Link integration to “adopt” the new HS200 (same IP address as always)
I have a backup that I can restore from 2 days ago, but before I do:
Where is the TP-Link configuration stored???
I’d like to fix this so that I understand what went wrong. If I restore the backup to get it working I will have just “bypassed” the issue.
Thanks!