-
Notifications
You must be signed in to change notification settings - Fork 5
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
Can not get token #16
Comments
Update, uninstalled all and installed wideq with -g which gave me the url to log in but the answer is this. What am I doing wrong? pi@homebridge:~ $ wideq auth -c EE -l ee-EE
(node:3237) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag |
Sorry guys, searched deeper, changed some files and finally got it registered in Homebridge. Unfortunately nothing is seen in Homekit. I have a washing machine/dryer, does it even show in Homekit and if so what is the tile, is it just a switch? |
What did you change to get rid of that SSL Error? I tried updating the tls min to 1.0 and that didn't seem to solve the issue |
I did exactly that, sudo nano /etc/ssl/openssl.cnf and changed MinProtocol to TLSv1.0. It was 1.2. |
Did you restart your server after making the change? pi@ToWn3r-Homebridge:~ $ sudo wideq ls (node:3563) UnhandledPromiseRejectionWarning: Error: write EPROTO 3070162128:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1942:
(node:3563) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag |
I did frequently yes after changes but I can not remember if I restarted after this one specifically. I did lot of changes, uninstalls, installs etc. For now I definitely have restarted the server |
Thanks for sharing. |
Hi, any news how to solve the problem? I also get the following error: (node:32408) UnhandledPromiseRejectionWarning: Error: write EPROTO 3069446608:error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small:../deps/openssl/openssl/ssl/statem/statem_clnt.c:2150: |
Now it is working for me. I did exactly what you where writing before --> sudo nano /etc/ssl/openssl.cnf and changed MinProtocol to TLSv1.0. It was 1.2. THANKS! |
Trying to set to TLSv1.0 doesn't work for me. Still getting the same error as listed above. I suspect that it might be because I'm using node v12, which might not allow that downgrade? This is running the official homebridge pi image. |
Let me know if you figure it out w/ out downgrading Node. I'm also on the latest version which I'd be sad if it's the reason why we can't authenticate. |
v10.22.0 doesn't throw up the error! :D But I hate not being totally up to date. |
So interestingly enough, I found enough of a workaround to get the wideq command itself working. Commenting out the "CipherString = DEFAULT@SECLEVEL=2" line (or changing to SECLEVEL=1) and rebooting then allows the node command above to properly execute that command. However, I still can't get the wideq command to take up the TLS setting override. Nor will the Homebridge plugin. |
Sorry for being dum but I can not get the token. I installed Wideq with "sudo npm install wideq" and this plugin. The command "sudo wideq auth -c EE -l ee-EE" returns "command not found" and that's it. Does not matter wether I ssh into the Pi or use the Homebridge UI Terminal. Please help.
The text was updated successfully, but these errors were encountered: