libpurecoollink icon indicating copy to clipboard operation
libpurecoollink copied to clipboard

Can't log into Dyson account

Open xxKeoxx opened this issue 6 years ago • 12 comments

Is this still supported? I can't seem to get a successful login. I know my ID and PW are correct because I can log in with them just fine on the dyson site.

xxKeoxx avatar Aug 20 '18 03:08 xxKeoxx

Never mind. The instructions say you need to pass the language code, but it's actually country code.

xxKeoxx avatar Aug 20 '18 04:08 xxKeoxx

Thanks for that, it's the difference here between "EN" and "AU" (Australia).

Meanwhile, I'm logging in OK, it's identifying my fan, but I'm not getting it to do anything, and it's throwing InsecureRequestWarning when I run my test script (cut and pasted from the main site). Are you having any luck?

tshamilton avatar Dec 28 '18 13:12 tshamilton

Try adding this to your script: import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

Let me know! :)

trevorludgate avatar Dec 28 '18 14:12 trevorludgate

Thanks trevor! that's certainly got rid of the message, now to work out why it's not responding to commands...

tshamilton avatar Dec 28 '18 14:12 tshamilton

Hi there, having some issues myself with set up. I think I can correctly log onto my dyson account but when I try to list the devices registered to the account it outputs nothing, even though I have a dyson pure cool fan registered online. Has anyone come across this? I was also getting the InsecureRequestWarning message but now that I added the suggestion made above to the script it outputs nothing. Any help would be greatly appreciated :)

LauraFlem avatar Jan 07 '19 17:01 LauraFlem

Hi there, having some issues myself with set up. I think I can correctly log onto my dyson account but when I try to list the devices registered to the account it outputs nothing

Please look at https://github.com/CharlesBlonde/libpurecoollink/issues/14 as it adds support for newer devices.

exking avatar Jan 09 '19 14:01 exking

Please look at #14 as it adds support for newer devices.

@exking Did you have any issues manually connecting your device? However I have downloaded the branch made to support newer devices and can now see my fan but it wont connect. I get the following output:

`Traceback (most recent call last):

File "", line 18, in connected = devices[0].connect("192.168.1.2")

File "C:\Users\elec\Anaconda3\lib\site-packages\libpurecoollink\dyson_pure_cool_link.py", line 148, in connect return self._mqtt_connect()

File "C:\Users\elec\Anaconda3\lib\site-packages\libpurecoollink\dyson_pure_cool_link.py", line 157, in _mqtt_connect self._network_device.port)

File "C:\Users\elec\Anaconda3\lib\site-packages\paho\mqtt\client.py", line 839, in connect return self.reconnect()

File "C:\Users\elec\Anaconda3\lib\site-packages\paho\mqtt\client.py", line 962, in reconnect sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))

File "C:\Users\elec\Anaconda3\lib\socket.py", line 712, in create_connection raise err

File "C:\Users\elec\Anaconda3\lib\socket.py", line 703, in create_connection sock.connect(sa)

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond`

Auto connect also will not work.

LauraFlem avatar Jan 10 '19 15:01 LauraFlem

@LauraFlem mine connects just fine

exking avatar Jan 11 '19 03:01 exking

@LauraFlem Try to use nmap to find correct IP of your device nmap -p 1883 192.168.0.1/24 --open change the 192.168.0.1 to whatever your network address is.

georgeglessner avatar Jan 16 '19 06:01 georgeglessner

Has anyone been able to connect to it recently? I'm getting a 404 response.

jagribble avatar May 24 '20 19:05 jagribble

Has anyone been able to connect to it recently? I'm getting a 404 response.

I am getting 404 as well. Is anyone else experiencing the same issue?

theho avatar Jun 27 '20 07:06 theho

switch to this

exking avatar Jun 28 '20 02:06 exking