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 when using getEnergyUsage in P110 #28

Open
yslim2002 opened this issue May 6, 2024 · 0 comments
Open

Error code:-1003 when using getEnergyUsage in P110 #28

yslim2002 opened this issue May 6, 2024 · 0 comments

Comments

@yslim2002
Copy link

Error: {'error_code': -1003}
Traceback (most recent call last):
File "d:\Python\Training\Practice\tapo110.py", line 8, in
p110.getEnergyUsage()
File "D:\Anaconda\Lib\site-packages\PyP100\PyP100.py", line 109, in getEnergyUsage
return self.request("get_energy_usage")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\Lib\site-packages\PyP100\PyP100.py", line 47, in request
return self.protocol._request(method, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\Lib\site-packages\PyP100\auth_protocol.py", line 65, in _request
raise Exception(f"Error code: {data['error_code']}")
Exception: Error code: -1003

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

1 participant