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: Login failed #3

Closed
rbourg55 opened this issue Nov 24, 2021 · 15 comments
Closed

Error: Login failed #3

rbourg55 opened this issue Nov 24, 2021 · 15 comments

Comments

@rbourg55
Copy link

homebridge-hikconnect] Error: Error: Login failed, wrong account or password
at HikConnectPlatform._loginToHikConnect (/usr/lib/node_modules/homebridge-hikconnect/src/index.js:46:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at HikConnectPlatform.discoverDevices (/usr/lib/node_modules/homebridge-hikconnect/src/index.js:27:7)

"account": "rxxxxx@yaxxxx.ru", ---- my email login hikconnect
"password": "xxxxxx",  ----  my passw hikconnect
"_bridge": {
    "username": "0E:88:CE:41:48:1A",
    "port": 51096
},
"platform": "HikConnect"
@judge
Copy link
Owner

judge commented Nov 24, 2021

Hello! Could you please check if you can login to hik-connect through the website? https://www.hik-connect.com
Sometimes if there are too many login attempts then you'll end up getting a Captcha.

@rbourg55
Copy link
Author

Hi! I changed access to www.hik-connect.com/
but
[24.11.2021, 14:58:00] Homebridge v1.3.8 (HAP v0.9.7) (homebridge-hikconnect) is running on port 40074.
[DS-KV8113-WME1/1/0@@model] characteristic value expected string and received undefined
[DS-KV8113-WME1/1/0@@firmware Revision] characteristic value expected string and received undefined
[DS-KV8113-WME1/1/1@@model] characteristic value expected string and received undefined
[DS-KV8113-WME1/1/1@@firmware Revision] characteristic value expected string and received undefined

@judge
Copy link
Owner

judge commented Nov 25, 2021

That is really strange. So it seems now the script is able to log in but there is something wrong with the data. Could you please help me debugging the issue?

@hijacker123
Copy link

Is there a solution for the issue above available ?

I am receiving similar messages after start together with a Hikvision Doorbell DS-KV8113-WME.

[09/01/2022, 11:37:27] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge ABB6) is running on port 51761
[09/01/2022, 11:37:29] [homebridge-hikconnect] Launched child bridge with PID 1702
[09/01/2022, 11:37:30] Registering platform 'homebridge-hikconnect.HikConnect'
[09/01/2022, 11:37:30] [homebridge-hikconnect] Loaded homebridge-hikconnect v1.1.0 child bridge successfully
[09/01/2022, 11:37:30] Loaded 1 cached accessories from cachedAccessories.0E32ADD5B6B3.
[09/01/2022, 11:37:30] Homebridge v1.3.9 (HAP v0.9.8) (homebridge-hikconnect) is running on port 57564.
[09/01/2022, 11:37:31] [homebridge-hikconnect] This plugin generated a warning from the characteristic 'Model': characteristic value expected string and received undefined. See https://git.io/JtMGR for more info.
[09/01/2022, 11:37:31] [homebridge-hikconnect] This plugin generated a warning from the characteristic 'Firmware Revision': characteristic value expected string and received undefined. See https://git.io/JtMGR for more info.

'Model string' = DS-KV8213-WME1
'Firmware version string' = V2.2.53 build 210907

@judge
Copy link
Owner

judge commented Jan 10, 2022

Could you help me debugging this issue with the steps I described in the previous comment? I got no response from @rbourg55 :(

@hijacker123
Copy link

Could you help me debugging this issue with the steps I described in the previous comment? I got no response from @rbourg55 :(

I would like to remove my personal serial information and IP-Adresses...is this OK, still suitable ?

@judge
Copy link
Owner

judge commented Jan 11, 2022

Thanks! I'll have a look soon!

@judge
Copy link
Owner

judge commented Jan 11, 2022

I just published a new version of the package, you should not see the warnings anymore. But it should have worked for you even with the warnings, so the question is, is the plugin working correctly for you?

@hijacker123
Copy link

hijacker123 commented Jan 11, 2022

I just published a new version of the package, you should not see the warnings anymore. But it should have worked for you even with the warnings, so the question is, is the plugin working correctly for you?

I updated to v1.1.1

  • The warnings are gone
  • I am now seeing in total 3 lock icons under devices. Is this intended ?
    Number1 is fully functional: a click on it, will open the door including status/message for "unlocked". Switches back to status "locked" after around 2 seconds
    Number2,Number3 if clicked, status changes to unlocked, but with "rotating-ball-of-death". Status switches back to "locked" when clicked/pressed again.

@judge
Copy link
Owner

judge commented Jan 19, 2022

That is strange. You only have 1 lock, right? I'll try to have a look soon with your JSON.

@judge
Copy link
Owner

judge commented Jan 24, 2022

I just checked the JSON and it seems to me you should have only 1 lock.
Could you try remove the devices and restart homebridge? If you go the Homebridge Settings (on the UI) there is a section called "Manage Cached Accessories" and then "Remove Single Cached Accessory".

@dbrownhill
Copy link

I'm seeing the following single log message, however nothing ever seems to happen. No accessories are added, no additional log messages, nothing.

[2/11/2022, 9:24:32 AM] [HikConnect] Initializing HikConnect platform...

....I'll capture the JSON, and send it to you.

@judge
Copy link
Owner

judge commented Feb 13, 2022

Hi @dbrownhill ,

I checked the JSON and it is indeed no getting any locks, your JSON does not have any "lockNum" key which this plugin is searching for. Are you sure your devices have lock functionality?

@judge
Copy link
Owner

judge commented Mar 23, 2022

I'll close this, please open a new issue if needed.

@judge judge closed this as completed Mar 23, 2022
@dbrownhill
Copy link

dbrownhill commented Mar 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants