# homebridge-infraspec-camera-utilities

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

Latest version **0.1.0** (published 2022-09-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install homebridge-infraspec-camera-utilities
pnpm add homebridge-infraspec-camera-utilities
yarn add homebridge-infraspec-camera-utilities
bun add homebridge-infraspec-camera-utilities
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-09-19 |
| First published | 2022-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 4 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | ladellerby |
| Keywords | homebridge-plugin |

## Links

- npm: https://www.npmjs.com/package/homebridge-infraspec-camera-utilities
- Repository: https://github.com/infrared-inspection-systems/homebridge-infraspec-camera-utilities
- Homepage: https://github.com/infrared-inspection-systems/homebridge-infraspec-camera-utilities#readme
- Issues: https://github.com/infrared-inspection-systems/homebridge-infraspec-camera-utilities/issues
- npm.io page: https://npm.io/package/homebridge-infraspec-camera-utilities

## Dependencies (4)

- [xml2js](https://npm.io/package/xml2js.md) ^0.4.23
- [highland](https://npm.io/package/highland.md) ^2.13.5
- [axios-digest](https://npm.io/package/axios-digest.md) ^0.1.1
- [homebridge-camera-ffmpeg](https://npm.io/package/homebridge-camera-ffmpeg.md) v3.0.3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2022-09-19
- 0.0.1 — 2022-09-16

## README

# 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:

```bash
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:

```json
{
  "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](https://user-images.githubusercontent.com/47468/103291461-af287480-49e3-11eb-9db9-18708b35b3c3.png)

You might also find this YouTube video useful:

https://www.youtube.com/watch?v=-R_dtE9o9WI

[![Setup Notifications](https://img.youtube.com/vi/-R_dtE9o9WI/0.jpg)](https://www.youtube.com/watch?v=-R_dtE9o9WI)

---
_Source: https://npm.io/package/homebridge-infraspec-camera-utilities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
