eu-evops / homebridge-hikvision

28 stars 21 forks source link

Think this plugin should work with a video door station system? #19

Open sddgit opened 3 years ago

sddgit commented 3 years ago

I have a system that consists of a video door station and two inside wall panels. It's used purely as a "door bell". I can access the camera, answer the ring, get notifications etc using the Hik-Connect app on an iPhone. Does anyone know if this should work? I'm using the same credentials in the config as in the app, but getting this at startup:

(node:6257) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined at AxiosDigest.getWwwAuth (/Users/serveruser/.nvm/versions/node/v14.15.3/lib/node_modules/@evops/homebridge-hikvision/node_modules/axios-digest/index.ts:69:13) at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use node --trace-warnings ... to show where the warning was created) (node:6257) 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 --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:6257) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

EDIT: If it makes a difference, I'm running the latest Homebridge beta...