-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Failed to login error #21
Comments
Hey @tbelcher, can you provide and the logs before that error? From the error name i can see that the server is not responding to you, can i ask you what is your internet speed and/or country? You can try to ping their servers to see if you have any packet loss: |
The ping should output something like this, for me the response time is around 130ms
|
Thank you for the reply. I'm in the US and have a 400Mb/20Mb connection. When I ping I am able to hit the server: There is nothing in the log from the plug-in after what I posted and immediately before are: |
Hey, i will change add a setting to can add your own timeout limit (over 15s) and you should set that setting higher like 30s - 60s, if the login still fails, is nothing that i can do 😞, because the error is from their server which is not responding to the login command |
Thank you. Is it possible to get the syntax of the command it uses to login so that I can experiment on my end? Tim |
Sure, go in |
It's working now after I changed two values in VeSync.js inside usr/local/lib/node_modules/homebridge-levoit-air-purifier/dist/api In getDevices I changed await delay(500) to (1500) and in class VeSync Working without issue. Tim |
Alright, i will implement this in the next update which will be this weekend |
@tbelcher The update is released. |
Describe The Bug
I just installed the plugin and am hoping to use it with my 300Sm, however I get the following error in the logs:
Jan 27 11:58:40 raspberrypi homebridge[8920]: [1/27/2022, 11:58:40 AM] [Levoit Air Purifiers] Failed to login Error: timeout of 15000ms exceeded
Has anyone else experienced this issue?
Thanks,
Tim
Expected behavior
To be able to add the 300S within the Home app.
Logs
Jan 27 11:58:40 raspberrypi homebridge[8920]: [1/27/2022, 11:58:40 AM] [Levoit Air Purifiers] Failed to login Error: timeout of 15000ms exceeded
Plugin Config
Plugin Version
1.1.8
Homebridge Version
1.4.0
Node.js Version
16.13.0
NPM Version
8.1.3
Operating System
raspberry Pi Buster
The text was updated successfully, but these errors were encountered: