Open buitre-buitaker opened 3 years ago
OK, using python2.7... now with python3 it gets the device info, but timeout using manual conection with correct IP...
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/libpurecool-0.6.4-py3.8.egg/libpurecool/dyson_pure_cool_link.py", line 152, in connect
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/libpurecool-0.6.4-py3.8.egg/libpurecool/dyson_pure_cool_link.py", line 160, in _mqtt_connect
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paho/mqtt/client.py", line 941, in connect
return self.reconnect()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paho/mqtt/client.py", line 1075, in reconnect
sock = self._create_socket_connection()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/paho/mqtt/client.py", line 3546, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
I have a Pure Cool Link purifier, TP04. I am able to log in my Dyson account with this script:
But it fails retrieving the device info:
Any support on this please?
Thank you!