Giter Club home page Giter Club logo

homebridge-hikvision's Introduction

Homebridge Hikvision plugin

**The original plugin that is based on handles IP cameras, this plugin handles Analog cameras.

Homebridge plugin that connects to your HikVision DVR and exposes your cameras in Homebridge. The plugin is heavily based on excellent homebridge-camera-ffmpeg.

This plugin will automatically discover all cameras connected to your DVR and will expose them to homebridge. You will get access to stream video (including sound) directly from your home app, will get push notification with screenshots of the motion events - this needs to be configured in HikVision DVR and additionally in Home app under home settings - you will need to enable notifications.

Installation

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

sudo npm install -g homebridge-camera-ffmpeg @ferronrsmith/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 DVR

The plugin does not detect motion itself, it responds to events generated by the DVR using HTTP Event API. The relevant code for this lives at https://github.com/node-packages/homebridge-hikvision/blob/master/src/HikvisionApi.ts#L73.

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

image

You might also find this YouTube video useful:

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

Setup Notifications

homebridge-hikvision's People

Contributors

ferronrsmith avatar philippkrone avatar sponte avatar tstordyallison avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.