You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to log in dyson account like below code.
dyson_account = DysonAccount("XXX@hotmail.com","123456","US")
logged = dyson_account.login()
if not logged:
print('Unable to login to Dyson account')
exit(1)
but it shows unable to login to Dyson account.
Is the account and password the same as APP Dyson link?
or anything wrong?
Thanks
The text was updated successfully, but these errors were encountered:
The way to work around that that I read somewhere (and worked for me) was to logout in the App, then login, answer the challenge, and try once again with the code. Answering the challenge in the app basically suspends the MFA for a few minutes.
Is this library still working with Dyson 2FA? I tried the workaround from @Yawnder but still cannot login.
I've also tried changing the end point from DYSON_API_URL = "api.cp.dyson.com" to DYSON_API_URL = "appapi.cp.dyson.com" and I passed the language code as a country code (ie. GB).
I'm wondering if it would be possible to pass the OTP into the request in the DysonAccount class.
I try to log in dyson account like below code.
dyson_account = DysonAccount("XXX@hotmail.com","123456","US")
logged = dyson_account.login()
if not logged:
print('Unable to login to Dyson account')
exit(1)
but it shows unable to login to Dyson account.
Is the account and password the same as APP Dyson link?
or anything wrong?
Thanks
The text was updated successfully, but these errors were encountered: