Return to site

Onvif Ip Nvr Setup

broken image


Hikvision is the world largest security system distributor. As a results, it also has the most abundant OEM partners as listed by IPVM.

However, connecting your IP camera to a Hikvision NVR isn't always straightforward.

ONVIF is an open industry forum that provides and promotes standardized interfaces for effective interoperability of IP-based physical security products. ONVIF on GitHub. Visit the ONVIF GitHub and contribute to the development of ONVIF network interface specifications. If you click the Setup Tab, the IP Camera Setup window will be appeared. INSTALLATION AND OPERATION (3). The NVR will set the motion area in the full screen. If the user wants to set the motion only for the speci˜c area, the user should set up the motion manually by accessing to the IP camera web.

This article will try to cover step by step instruction on adding your 3rd party IP camera to a Hikvision NVR. If you have a Hikvision camera and a Hikvision NVR, you should consult Hikvision support directly.

So we will be analyzing this from different scenarios. And please review each question one by one for your setup.

Onvif Ip Nvr Setup

1. Figure out the connection: are you powering the camera using the NVR?

Scenario A: No.

If 1) you don't wish to power the camera with the Hikvision PoE NVR, 2) your NVR cannot provide sufficient power to the camera or 3) if you are using a non-PoE NVR , then you will be powering your IP camera using a DC12V adapter or a PoE switch/injector.

And then NVR and camera needs to be connected to the same network. The NVR has a LAN uplink port that can be connected to the switch or a router.

Below is a simple wiring diagram.

Or if you prefer to use DC12V adapter, then you can connect them as follows. On a separate note, it is always recommended to use a separate non-PoE switch for surveillance devices only.

Note even if you have a PoE NVR, you can still connect your IP camera to the Hikvision NVR using the above diagram through the NVR's LAN port.

Scenario B: Yes.

When you say 'yes', we assume you want to power your IP camera directly to the built-in PoE switch located on the back of the Hikvision NVR.

Then let's first verify two things:

1).Is your IP camera a PTZ camera?

If so, then please make sure this Hikvision POE NVR also supports 802.3at protocol? This can be found from the specification sheet of your NVR posted by Hikvision.

802.3at is the protocol used by PTZ cameras.

802.3af is the protocol used by fixed bullet/dome cameras.

2). Does your NVR has sufficient budget for this camera?

Please take a moment to check the specification sheet of the PoE NVR and see its overall budget (power).

Note a fixed camera takes 15W and a PTZ camera takes 25W.

For example, the Hikvision DS 7608NI-I2/8P has 120W budget and 8 PoE ports. If it has already connected to 7 bullet cameras, taking a total of 15W x7 = 105W. So the remaining port is only sufficient to power 1 bullet camera. You cannot add an additional PTZ camera to the 8th port.

Note even if your POE NVR cannot provide sufficient power to the IP camera, you can STILL connect the IP camera in a 'Non-PoE NVR' application as shown in diagrams from the Scenario A above.

2. Are you familiar with the ONVIF port of your Hikvision NVR?

For a 3rd party IP camera, you will most likely have to add the camera to the NVR using the ONVIF protocol. Most modern IP cameras are already ONVIF compatible to ONVIF supported NVR (except some baby wifi cameras and some wifi doorbell cameras).

You should be aware of your IP camera's ONVIF port, and the default value of which is usually standard to each manufacturer.

For example, the default ONVIF port for Sunba is 8899.

Tip: The default ONVIF port for many other manufacturers are same as the HTTP port, which is 80. Once you change the HTTP port of the camera, the ONVIF port changes correspondingly.

Therefore, you should consult your IP camera manufacturer if you are not sure as this is the critical value that you need to enter into the NVR's camera management section later .

You can usually find the IP camera's ONVIF port under the network section of the camera's UI configuration page.

3. Pre-configure the IP of the camera.

Once you figure out the ONVIF port of your IP camera, as well as how to properly power the camera and connect it to the NVR, the last step you should do before proceeding to the Hikvision NVR's camera management page is to configure the IP of the camera to ensure it is on the same subnet as the NVR.

For example, if the router is at IP 192.168.1.1 and the NVR is at IP 192.168.1.8, you must modify the IP of the camera to 192.168.1.XXX so that all 3 equipments are on the same network.

In certain cases, if you just bought a new NVR, you might have to modify the IP of the NVR instead to match the other two equipments.

If you connect directly to the built-in PoE switch of the NVR (in Section 1. Scenario B), then please be aware Hikvision has a separate NIC (network interface card) dedicated for its built-in POE switch. The default value for this separate NIC is usually 192.168.254.1 (unless otherwise changed by user).

This means:

Hikvision NVR switch's built-in NIC (Internal NIC IPV4 Address) = 192.168.254.1

This built-in NIC is DIFFERENT FROM NVR's IP itself.

All cameras connected to Hikvision NVR's built-in switch must be matching the subnet as its NIC.

Hikvision NVR will automatically recognize Hikvision IP camera and modify their IP automatically to 192.168.254.2, 192.168.254.3 etc.

That's why you should also enter your camera's configuration page, and modify its IP to 192.168.254.XXX if you opt to connect the camera directly to the POE NVR. Don't forget to set its gateway to be the same as the NVR switch's built-in NIC.

Once you have configured the IP of the camera, connect the camera to the NVR per the method noted in Section 1. Figure out the connection: are you powering the camera using the NVR? and then go to the camera management section.

For 'adding method', please select 'Manual'.

Add the username, password, IP and ONVIF port (management port) of the camera.

And click OK.

For Sunba IP cameras, please refer to this video on how to connect your camera to a Hikvision POE NVR:

It's very easy to add an ONVIF IP camera to a Hikvision DVR or NVR. A third party ONVIF IP camera is a camera that supports the ONVIF protocol and you can hook up that camera to any Hikvision recorder (hybrid DVR or NVR). In this guide we will explain step-by-step how to add an ONVIF IP camera to a Hikvision recorder.

Which Hikvision recorders work with ONVIF cameras?

Let's clarify which Hikvision recorders are compatible and are able to correctly show third party ONVIF cameras. There are two types of recorders that work with ONVIF IP cameras:

  • Hikvision Hybrid DVR. These types of DVRs are called hybrid DVRs and they support HD over coax analog cameras (such as HD-TVI and AHD), regular analog cameras (CVBS) and also the IP cameras. The number of supported IP cameras varies from one IP camera to 2, 4 and more (it depends on the model of the DVR). For example, you have a model like the Hikvision DS-7208HGHI Turbo Hybrid DVR you are ready to get your IP camera on as long as it is the camera itself is ONVIF compliant.
  • Hikvision NVR. This one doesn't need too much explanation, it's a Network Video Recorder and it's designed to work with IP cameras. All Hikvision NVRs support ONVIF protocol, meaning you can connect/add third party cameras as long as these camera are ONVIF compliant.

If you don't know if your Hikvision DVR supports IP cameras than google the model and find the information on the specification page on the Hikvision website. Or ask the dealer/reseller.

The wiring diagram

Before you start doing the settings, it's important to understand how these devices will be connected and addressed. Check out the wiring diagram below. Your setup should be similar.
The diagram shows a laptop with the IP address 192.168.1.5 and the ONVIF camera's IP address is 192.168.1.100 which is wired to the router. The IP address of the Hikvision DVR/NVR is 192.168.1.150. There may be other cameras hooked up directly to the recorder (they can be HD analog cameras, or other IP cameras going to a the built-in PoE switch etc). That's not very important in this demonstration, all we need is a laptop, the camera going to the router and the recorder connected to the same router.

How to add an ONVIF camera to a Hikvision NVR or DVR?

The setup process is quite simple, double check the diagram shown on the previous section. The IP camera, the laptop and the recorder must be on the same network and, of course, their IP addresses must be one the same IP range .

Set up the recorder's IP address

Your network IP range may be different than the one shown in this example, however the idea and the procedure is the same. Let's start setting up the IP address on your recorder. Login directly to your recorder using your username and password. Right click with the mouse and then hit Menu. Click the 'Configuration' icon.
Go to the Network and make sure the IP address is in the same range as the camera's IP address. In our case the recorder's IP address is 192.168.1.150 and the subnet mask 255.255.255.0. The gateway is 192.168.1.1 and represents the router's internal address.

Add the IP camera to recorder

We assume they you've already modified the camera's IP address. Each camera has its own software for scanning and modify the IP address, make sure it matches the IP range as shown on the previous diagram. In our example the camera's IP address is 192.168.1.100 and we already know the username and the password to access it. If you're not sure how to find the camera's IP address or modify it, consult the manual that the camera comes with.

Let's add the camera to the recorder. Open the Camera menu as shown in the picture below.
In Camera Management section, click Custom Adding. In the next screen add your IP camera information as shown below:
In our example, we added the following information:

  • IP camera address: 192.168.1.100
  • Protocol: ONVIF
  • Management port: 80
  • Transfer protocol: Auto
  • Username: admin
  • Password: camera's password.

Onvif Protocol Ip Cameras

Important note:Check your IP camera to find out if it's compatible with the ONVIF protocol and what's the default ONVIF port. You can use a free software to run the tests (we recommend to use ONVIF Device Manager).

Once the correct information is entered, click the 'Add button'. Your ONVIF IP camera is now added to the Hikvision recorder and you can check the status by looking at the icon (a blue icon).
The message 'Risk Password' in the Security column means we're using a weak password. It's recommended to change the camera password and use a strong one. Go back to the live view to check if you can view the live feed coming from the camera.
Sometimes the camera takes a while to show up on the screen, this is due to the recorder and camera's communication via ONVIF protocol. Keep all your devices update to make sure any bugs are straightened out.

Onvif Ip Camera Viewer

Make sure the camera is set up to record properly. Double check the playback just to make sure. For more information about recording settings and modes, read these two articles:

Onvif Ip Tool

Disclosure:Some of the links in this post are Amazon affiliate links. This means if you click on the link and purchase any item, we will receive an affiliate commission at no extra cost to you. Thanks for your support!




broken image