Open yslim2002 opened 6 months ago
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
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