Kasa EP25 (support status) #548
-
I will note up front here I've scoured issues and discussions here, Home Assistant docs, reddit, and general search. I'm hoping to get some clarity on the status of Kasa EP25 smart plugs. I just unboxed newly arrived Kasa EP25 (https://www.amazon.com/dp/B0B14C719T). I chose these plugs as I intend to use them specifically with Home Assistant and they are shown as supported on the HA Integrations page for TP-Link Kasa Smart. Also, I've been using EP10 plugs for about a year and really impressed with their reliability and non-cloud functionality. But about these EP25s... the setup was awkward and I'll share details of that if requested. As a troubleshooting step I used python-kasa and the results are as such (identifying details fuzzed):
So some observations (what I understand) and notes:
So while I continue to dig I'm hoping for a comment from someone more knowledgeable than me about the extent of support on these devices. That is, can I get the full feature of energy monitoring with these plugs or just power on/off? And lastly, but maybe not most importantly, I've found comments through my searching, including here, that EP25s "work for me." Could this be an issue of firmware version? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 16 replies
-
Version 0.6.0 (currently available as dev release, Edited on Jan 18, earlier comment was:
|
Beta Was this translation helpful? Give feedback.
-
I've bought that EP25P4 (4 pack of EP25s) twice from Amazon (2023-07 and 2022-11). They have basically worked out of the box with home assistant like the earlier KP/HS plugs with energy monitoring. (I stumbled on this issue because I was thinking of buying more during the black Friday deals.) Do you have a hardware version from either the device or the box? How did you get to get them connected to the network? For the first few I used Apple Home on iOS and I think others I tried using either python-kasa or attempted the kasa ios app directly without home kit. I don't remember the specifics at this point. I found that the setup through the apple process wound up trying to connect the devices to my 5ghz wifi, probably the one my iPhone was using at the time. IIRC there was some other annoyance too with the apple setup like the location didn't get set correctly. What do you have as a hardware revision? Mine according to the box are EP25P4 (US) Ver 1.6 (made in Vietnam). The device itself through kasa or python-kasa identifies as |
Beta Was this translation helpful? Give feedback.
-
Oh thanks for the prompt comments here! I'd been meaning to get back and mention the hw version. It's showing as Something also worth mentioning is during my ongoing search for answers I found people claiming success when their firmware versions were more recent than mine. This made me optimistic. Out of curiosity, @rytilahti, is the key indicator of "different protocol" as you say, this key/val: |
Beta Was this translation helpful? Give feedback.
-
And @rct, I previously made quick notes on setup. Posting as pastebin to save space here: https://pastebin.com/2dFEEBrN |
Beta Was this translation helpful? Give feedback.
-
@ezekieldas yes, that's a response from a newer discovery protocol that was added in the last release to allow adding support for klap protocol used by some devices (#509). Previously, port 9999 with different payloads was used for discovery. Would you mind trying to downgrade to the earlier python-kasa version ( |
Beta Was this translation helpful? Give feedback.
-
So using
|
Beta Was this translation helpful? Give feedback.
-
Hello @sdb9696 and thanks for the PR. Let me know if these steps are correct and whether you need more detail. I'd be happy to provide a packet capture as well.
|
Beta Was this translation helpful? Give feedback.
-
I think it would be better to clone python-kasa/python-kasa and checkout the PR there:
Also please bear in mind that this probably won't work because the N.B. you'll need to pass --username and --password if it is going to work at all. |
Beta Was this translation helpful? Give feedback.
-
Following those better steps you just posted, here are the results. This shows obfuscated credentials, whereas my actual test involved actual creds.
|
Beta Was this translation helpful? Give feedback.
-
I'd be happy to help with this effort however I can. vscode has been on my list for at least a couple of years. I've had a few sessions with it recently and would ultimately prefer to be using it regularly. So I can try, but I may have some beginner questions. I gave a spin of that tapo lib you noted, and ran the code example. Here are the results (ssid obfuscated):
|
Beta Was this translation helpful? Give feedback.
-
Quick question -- once authenticated, can I permanently rely on local control of the newer EP25? Or will Home Assistant eventually require another cloud authentication? Hate having to hook into their cloud... |
Beta Was this translation helpful? Give feedback.
Version 0.6.0 (currently available as dev release,
pip install --pre python-kasa
) adds support for the new protocol required to control devices with newer hw/fw versions.Edited on Jan 18, earlier comment was: