Hikvision Plugin for Scrypted
Device must have built-in motion detection (most Hikvision cameras or NVRs have this).
If the camera or NVR do not have motion detection, you will have to use a separate plugin or device to achieve this (e.g., opencv, pam-diff, or dummy-switch) and group it to the camera.
There are two options for Two Way Audio:
* ONVIF (Recommended)
* Hikvision (Untested)
Two Way Audio is supported if the audio codec is set to G.711ulaw on the camera, which is usually the default audio codec. This audio codec will also work with HomeKit. Changing the audio codec from G.711ulaw will cause Two Way Audio to fail on the cameras that were tested.
Hikvision's iVMS 4200 software, or similar, may be utilized to configure device as well as create a motion detection grid (required for motion detection and hardware dependent).
Generally, for newer devices the main stream (Stream 1) may be incompatible with HomeKit as it only outputs HEVC.
Configure and specify a substream instead (Stream 2 or 3).
The optimal/reliable codec settings can be found in the documentation for the Homekit Plugin.
NOTE: Snapshots may be inconsistent if using an NVR. A workaround exists if you can access your camera on network without going through NVR (see below Snapshot URL Override). If you can only access your camera through an NVR, then snapshots may not be supported.
* IP Address NVR's IP Address
* Snapshot URL Override camera's IP address (preferred) or specific port number of NVR for that camera (may work). That is: http:// or http://. 720p snapshots seem to be more stable than 1080p or higher: http://
* HTTP Port Override check your NVR device settings (it may be 1080 instead of 80)
* Channel Number Override camera's channel number as known to DVR (i.e., 101, 102, 103, etc.)
* Default Stream Properly configured video codec stream (Main Stream = Stream 1; Sub Stream 1 = Stream 2; Sub Stream 2 = Stream 3; and so on)
CGI and ISAPI integration protocol/service on device is enabled, and (5) that the authentication method on the device is set to "digest". Username) have proper user and/or group permissions? Try granting all permissions for testing. CGI protocol is enabled in device settings (may be located at Network->Advanced Settings->Integration Protocol) and (2) lower Snapshot resolution with an Override Snapshot URL (above) to request a lower resolution snapshot (i.e. 720p or lower).Default Stream number in device (in Scrypted).alertStreamPlayback and Live ViewEvent / Notificationoperator (user group)