Skip to content
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

[QUESTION] What is the latest software version for P110 that is compatible with PyP100? #26

Open
korsem opened this issue Mar 5, 2024 · 4 comments

Comments

@korsem
Copy link

korsem commented Mar 5, 2024

Hi, I am currently using P110 plug with software version 1.3.0 with the new protocol.
I get the error Failed to initialize protocol AuthProtocol.
I've seen in readme that the new authentication method is currently compatible with the P100 version 1.2.1 and I am wondering if that is the latest version that is tested to be compatible?
Before the software update, the connection with my plug worked fine.
Do you have any suggestions to make it compatible with the 1.3.0 version? or maybe reason for my issue could be different?

@scottyai
Copy link

scottyai commented Jul 1, 2024

I can confirm the current code base will read the P110 device. I ran through the basic functions, e.g. get device info, power stats and toggle on/off for firmware version 1.3.0 Build 230905 REL.152200

@Openuser87
Copy link

With a device on 1.3.1 Build 240621 Rel. 162048, I am not able to establish a connection. Also getting Failed to initialize protocol AuthProtocol, but the root cause seems to be that the failing connection itself:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='<ip>', port=80): Max retries exceeded with url: /app (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f893b909b80>: Failed to establish a new connection: [Errno 113] No route to host'))
An error occurred during handshake: Failed to initialize protocol

It used to work in January. My network didn't really change since then, so I suspect it's at software level.

Could the firmware version be the cause for the device rejecting connections (compatibility issue or so...)?

@Openuser87
Copy link

As the Android app works fine, I wanted to test what accesses it makes (to compare it to what I try to do from the PC with python).

Short research results:

  • according to PCAPdroid, Tapo app makes no local requests at all to the P110 plug - it connects to TP-Link's internet servers
  • a cross-check confirms: when disabling internet access for Tapo app, the switch does not work and the energy infos are not shown in the app!

Can it be that since some version the local requests are not accepted anymore? Can anyone confirm that?

@eocula
Copy link

eocula commented Oct 29, 2024

I have 3 devices, all with 1.3.1 Build 240621 Rel. 162048. And they still work fine.

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

4 participants