-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing default Country value leads to problems on first startup #59
Comments
Thanks for the recommendations, as I'm using a password manager I'm not using german special chars. Edit: I just checked with Postman, atleast for the "https://appapi.cp.dyson.com/v1/userregistration/authenticate?country=de" I get a valid response (at least from my main pc) so it shouldn't be a firewall/security gateway issue |
I'm pretty shure that it has nothing to do with your firewall/security gateway. May I ask you to please switch the adapter to debug logging (Tab Instances ; expert mode) and post the log? |
AH! You ran 0.7.0 before? Then please reenter the password in the config as mentioned in the readme and changelog. That should solve your problem. |
Okay. Seems that we have two different things here:
|
@Grizzelbee I just hadn't set up the DNS record yet. Everything works fine for me, thanks :) |
@theimo1221 : Is your Issue also solved? Or are you still struggeling? |
@Grizzelbee I'm still struggeling: If you want feel free to contact me directly in Discord, so I can share my screen/problem with you today evening EDIT: Some more information:
|
I have the same problem with a fresh 0.7.1 installation, I configured username and password in the adapter config with the same result: There is no device in the device tree where I can configure the ip address. There must be something wrong on the first start of the adapter. The Dyson API is also accessable from the iobroker system, tested with: |
@viper4gh, @theimo1221 |
@Grizzelbee Okay, I spotted the issue, it seems like the Country is |
By default country was empty while the browser selects "Deutschland" as the shown value for the country selection thus making the user believe country beeing correctly chosen. Pull Request #61 resolves this. |
I can confirm, select the country again, solves this problem. Update: |
@Grizzelbee |
Resolve #59 Missing default Country value leads to problems on first startup
@viper4gh What version are you on? Or in other Words: Have you tried 0.7.3 already? This should fix this issue. |
@Grizzelbee with newest version there might be an error regarding credentials EDIT: I recieve {"Message":"Unable to authenticate user."} within Postman, while I can login through the dyson Homepage. So I'm not sure if this is a problem with latest changes. |
I was still on 0.7.1, then I will test it with the new version and will give you feedback. |
@theimo1221 Please try to re-enter your password. There are some changes at this position which might lead to this. Btw-2: The easist way to check your enterd credentials might be to get into index_m.html line 104 and change type="password" to type="text" - that displays the unencyrpted pwd in config. |
@Grizzelbee I just changed my password on dyson.de and even with new password it doesn't work On my ioBroker Server I get following response as well: |
I completely uninstalled the adapter instance and the adapter, which uninstalls the device tree, too. Update: |
Grrrrr!! Seems to be a timing issue. Sorry for that. Debugging ... |
What does this mean, are our accounts now rate limited, or is that a temporary thingy? |
I'm sorry - but currently I don't know. Debugging says: Credentials are okay. So it's no timing issue. My idea was, that the password is used for login before it is decryted. But thats not the case. Maybe dyson locked the adapter out. Or it's really a temporary thing. Let's wait a while and see what happens ... |
I tested the curl command again and still get: It seems indeed we are now banned. |
Same on my side in a few different tests.
I still don't believe really in being banned. The error message doesn't fit. But on the other hand I don't have any clue what really happend. |
Maybe the server tries to prevent unauthorized access by flagging those accounts which switched countries in a short time frame |
After the adapter is working now with the workaround (#65 (comment)) I can say that the adapter is using the configured Hostadress now, which was not working in my case before. |
Solved by PR #66 |
Hello Grizzelbee,
as my new Purifier arrived yesterday I'd like to connect it with IoBroker.
Unfortunately it seems like there is a problem during setup:
Do you think this is a network issue, or could it be some interference with special chars in my password (15+ chars)?
Best Regards
Thiemo
The text was updated successfully, but these errors were encountered: