Closed hendersj closed 3 years ago
Did a little digging around some other projects, and it seems that the issue can be resolved by logging out of the Android or iOS app and logging in again (which generates another OTP password). Once that's done and you wait a little bit (if you don't, you'll get a 429 error because Dyson apparently is rate limiting requests), you can resubmit the login in the config node and it'll generate the OTP e-mail.
See, for example, https://github.com/lukasroegner/homebridge-dyson-pure-cool/issues/166 in the homebridge plugin.
Using this, I have managed to get the OTP to be generated from the config node, but the deployed nodes seem to hang up - but I can search for devices and find my fan, so that piece is working again. Probably just a matter of time to get the actual control working.
After doing this, unplugging the fan and plugging it back in seems to have re-enabled the module. Closing as resolved.
In the config node, I used to be able to enter my e-mail address and password, and an OTP code would be sent to my e-mail - now when I click "authenticate to get otp", I get the following message in the debug panel:
Error: Request failed with status code 401
Please let me know what other information will be useful to track this down. Thanks!