8000 TP-Link P100 Plug support · Issue #742 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

TP-Link P100 Plug support #742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
neildsb opened this issue Feb 7, 2024 · 4 comments
Closed

TP-Link P100 Plug support #742

neildsb opened this issue Feb 7, 2024 · 4 comments

Comments

@neildsb
Copy link
neildsb commented Feb 7, 2024

Sorry to resurrect an old thread, now we can control TP-Link via this Kasa integration, can we please look into adding P100 support?

#83

currently using - https://github.com/petretiandrea/home-assistant-tapo-p100

*** update ***

I have just added two devices, but three devices failed 'invalid_auth' :-(

@neildsb
Copy link
Author
neildsb commented Feb 7, 2024

could this help?

2024-02-07 22:27:01.341 DEBUG (MainThread) [kasa.aestransport] Created AES transport for 192.168.20.205
2024-02-07 22:27:01.342 DEBUG (MainThread) [kasa.smartdevice] Initializing 192.168.20.205 of type <class 'kasa.tapo.tapoplug.TapoPlug'>
2024-02-07 22:27:01.342 DEBUG (MainThread) [kasa.smartprotocol] 192.168.20.205 >> '{"method":"component_nego","params":null,"requestID":1205037050487771136,"request_time_milis":1707344821342,"terminal_uuid":"k57tLZOcvrmcUNvvwpfNFg=="}'
2024-02-07 22:27:01.342 DEBUG (MainThread) [kasa.aestransport] Will perform handshaking...
2024-02-07 22:27:01.347 DEBUG (MainThread) [kasa.aestransport] Generating keypair
2024-02-07 22:27:01.356 DEBUG (MainThread) [kasa.aestransport] Handshake params: {'key': '-----BEGIN PUBLIC KEY-----\deleted\n-----END PUBLIC KEY-----\n'}
2024-02-07 22:27:01.356 DEBUG (MainThread) [kasa.aestransport] Request {'method': 'handshake', 'params': {'key': '-----BEGIN PUBLIC KEY-----\deleted\n-----END PUBLIC KEY-----\n'}}
2024-02-07 22:27:01.357 DEBUG (MainThread) [kasa.aestransport] Device responded with: {'error_code': 1003}
2024-02-07 22:27:01.357 DEBUG (MainThread) [kasa.smartprotocol] Unable to authenticate with 192.168.20.205, not retrying

@rytilahti
Copy link
Member
rytilahti commented Feb 7, 2024

Do you see any more specific errors in the log, and if yes, could you paste them here? I have a P100(EU) that has been working fine so far.

If the devices that are not working are not connected to the Internet, they will require you to use the username and the password that were used when you provisioned them.

edit: the debug logs are always helpful! I have seen the very same error code after my device got updated and changed the used encryption protocol. It should start working again when you input the credentials again when homeassistant asks for them. If homeassistant doesn't instruct to do that, please try restarting homeassistant and see if it starts working :-)

@neildsb
Copy link
Author
neildsb commented Feb 7, 2024

I have just rebooted HA, and can add one more....2 to go, fingers crossed

Ps its the UK version

@neildsb
Copy link
Author
neildsb commented Feb 7, 2024

ok, i think, i have sorted it, i needed to upgraded the plugs to 1.5.5, reboot HA, and it works :-)

@neildsb neildsb closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0