Skip to content
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

Error during dyson API login #12

Closed
a1development opened this issue Oct 14, 2020 · 7 comments
Closed

Error during dyson API login #12

a1development opened this issue Oct 14, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@a1development
Copy link

Hi,

i just installed the latest version.
After installation i have entered the Dyson Account Information, selected "Deutschland" from the drop down and left Celsius and 30 for the polling as is.

The adapter turns yellow and in the Logs there are this error messages.
`

dysonairpurifier.0 2020-10-14 15:28:45.816 error at process._tickCallback (internal/process/next_tick.js:68:7)
dysonairpurifier.0 2020-10-14 15:28:45.816 error at dysonAPILogIn.then.catch (C:\iobroker\SmartHome\node_modules\iobroker.dysonairpurifier\main.js:461:40)
dysonairpurifier.0 2020-10-14 15:28:45.816 error (12504) [main()] error: Cannot read property 'status' of undefined, stack: TypeError: Cannot read property 'status' of undefined
dysonairpurifier.0 2020-10-14 15:28:45.815 error at TLSSocket._finishInit (_tls_wrap.js:636:8)
dysonairpurifier.0 2020-10-14 15:28:45.815 error at TLSSocket.emit (events.js:198:13)
dysonairpurifier.0 2020-10-14 15:28:45.815 error at TLSSocket.onConnectSecure (_tls_wrap.js:1058:34)
dysonairpurifier.0 2020-10-14 15:28:45.815 error (12504) Error during dyson API login:Error: unable to verify the first certificate, Callstack: Error: unable to verify the first certificate
dysonairpurifier.0 2020-10-14 15:28:45.748 info (12504) starting. Version 0.4.0 in C:/iobroker/SmartHome/node_modules/iobroker.dysonairpurifier, node: v10.17.0, js-controller: 3.1.6
dysonairpurifier.0 2020-10-14 15:27:42.474 info (4748) Terminated (ADAPTER_REQUESTED_TERMINATION): Terminate Adapter until Configuration is completed
dysonairpurifier.0 2020-10-14 15:27:42.472 error (4748) Error during config validation: Given adapter config is invalid. Please fix.
dysonairpurifier.0 2020-10-14 15:27:42.463 info (4748) starting. Version 0.4.0 in C:/iobroker/SmartHome/node_modules/iobroker.dysonairpurifier, node: v10.17.0, js-controller: 3.1.6

`
After restarting the adapter, the same appeares in the log files.

I validated the credentials using the login on the dyson.com/de Webseite.

@Grizzelbee Grizzelbee added the bug Something isn't working label Oct 15, 2020
@Grizzelbee
Copy link
Owner

Grizzelbee commented Oct 15, 2020

I faced this error yesterday the first time after invalidating my credrentials for a test.
Unfortunately switching back to valid credentials didn't solved it again.
So I need to investigate on this error.

Btw: Is "Deutschland" the correct country for you, or do you need an other? The short list is owed to the early development state and needs to be extended.

@a1development
Copy link
Author

a1development commented Oct 15, 2020

"Deutschland" is the correct country.
I am happy to do some testing. Just let me know.

@Grizzelbee
Copy link
Owner

Fixed in 0.4.1 (2020-10-16).
Please close this issue, when it's working for you.

@a1development
Copy link
Author

Works good! Thank you.

@a1development
Copy link
Author

Well .. the only thing i missed is, that the adapter stays "yellow".
But it works and all the values are updated etc.

@a1development a1development reopened this Oct 16, 2020
@Grizzelbee Grizzelbee self-assigned this Oct 16, 2020
@Grizzelbee
Copy link
Owner

Okay. This seems to me to be a new topic. For that I'd like to ask you to close this issue again (because it's solved) and open a new one regarding "Adapter stays in yellow state even it's online and working".
Best would be to

  • provide a complete debug log (even I'm currently not shure if there would be anything to see) from switching the adapter on - waiting 10 seconds and shut it down again - so I will get a complete cycle - but don't get frightend - debug-log is really very much. You may remove your mailaddess and encrypted password as well. I still need to remove these lines in code.
  • please tell me something about your environment (How many dysons do you have? Which one(s)?)
  • It'll be fine for me to switch to german in this new case if you like.

@a1development
Copy link
Author

OK.. Just checked the adapter again. Now it turns green directly. So all set. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants