Skip to main content

Hikvision Direct camera setup

Hikvision Direct connects Hikvision cameras and recorders (DVR / NVR) to CleverCam with no hub and no other hardware on site. The device connects out to CleverCam over the internet, so it works behind any router with no port forwarding and no fixed IP address. It is the Hikvision counterpart of Dahua Direct.

The device does the first detection. Each alarm arrives with its picture, and by default CleverCam verifies that picture before anything reaches the control room. A camera can instead be switched to pass-through, where the camera's own person or vehicle detection raises the event.

How a device reaches CleverCam​

On most Hikvision cameras and recorders it is one setting: Platform Access (ISUP 5.0). The device registers with CleverCam and keeps that connection open. When it registers, CleverCam hands it everything else itself: where to send its alarms and their pictures, and its time server. Its alarms arrive with their pictures, the registration is the device's heartbeat, which is how CleverCam knows it is alive, each camera's preview picture is refreshed from its own video once an hour, and its cameras play live in CleverAlert.

Older firmware without ISUP 5.0 uses the original ways instead, which take several settings:

What it carries
HTTP Listening (event push)Every detection the device raises. Every Hikvision firmware has it.
FTP (timed pictures)A picture from every channel every 5 minutes, plus event pictures. The timed picture is the device's heartbeat, and once an hour it also becomes the camera's preview picture.
EmailEvent emails with the picture attached, for an older recorder that has no FTP.
Time sync (NTP)The heartbeat of an older recorder that has no FTP: it checks its clock against CleverCam every 5 minutes.

Which way does my device use?​

DeviceSet up
Platform Access offers ISUP 5.0 (most current cameras, NVRs and thermal cameras)Platform Access (ISUP 5.0) only
Older firmware with an FTP page under Network → Advanced, but no ISUP 5.0HTTP Listening + FTP
Older DVRs without FTPHTTP Listening + Email + Time sync

On older firmware a device uses FTP, or email plus time sync, never both. A device set up with the event push only has no heartbeat. It is heard from only when it detects something, so CleverCam cannot tell a quiet device from a dead one.

Thermal cameras have two channels: 1 is the visible picture and 2 the heat picture. Each is its own camera in CleverCam. Add either or both.

What you need​

  • A Hikvision camera or recorder that can reach the internet, with a working DNS server in its network settings (the server address is a name). A device on DHCP normally has one. A device given a fixed IP by hand often does not.
  • On Platform Access, the device connects out on TCP ports 7660 to 7664. Most sites allow this. A site whose firewall blocks outgoing ports must open them.
  • The device's admin login, to open its web page on site once.
  • Its MAC address and LAN IP address, if you want to add its cameras before it has connected. Both are in its web page under System → System Information, and the MAC is on its label.

1. Create the hub​

Video Creating a Hikvision Direct hub · 0:25

You can start from either place:

  • On the Hubs page, on the Hubs tab, click Add Hikvision Direct.
  • On the site itself, open Hardware → Inventory, click Add hub in the Hubs & cameras card and pick the Hikvision Direct tile.

Read the Hikvision Direct Billing Agreement and click Continue. Hikvision Direct is billed per camera channel, with a minimum of one. The agreement shows the price.

CleverCam creates the hub and shows Hikvision Direct hub created with the hub's serial, the connection details to enter on the device, and a Devices list that fills in as devices connect. Keep it open for the next step. The same details are in the hub's camera picker later, under How to point a device at CleverCam. See Where to find the camera picker.

The connection details belong to this hub only. The ISUP Key (and, for older firmware, the URL and the Password) are hidden until you click the eye to show them. The copy button copies a value without showing it.

A hub made from the site's Add hub is already linked to that site. A hub made from the Hubs page is not linked yet. Link it to the site before adding cameras.

2. Point each device at CleverCam​

Video Pointing a device at CleverCam · 0:30

On every camera or recorder, open its web page and enter the values from the connection details. Each value has a copy button. Menu names differ a little between models and firmware.

Step 1: Platform Access (ISUP 5.0), the one connection setting​

Go to Network → Advanced Settings → Platform Access (on newer menus: Network → Device Access) and enter:

FieldValue
EnableOn
Platform Access ModeISUP (older firmware calls it EHome)
ISUP Version5.0
Server Addressthe server name shown
Portthe port shown
Device IDa different one for every device on the hub: the hub's serial followed by letters or digits, for example a1b2c3d4nvr1 or a1b2c3d4therm1. The connection details suggest some.
ISUP Keythe one shown for the hub

Use letters and digits only in the Device ID: a dash or any other symbol makes the device refuse the setting with Invalid XML Content.

That is the whole connection. Within about a minute the page shows Register Status: Online and the device appears under Devices. It needs no HTTP Listening, FTP or Email settings.

If Platform Access has no ISUP 5.0, the firmware is too old for it. Update the firmware, or use Older firmware instead of this step.

Step 2: Which detections raise an alarm​

Go to Event → Smart Event and use Intrusion Detection, Line Crossing Detection or Region Entrance. For every detection you use, on every channel, draw its area or line, arm it, and under Linkage Method tick Notify Surveillance Center. A detection without it is never sent.

Smart events are the better choice: each one arrives with its own picture. Plain Motion also works over Platform Access, but it arrives without a picture, so CleverCam takes one frame of the camera's video and checks that instead. The frame comes 2 to 8 seconds after the motion, so someone who has already left the view is missed.

Step 3: Clock​

Go to System → System Settings → Time Settings, set the time zone to GMT+02:00 and set Time Sync to NTP. A device on Platform Access is given CleverCam's time server when it registers. On older firmware, see below. Hikvision devices often ship on Beijing time (GMT+08:00), which stamps every event and picture six hours out.

If the device will not take the name

The server address is a name so that CleverCam can move the service without anyone visiting the site. If a device refuses it, or has not appeared a few minutes after saving, check that it has a DNS server. If it still fails, enter the IP address shown under the host name instead. Each address field in the connection details carries that fallback.

Older firmware: no ISUP 5.0 under Platform Access​

In CleverOps these steps are folded away under Older firmware, lettered A to D so they never read as part of the Platform Access setup. Only a device that cannot do step 1, such as an older recorder, uses them. Do steps 2 and 3 above as well. For the time server in step 3, a recorder without FTP uses the one in step D. Any other device can use any server, for example pool.ntp.org.

Do step B on a device with FTP, or steps C and D on an older recorder without FTP, never both.

Step A: Events and their pictures. Go to Network → Advanced → HTTP Listening (some firmware calls it Alarm Server) and fill in:

FieldValue
Destination IP or host namethe server name shown
URLthe one shown for this hub (it is unique to the hub)
Portthe port shown
ProtocolHTTP

Then, for every detection you use (Motion, Line Crossing, Intrusion and so on) on every channel, go to Event, open the detection, then Linkage Method, and tick Notify Surveillance Center.

Step B: Heartbeat and preview picture (devices with FTP). Go to Network → Advanced → FTP and enter the Server address, Port, User name and Password shown for the hub. Tick Upload Picture. Then under Storage → Capture, turn on Timing capture every 300 seconds and Event capture, and tick Upload to FTP.

Step C: Email with pictures (recorders without FTP). Go to Network → Advanced → Email and enter:

FieldValue
SMTP server and SMTP portshown for the hub
Enable SSL/TLSas shown (Off)
AuthenticationOn
User name, Passwordshown for the hub (the same as the FTP ones)
Sender's address, Receiver's addressshown for the hub
Attached imageOn, interval 2 s

Then on every channel, go to Event → Motion (and any other detection you use), then Linkage Method, and tick Send Email.

Step D: Time sync = heartbeat (recorders without FTP). Go to System → System Settings → Time Settings, choose NTP, and enter the server address shown with an interval of 5 minutes. Each time check is how CleverCam knows the recorder is alive, so the recorder must use this server and no other.

3. Choose the cameras to monitor​

Video Ticking channels to monitor · 0:26

A device on Platform Access appears in the picker once it registers, usually within a minute. A device on older firmware appears once it sends something: an event, or its first heartbeat (within 5 minutes of setting up FTP or time sync). Each device shows its MAC, LAN and Public address, when CleverCam last heard from it, and which ways it uses. A device on Platform Access shows ISUP, plus any older way it still uses. A device on older firmware shows ISUP unlit first, then Push and FTP (or Email and Time sync on a recorder without FTP), which light up once used. Under the device you see every channel it has named, with its last event and last picture.

A device's status is one of:

StatusMeaning
OnlineHeard from in the last 15 minutes.
OfflineIt has had a heartbeat before (a Platform Access registration, a timed FTP picture or a time check), but nothing for over 15 minutes.
No heartbeatIt has never registered over Platform Access, sent a timed FTP picture or a time check, so it is heard from only when it detects something. Set up step 1, or on older firmware step B, or steps C and D on a recorder without FTP.
Not heard from yetA device added by hand (below) that has not connected yet.

To monitor a channel:

  1. Tick it. Fields appear for its name in CleverCam, its group (the group of the device's other cameras is picked for you), and what it detects: People or People and vehicles. Select every channel not monitored ticks them all.
  2. Click Add 1 camera (or Add N cameras) in the bar at the bottom.

A site with no camera group yet gets one called Cameras. A new camera starts monitoring from its next event or picture.

To change a monitored camera's settings, click Edit next to it. The picker closes and the camera's Edit Video Stream settings open: its name, group, detection profile and Detection mode. Edit sits beside Remove in the picker on the site and in the hub's Edit dialog, for everyone who can add or remove cameras. It is not in the Devices list shown straight after the hub is created.

To stop monitoring a camera, click Remove next to it and confirm Remove camera. This deletes the camera with its settings, schedules and community links, the same as deleting it anywhere else in CleverOps or CleverAlert. The channel stays on the device and can be added again.

Channels and devices that have not reported yet​

A recorder names a channel only once that channel has sent something, so a quiet camera does not show up on its own. You do not have to wait:

  • Add channel: under any device, type a channel number (1 to 128) and click Add. The channel is listed and ticked, ready to name.
  • Add a device CleverCam has not heard from: enter the device's MAC address, its LAN IP address and how many Channels it has, then click List its channels. Every channel is listed and ticked. Untick the ones you do not want, name the rest, and click Add. The device is then listed as Not heard from yet with its cameras, until it connects.

On a recorder the channel number is the camera's position on the recorder, counting from 1, the same number its web page shows for that camera.

Anyone who can add a hub can set this one up. Adding or removing cameras takes the same permission as Add hub: Claim, add & release hubs or Edit sites on the control room the hub belongs to. Site admins and company admins of a control room serving the site can too. Everyone else sees the list without the controls and without the connection details. If the hub is not linked to a site yet, the picker asks you to link it first. The device still shows up in the meantime.

Where to find the camera picker​

  • On the site's Hardware → Inventory tab, the Hikvision Direct hub's + Add Camera button.
  • In the hub's Edit dialog, under Cameras.
  • Straight after Add Hikvision Direct, under Devices.

Pass-through: the camera's own detection​

Each Hikvision Direct camera chooses who decides that an alarm is a real person or vehicle. Open the site's Hardware → Inventory tab, click Edit on the camera (or Edit next to it in the camera picker), and under Camera onboard analytics pick a Detection mode:

Detection modeWhat happens
Verified by CleverCam AI (the default)The camera triggers, and CleverCam's AI must confirm a person or vehicle in the picture before an event is raised.
Camera's own detection (pass-through)Whatever the camera itself classifies as a person or vehicle raises the event. CleverCam's AI only labels it and never holds it back.

The change saves as soon as you pick it.

Pass-through suits a camera whose own detection is better than CleverCam's AI for that scene, such as a thermal camera at night, where the heat picture gives the AI little to confirm. It can mean more false alarms: anything the camera calls a person or vehicle becomes an event. The camera's Targets still apply, so a camera with only Person ticked does not raise a vehicle.

Only the camera's smart events carry a person or vehicle target: Intrusion, Line Crossing and Region Entrance (step 2). Plain motion, a rule that names no target and a device Test raise nothing in pass-through.

Only Hikvision Direct cameras have this switch. On a Hikvision Direct camera, Camera onboard analytics holds the detection mode, What raises an alarm and Box on the alarm picture; the event chips, Route as and Refresh options that cameras on a CleverCam hub have do not apply to it.

What raises an alarm​

Under Detection mode, What raises an alarm lists what the camera itself can detect, as CleverCam last read it from the camera. CleverCam reads it when the camera first connects and then about every hour. Until it has, the panel says The camera's options appear after its next check (up to an hour).

  • Tick the detections that may raise an alarm. CleverCam ignores an unticked one, even when the camera sends it. Until you change anything, every detection is ticked except Fire and Temperature.
  • switched off on the camera: the rule exists on the camera but is off. CleverCam never switches the camera's own rules on or off: switch it on in the camera's web page (step 2).
  • ⚠ on, but the camera's Notify Surveillance Center is off, so nothing reaches CleverCam: the rule is on, but its Linkage Method does not tick Notify Surveillance Center (step 2).
  • ⚠ Nothing this camera detects is sent to CleverCam, so it cannot raise an alarm shows above the list when that is true of every detection that is on. The camera then raises nothing at all, armed or not. See Sent to CleverCam.
  • Fire and Temperature appear only on a camera that reports them, such as a thermal camera. They raise on the camera's word alone, because CleverCam's AI can't check fire. Fire raises E110 Fire alarm, which tells customers to evacuate. Temperature raises E158 High temperature. Both follow the camera's arm state like other alarms.

Targets shows Person and Vehicle, for the targets the camera's rules can tell apart. Only alarms about the ticked targets are raised, on the camera's own rules and by CleverCam's AI. At least one stays ticked, and Vehicle on its own works. On these cameras Targets takes the place of Detection profile. A camera whose rules do not tell people from vehicles has no Targets: it keeps Detection profile under Configuration, and in pass-through it raises nothing.

Every change here saves at once.

Box on the alarm picture​

Box on the alarm picture chooses whose box is drawn on the picture an alarm arrives with:

ChoiceThe alarm picture shows
The camera's boxThe box the camera drew around its own target. Offered only on a camera that sends one. On a thermal camera's heat channel the alarm picture is then the heat picture, because the box is drawn in the heat image's coordinates.
CleverCam AI's boxesThe boxes CleverCam's AI drew around what it found. The default with Verified by CleverCam AI.
No boxThe picture as the camera sent it. The default in pass-through.

The camera's settings in CleverOps​

A Hikvision Direct camera's Edit Video Stream shows only what Hikvision Direct uses:

  • Device: the camera's model, its MAC and its Channel, read-only, with Save stream settings under it. CleverCam matches the camera's alarms by its device and channel, so there is no RTSP stream URL to change. To monitor another channel, add it in the camera picker.
  • High sensitivity sets the sensitivity of the camera's own detection rules.
  • Detection profile, where it shows, also sets the targets on the camera's own rules. On a camera that reports its targets it is replaced by Targets (above).
  • Arm mode, Animals on site, Guard Tours and Video specs are not shown: nothing on Hikvision Direct uses them.

Sent to CleverCam​

A Hikvision device sends a detection to CleverCam only when that detection's Linkage Method ticks Notify Surveillance Center (step 2). Without the tick the detection is on, the camera looks healthy, and nothing ever arrives. CleverCam reads the tick from the device at each hourly check and shows it in the camera's Device health as Sent to CleverCam, under Motion detection:

ShowsMeans
✓ the detections that are sent, for example Intrusion, Line crossingEvery detection that is on in the device is sent.
i Motion not sent (for example)That detection is on but not sent, while another is sent and still raises alarms. Not counted as an issue: tick it on the device only if you want it to raise too.
⚠ Not sentNo detection that is on in the device is sent, so the camera cannot raise an alarm, armed or not.

Not sent counts as a device issue. The camera's row shows an amber ⚠ Sent to CleverCam badge in the site's Hardware → Inventory and in Performance → Site quality → Cameras, Device health says the camera cannot raise an alarm until it is fixed, and What raises an alarm repeats it above the list.

The tick is set on the device, so Fix on camera cannot change it. On the camera's or recorder's own web page:

  1. Go to Configuration → Event → Motion Detection (on some firmware under Basic Event or Normal Event), or to the smart event, such as Smart Event → Intrusion Detection. On a recorder, pick the channel.
  2. Open Linkage Method, tick Notify Surveillance Center, and Save.
  3. On a recorder, do the same for every other channel CleverCam monitors, or use Copy to.

The warning clears at the device's next check, within the hour. A walk test that raises an alarm proves it sooner.

Only Motion, Intrusion, Line crossing, Region entrance and Region exiting count. Fire and Temperature do not, so a camera whose detections are not sent still warns when its fire alarm is. When the device does not say whether a detection is sent, CleverCam does not warn.

What to expect​

  • Live view over Platform Access. A camera on Platform Access plays live in CleverAlert like any other camera. The first open takes about 5 to 15 seconds, and opening it again soon after is almost instant. A camera on older firmware without ISUP 5.0 cannot stream, so its live view fails and its preview picture is all you see.
  • Alarms bring pictures, then a clip. Each alarm arrives with its pictures. On an armed event from a camera on Platform Access that records to a memory card (or a recorder's disk), CleverCam fetches the camera's own recording from 6 seconds before to 14 seconds after the event, about 20 seconds later, and attaches it to the event. A camera without a card has the pictures only. Chimes have no clip.
  • Follow-up pictures. After a detection over Platform Access, CleverCam keeps watching that camera, one frame a second. Every frame that still shows the person or vehicle raises one more alarm or chime, with its own picture. Something parked or standing still does not count. It stops after three frames in a row with nothing, eight extra pictures or 40 seconds. A camera that reached eight pictures or 40 seconds is not followed again for a minute.
  • Scroll back. In CleverAlert and CleverCommand, Scroll back plays a camera's own recordings over Platform Access: the day's list of recordings, and any minute of it. How far back it goes depends on the card. A camera without a card says so. A camera on older firmware without ISUP 5.0 has no Scroll back.
  • Tamper alarms. When the camera itself reports that it is covered or blinded (video tampering), CleverCam raises it the way the camera's Tamper settings in CleverAlert say, as it does on a CleverCam hub: an alarm event, or the control room's triage queue, when the camera is armed (or as set there). Off unless tamper is switched on for that camera. At most one per camera per cool-down (30 minutes unless set).
  • The preview picture refreshes once an hour: over Platform Access from a frame of the camera's own video, and again whenever the site is armed or disarmed; on older firmware from its timed FTP picture. The picture of each detection also replaces it.
  • Device health and Fix on camera. Over Platform Access, CleverCam reads each camera's own setup every hour and shows it under the camera's Device health: motion and smart detection, whether its detections are sent to CleverCam, memory card and recording, resolution, clock, and any speaker or alarm outputs. The first check puts motion detection, the clock, the main-stream resolution and the recording schedule right by itself, and Fix on camera does the same later. On a recorder, only motion detection and the clock are changed.
  • What the camera detects reaches the device. Over Platform Access, the camera's People or People and vehicles setting is written into the device's own smart rules and motion target. The device then stops sending what nobody asked for. Regions and lines stay as drawn on the device.
  • Siren and Talk down. A device with a speaker plays its alert audio, again and again, for as long as the site's siren runs: after a verified armed event or when an operator sounds it. Talk down in CleverCommand plays it too. An alarm output is switched only where CleverCam support has named it as the siren for that device, because an output may drive a gate. A warning light cannot be switched from CleverCam on current Hikvision firmware, and there is no live talk.

Hikvision AX PRO alarm panels​

A Hikvision AX PRO alarm panel can register on a Hikvision Direct hub as well, with the same server, Device ID and ISUP Key as a camera (step 1). The panel keeps reporting through its radio or receiver exactly as before, and that signal is still what raises the event. A panel whose only path is Hikvision Direct raises nothing.

What the direct connection adds, once CleverCam support has linked the panel to its alarm hub:

  • PIRCAM pictures on the alarm event. When a PIRCAM zone triggers, the panel sends its pictures over the direct connection. CleverCam puts the first one on the alarm event that the radio signal raised for that zone, and the others under it, within about 40 seconds. If no event for that zone is found, the pictures go onto an alarm from that panel that opened in the last 30 minutes, and if there is none they are not shown. Only PIRCAM zones have pictures, and the panel does not send them with every alarm.
  • Arm and disarm from CleverAlert. With control switched on for the panel, its areas can be armed away, armed stay and disarmed from the app. See Alarm Panels. This arrives with the next CleverAlert release.

Both are switched on per panel by CleverCam support: there is no setting for them in CleverOps yet. Alpha, tried on two test panels (firmware V1.2.9 and V1.3.1).

Troubleshooting​

The device never appears, or Register Status stays Offline. Check the Platform Access settings are exactly as shown: the Device ID starts with the hub's serial and has only letters and digits, and the ISUP Key is the hub's (a device with the wrong key is refused). Check the device can use the server name (see the note under step 3) and that the site lets it connect out on TCP ports 7660 to 7664. On older firmware, check the HTTP Listening host, port and URL are exactly as shown (the URL is unique to the hub), and that Notify Surveillance Center is ticked on the detection, then walk in front of a camera.

The site is armed and the camera looks healthy, but nothing is raised. Open the camera's Device health. Sent to CleverCam: Not sent means no detection that is on in the device has Notify Surveillance Center ticked, so the device never tells CleverCam: see Sent to CleverCam. Detection path: Nothing yet with Motion detection: On is the usual sign.

Motion is detected but nothing is raised. Over Platform Access, plain Motion is checked on a frame CleverCam takes 2 to 8 seconds later, and a person who has already left the view by then is missed. Use Intrusion, Line Crossing or Region Entrance, which arrive with their own picture (step 2).

Scroll back says the camera has no memory card. Fit a microSD card in the camera, format it on the camera's web page under Storage → Storage Management, then press Fix on camera so its recording schedule is switched on.

The device shows No heartbeat. Events arrive but no heartbeat has. Set up Platform Access (step 1). On older firmware, set up FTP and the Timing capture (step B), or, on a recorder without FTP, Time sync every 5 minutes against the server shown (step D). Many firmwares have a Test button on the FTP and email pages.

The device shows Offline. Nothing for over 15 minutes. Check its power and internet, and that Register Status on its Platform Access page says Online. On older firmware, check its FTP or time-sync settings have not changed.

A recorder without FTP sends events but no pictures. Check Send Email is ticked in the detection's Linkage Method on every channel, and Attached image is on in the email settings (step C).

A recorder's camera is not listed. That channel has not sent anything yet. Add it by number with Add channel.

Events and pictures are stamped at the wrong time. The device's clock or time zone is wrong. See step 3.

A camera is listed under "Cameras no device channel accounts for". Its camera record has no MAC address or channel CleverCam can read, or another camera already has that channel. Remove it and add the channel from its device.