CharlesBlonde / libpurecoollink

Dyson Pure Cool link python library
http://libpurecoollink.readthedocs.io
Other
205 stars 54 forks source link

No HTTP resource was found that matches the request URI #29

Open gro1986 opened 4 years ago

gro1986 commented 4 years ago

Started ~yesterday (2020-02-03). adding print (login.json()) after the login post request, I get this : {'Message': "No HTTP resource was found that matches the request URI 'https://api.cp.dyson.com/v1/userregistration/authenticate?country=CA'."} The account still works both on my phone and on their website. You can get the same error by putting the URL in a browser.

gro1986 commented 4 years ago

if anybody else gets this, using fiddler, I found that changing this in dyson.py makes it work : from this : DYSON_API_URL = "api.cp.dyson.com" to this : DYSON_API_URL = "appapi.cp.dyson.com"