0.1.0 • Published 2 years ago

homebridge-infraspec-camera-utilities v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Homebridge Infraspec Camera Utilities plugin

Homebridge plugin that connects to your HikVision NVR and exposes fucntionality from your hikvision cameraaa.

Installation

In order to use this plugin, you need to install homebridge-infraspec-ui and homebridge-hikvision as per below:

sudo npm install -g homebridge-infraspec-ui @evops/homebridge-hikvision --unsafe-perm

Configuration

To configure, add this to your config.json for homebridge under platforms node:

{
  "platforms": [
    {
      "platform": "Hikvision",
      "host": "nvr-host",
      "port": 443,
      "username": "admin",
      "password": "very-secure-password"
    }
  ]
}

At this time, these are the only configuration options available. Once you've added the platform to your config, (re)start your homebridge instance, and configure your cameras on your iPhone or iPad, iOS will prompt you for each camera in your system.

Enable notifications in HikVision NVR

The plugin does not detect motion itself, it responds to events generated by the NVR using HTTP Event API. The relevant code for this lives at hhttps://github.com/infrared-inspection-systems/homebridge-infraspec-camera-utilities/blob/master/src/HikvisionApi.ts#L73.

You must set up notifications in the NVR configuration as per below screenshot:

image

You might also find this YouTube video useful:

https://www.youtube.com/watch?v=-R_dtE9o9WI

Setup Notifications