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

Can't log into Dyson account #18

Open
xxKeoxx opened this issue Aug 20, 2018 · 12 comments
Open

Can't log into Dyson account #18

xxKeoxx opened this issue Aug 20, 2018 · 12 comments

Comments

@xxKeoxx
Copy link

xxKeoxx commented Aug 20, 2018

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
Copy link
Author

xxKeoxx commented Aug 20, 2018

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

@tshamilton
Copy link

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?

@trevorludgate
Copy link

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

Let me know! :)

@tshamilton
Copy link

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

@LauraFlem
Copy link

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 :)

@exking
Copy link

exking commented Jan 9, 2019

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 #14 as it adds support for newer devices.

@LauraFlem
Copy link

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.

@exking
Copy link

exking commented Jan 11, 2019

@LauraFlem mine connects just fine

@georgeglessner
Copy link

@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.

@jagribble
Copy link

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

@theho
Copy link

theho commented Jun 27, 2020

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?

@exking
Copy link

exking commented Jun 28, 2020

switch to this

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

8 participants