Kasa devices and Home Assistant - Integration now broken due to firmware update
Hello everyone,
I created this post to raise awareness around TP-Link's recent changes affecting Home Assistant users:
https://www.home-assistant.io/integrations/tplink/
Those who use Home Assistant consider it irreplaceable.
Arguably, Home Assistant offers the most complete feature and integration suite vs any competing power user home automation platform today.
It would be in the top right corner if there was a "Gartner Magic Quadrant for Home Automation Platforms".
Some of my personal use cases that were easily build-able because of Home Assistant:
-
I use Home Assistant + my Kasa devices + my continuous blood glucose monitor to wake me up in the middle of the night when my blood sugar levels go low (e.g. turn on my bedroom lamps and lights when my blood sugar is below safe levels).
-
I control all my house fans in the summer per-room with localized temperature sensors in each room of my house
-
I turn my RGB lights red or blue if my insulin is approaching an unsafe temperature (freezing damages insulin).
The recent firmware changes completely break the sole reason I bought my TP-Link Kasa devices.
I fell in love with the Kasa product line's quality, price-point, electrical testing certifications and the open integration with Home Assistant.
Amazon reviews, YouTube videos, podcasts and community posts gave me comfort to invest heavily into the Kasa ecosystem.
With Kasa, I felt confident I would have a rock solid device from a big brand to use with Home Assistant.
I was an early adopter of WeMo and have since passed them on as gifts to others - I can't ask for them back now.
The few WeMos I still have work perfect with Home Assistant.
I've never felt worried about a firmware update breaking how my WeMos integrate with Home Assistant as Belkin understands Home Assistant use cases and the values users get from Home Assistant.
Belkin was victim to typical IoT security anti-patterns (e.g. unsigned firmware updates), but over the years has subsequently hardened their WeMo offering and still allow local control.
Users like myself have invested hundreds into TP-Link products (and my recommendations to friends have resulted in them spending hundreds).
We also (in good faith) allowed cloud connectivity (providing TP-Link with analytics data). I am now blocking all of that cloud connectivity.
Here are some community posts. It's only a matter of time before this gets picked up by HackerNews or another big tech site.
-
https://community.home-assistant.io/t/tp-link-hs110-smart-plug-disappears-after-latest-firmware-update/244229
-
https://twitter.com/TPLINKUK/status/1328687659133399043
-
https://alerts.home-assistant.io/#tplink.markdown
-
https://community.tp-link.com/en/home/forum/topic/236268
I strongly encourage TP-Link to work with the Home Assistant community in good faith to resolve this problem.
Other vendors like Phillips, Belkin WeMo, IKEA, etc. all understand the value of power users pushing the home IoT space forward and have not disrupted the local control capabilities of their products.
Some recommendations:
-
Publish a secure local API for Kasa devices
-
Allow for users at their discretion to opt-in / enable legacy versions of the port 9999 based API / old local control mechanism in the meantime
-
-
Create a more secure implementation of the initial configuration mechanism (e.g. that does not use port 9999)
-
Publish firmware release notes as per industry generally accepted practices
-
Allow for opt-in beta testing of firmware
-
Publish CVEs for vulnerabilities discovered as per industry generally accepted practices
I hope this post raises some more awareness for us Home Assistant users now left with 15+ "broken" devices!
Thanks for reading this!
I've lost sleep over my now broken smart home and am trying to constructively work on a solution!
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
just talked to their online support people.... she claimed that it works as long as you have the devices in the Kasa App..... I can confirm that this is not the case and none of the devices show up in Home Assistant.
TP-Link you seriously need to fix this and give us the API back. I thought it was fixed and just bought 10 more switches.... I regret that choice
- Copy Link
- Report Inappropriate Content
@GuitarSkater Hello,
Only HS100/HS110(UK) V4 Firmware 1.1.0 updated the local authentication, other models and other country versions are not affected.
If your device is not HS100/HS110 UK V4,for the third party software control, it is recommended to seek some help from Home Assistant forum.
If your device is HS100/HS110 UK V4, please check the statement here:
https://community.tp-link.com/en/smart-home/forum/topic/239364
As new API is still under development, whether Home Assistant Integration will be supported in future is still unknown and need to be tested when new firmware is released.
- Copy Link
- Report Inappropriate Content
I currently have 6x HS200 running HW Ver: 3.0 and Firmware: 1.1.5
I also have 2x KP400 running HW Ver: 2.0 and Firmware: 1.0.6
These devices were previously connected in Home Assistant but stopped working a while back. Any advice or resolution would be greatly appreciated.
***All are US Versions***
- Copy Link
- Report Inappropriate Content
@GuitarSkater Hello,
Home Assistant is open source third party software ( not one of tp-link official partners), as much as we’d love to help, HA integration issue is beyond what we’re able to do for customers. It is recommended to seek help or refer to other HA users experience from Home Assistant forum:
https://www.home-assistant.io/help/
Your understanding is much appreciated.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@johnsnow88 Thank you for your feedback, for Home Assistant integration issue, it is recommended to seek for more professional suggestions from Home Assistant forum / channels :
https://www.home-assistant.io/help/
- Copy Link
- Report Inappropriate Content
Hi. I never noticed these posts, my plugs have been working fine as I guessed I never updated them. 5 x HS110 UK. I see now there was a deadline for beta firmware. Does this mean my plugs are now useless to me?
I also have a number of KP115 UK plugs. Why are these treated differently? Is there a possibility that these plugs will also be rendered useless with Home Assistant in the future in a similar fashion to the HS110's?
Thanks
- Copy Link
- Report Inappropriate Content
@thebatfink Our team is still trying to optimize the way to share the API and at the same time upgrade the plug security.
Currently the beta firmware pushing has stopped, for HS110 /HS100 (UK V4 Firmware version 1.1.0 and later only * other models/ hardware versions / country versions are not affected) you could share the MAC address to us by private message, and we would record your feedback for further evaluation,
Thanks for your understanding.
- Copy Link
- Report Inappropriate Content
Solla-topee wrote
@thebatfink Our team is still trying to optimize the way to share the API and at the same time upgrade the plug security.
Currently the beta firmware pushing has stopped, for HS110 /HS100 (UK V4 Firmware version 1.1.0 and later only * other models/ hardware versions / country versions are not affected) you could share the MAC address to us by private message, and we would record your feedback for further evaluation,
Thanks for your understanding.
Thanks so much for replying back to the community on this.
Local API control is very important to us and the majority of us much prefer TP-Link's Wi-Fi products vs Zwave or Zigbee.
- Copy Link
- Report Inappropriate Content
I found that TP-link is not allowing local API after sending them MAC addresses anymore. They pretty much said 'look for github solutions'. I couldn't find anything that would work straight out of the box so I created my own repo. For anyone having the same issues you can check it out here:
https://github.com/michalmoczynski/homeassistant-tplink-integration
it's not local API - still using Kasa Cloud, but better than nothing.
More devices types will be added soon.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 20
Views: 56531
Replies: 86