fishbigger / TapoP100

A module for controlling the TP-Link Tapo P100 Plugs
MIT License
566 stars 138 forks source link

P100 Connection to IP timed out. #104

Closed RafaelXokito closed 1 year ago

RafaelXokito commented 1 year ago

I'm trying to use this package but during the handshake I'm getting:

File "/Users/XPTO/miniforge3/envs/SmartPlug/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/XPTO/miniforge3/envs/SmartPlug/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/XPTO/miniforge3/envs/SmartPlug/lib/python3.11/site-packages/requests/adapters.py", line 553, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='192.168.X.X', port=80): Max retries exceeded with url: /app (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x1020eea10>, 'Connection to 192.168.X.X timed out. (connect timeout=2)'))

ftk789 commented 1 year ago

How did you manage to fix it?