CharlesBlonde / libpurecoollink

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

401 Errors. Unable to log in #33

Open Josep313 opened 4 years ago

Josep313 commented 4 years ago

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.

AlexCloudDev commented 4 years ago

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