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

error code 1003 on handshake - P110 on firmware 1.3.0 buld 230905 rel 152200 - python 3.10 on windows #136

Open
dauheeIRL opened this issue Dec 10, 2023 · 2 comments

Comments

@dauheeIRL
Copy link

Hi,

in PyP100.handshake() after the following code:
r = self.session.post(URL, json=Payload, timeout=2)
error_code is returned as 1003

in ERROR_CODES dict -1003 is for bad JSON format

got any ideas? I'm assuming its a firmware update as all plugs stopped working on the same day approx 2 weeks ago

also I would move up the try to just after the session post to properly capture the error

Thanks

@AlexXZero
Copy link

AlexXZero commented Dec 11, 2023

I found fixed version here: https://github.com/almottier/TapoP100/blob/main/PyP100/PyP100.py
Also it looks like this repo has last update a year ago, so I'm not sure if it will be officially supported here.

BTW this issue looks like duplicate of #128

@dauheeIRL
Copy link
Author

dauheeIRL commented Dec 11, 2023

Thanks, really appreciated. That was it

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