judge / homebridge-hikconnect

A Homebridge plugin to communicate with Hikvision smart doorbells via Hik-Connect cloud and allows lock to be unlocked. It exposes doorbell locks as a lock accessories to Homekit.
MIT License
18 stars 1 forks source link

Problem with entering account/password #21

Closed michalesn closed 1 year ago

michalesn commented 1 year ago

Hi, i’ve added the plugin into hoobs, but as per the log I did not enter the account and password into the config correctly, so that the lock will not appear in homekit. Can sb advise (preferably in detail) how to enter the account and password within the config?

Thanks in advance. PS: I am sure there is no other issue, because I already got it working, but after a problem with my himebridge I had to remove the bridge and setup all plugins again and currently I don’t recall how I managed to config the account/password within the hikconnect plugin anymore :/

michalesn commented 1 year ago

[14.03.2023 23:10] [HOOBS] Bridge is running on port 51826. [14.03.2023 23:15] [Hub] hoobs stopping [14.03.2023 23:15] [Hub] HOOBS starting [14.03.2023 23:15] [HOOBS] Loaded plugin 'homebridge-hikconnect' [14.03.2023 23:15] [HOOBS] Loading 1 platforms... [14.03.2023 23:15] [HOOBS] [ERROR] Error: HikConnect needs account and password specified in config [14.03.2023 23:15] [HOOBS] Registering platform 'homebridge-hikconnect.HikConnect' [14.03.2023 23:15] [HOOBS] Bridge is running on port 51826.

judge commented 1 year ago

Hello! I'm not using HOOBS but according to the documentation you can edit the config directly from the web UI: https://support.hoobs.org/docs/60e0d060646faaa152f10dda (check Advanced Editor part)

michalesn commented 1 year ago

Solved. Thanks for the prompt reply, yet I just solved it the second you wrote back-stupid mistake, one blank space within the password field was the problem (copy/paste and not checking it..). Thanks anyway!