CharlesBlonde / libpurecoollink

Dyson Pure Cool link python library

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

401 Errors. Unable to log in

Josep313 opened this issue · comments

DYSON_API_URL = "appapi.cp.dyson.com"

`urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
dyson_account = DysonAccount("id@email.com","password","EN")
logged = dyson_account.login()

if not logged:
print('Unable to login to Dyson account')`

Still getting a 401 unauthorized error. Did DYSON's endpoint change? I can sign into the app just find with the same credentials. PostMan is telling me the same 401 error as well.

I can log in, so i think the endpoint is right.
I'm using dyson_api_url = "appapi.cp.dyson.com" as well

But i can't connect to my device either :(