--- title: "Hikvision integration with Link’nX: events and scenarios" description: Trigger Link’nX scenarios from Hikvision camera events (motion, intrusion, license plate, face, people counting) and control the camera’s privacy mask. canonical: https://wiki.can-nx.com/en/integrations/hikvision/ language: en --- # Hikvision integration with Link’nX: events and scenarios With Link’nX, the events of a Hikvision camera can trigger scenarios: motion detection, intrusion, line crossing, region entrance or exit, license plate, face recognition, person density or temperature alarms. An action can also enable or disable the camera’s privacy mask. This page sums up what the integration does and the commissioning order. ## What the Hikvision integration does | Need | Where to configure it | Guide | | --- | --- | --- | | Declare the camera with its IPv4 address and account | **Devices → Security & Access → Hikvision** | [Declare a Hikvision, Reolink or UniFi Protect camera](https://wiki.can-nx.com/en/guides/link-camera-devices/) | | Send the camera’s events to Link’nX | Camera interface, with the **How to configure HIK device** help | [Prepare the transmission of Hikvision events](https://wiki.can-nx.com/en/guides/link-hik-events-setup/) | | Start a scenario on an event, filtered by region, target, plate, name or rule | **HIKvision** triggers | [Use Hikvision commands and events](https://wiki.can-nx.com/en/guides/link-hik-automation/) | | Enable or disable the privacy mask in a scenario | **HIKvision** actions | [Use Hikvision commands and events](https://wiki.can-nx.com/en/guides/link-hik-automation/) | ## Step-by-step commissioning 1. [Declare the camera](https://wiki.can-nx.com/en/guides/link-camera-devices/): name, IPv4 address, username and password of the intended account. 2. [Configure event transmission in the camera](https://wiki.can-nx.com/en/guides/link-hik-events-setup/): Link’nX address as the destination, URL **/hik**, then **Notify Surveillance Center** for each event to process. 3. [Prepare the HIKvision trigger or action](https://wiki.can-nx.com/en/guides/link-hik-automation/), choosing the event before the camera. 4. [Add it to the intended scenario](https://wiki.can-nx.com/en/guides/link-compose-scenario/), then check the scenario’s activation and conditions. ## Good to know - In the variant illustrated by the help, the destination is set in **Configuration → Network → Advanced Settings → Alarm Server**, under **HTTP Data Transmission**, over HTTP on port 4000. The help recommends fixed IP addresses for the camera and Link’nX. - Zones, rules, thresholds, the plate allow list and people’s names are configured on the camera; the Link’nX trigger filters the events received. - In a trigger, all the criteria filled in must match; an empty field or **--** ignores a simple filter. Counting requires an operator and a number of people, face recognition a minimum rate from 0 to 100%. - The privacy mask must be prepared in the camera. A mask action that works does not prove that events are transmitted. - An automation based on a vehicle’s direction of movement, or a **!=** comparison, must be confirmed with support before it is put into service. Reolink and UniFi Protect cameras are declared in the same guide: see [Reolink](https://wiki.can-nx.com/en/integrations/reolink/) and [UniFi](https://wiki.can-nx.com/en/integrations/unifi/). For other cameras and intercoms, see [Security and video surveillance](https://wiki.can-nx.com/en/usages/videoprotection/). ## All Hikvision guides ### Devices and integrations - [Add a Hikvision, Reolink or UniFi Protect camera in Link’nX](https://wiki.can-nx.com/en/guides/link-camera-devices/) - [Hikvision in Link’nX: event triggers and privacy mask](https://wiki.can-nx.com/en/guides/link-hik-automation/) - [Hikvision Alarm Server: send camera events to Link’nX](https://wiki.can-nx.com/en/guides/link-hik-events-setup/)