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
@Googs No new firmware yet. I've just ordered a load of Broadcom SP4L units instead - they're £15.59 for a twin pack on Amazon now
- Copy Link
- Report Inappropriate Content
Cheers @roryd had not seen those before. Nice one.
The one review on it at the moment is preventing me from just chancing them but they look to fit the bill for sure.
I like the power monitoring of the HS110 and if this integration issue doesn't get worked out they will be the next stop for sure.
def can't argue with the price
- Copy Link
- Report Inappropriate Content
So what is the current status? Is there any sign of an update to resolve this issue.
- Copy Link
- Report Inappropriate Content
I was told by TP-Link yesterday it will be within the next 15 days.
- Copy Link
- Report Inappropriate Content
@ntsmkfob cheers.
- Copy Link
- Report Inappropriate Content
@Googs turns out those Broadlink SP4L-UK units aren't supported by the integration yet 😕
- Copy Link
- Report Inappropriate Content
I purchased two KP400 outdoor plugs and received them last week. The first thing they did was a firmware upgrade after getting a network connection. They are now at hardware version 2.0 and firmware version 1.0.6. I assume this issue also impacts the KP400 as I was unable to get Home Assistant to discover them. Can anyone confirm if this does impact the KP400 units, and if so if an integration will be provided to support local API usage with HA?
Also is there a possibility of utilizing a remote API for HA? I haven't looked to be honest, so perhaps there is. I was thinking that perhaps a remote API integration would be better than nothing, although this is painful when there is lack of Internet obviously.
I was debating on just sending the two KP400 units back to Amazon if they won't work with HA. While the Kasa app is nice, without HA, I cannot integrate them with my other smart home platforms and they are not as useful to me.
Thanks all.
- Copy Link
- Report Inappropriate Content
@MLJenkins I got couple of KP400s (before I learned about this fiasco) and setup, they received updates immediately after connecting to the internet, so they both show hardware version: 2.0, firmware version 1.0.6. I am able to access these via Home Assistant (as of this writing it is working). I am from US region if that matters.
- Copy Link
- Report Inappropriate Content
@Googs I manually added an entry to the init.py file and the SP4L-UK units work, and there's now a pull request with this pending merging into the library, so it should be generally available shortly.
- Copy Link
- Report Inappropriate Content
Asking for a family member:
Will the following firmware updates break anything with the old API / Home Assistant?
- 1.1.3 for US/Canada H103 HW V2.1
- 1.1.4 for US/Canada HS200 HW V3.0
The release notes state Wi-Fi and other stability improvements.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 20
Views: 57604
Replies: 86