CharlesBlonde / libpurecoollink

Dyson Pure Cool link python library

Home Page:http://libpurecoollink.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No HTTP resource was found that matches the request URI

gro1986 opened this issue · comments

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.

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"