Enabling ONVIF On Hikvision Cameras
-----------------------------------
Affected Roles: Owner, Administrator
Related DW Products: DW Spectrum IPVMS
Last Edit: August 6, 2024
-----------------------------------
Third Party Additions
When ONVIF compliant cameras are added to a network, DW Spectrum Servers and VMAX IP Plus Series NVRs will attempt to automatically detect and add them using an Auto Discovery feature. However, if the camera is a third-party device and is using its factory default features, issues may arise during this process.
Hikvision cameras, for example, can be discovered within the camera network, but will often be unable to be automatically added due to their default security settings. Following Hikvision’s v5.5.0 firmware update, their ONVIF function is disabled by default.
This article will outline how to configure a Hikvision camera for making additions to a VMAX IP Plus unit or to DW Spectrum.
**NOTE: Please use the Digital Watchdog camera compatibility lists for DW Spectrum or for the VMAX IP Plus if you are unsure if the camera will be supported by your Server or NVR.
Supported/Affected Devices
- DW Blackjack Series
- VMAX IP Plus Series
Detecting the Camera
When configuring an IP camera, the user must know the camera’s networking information to connect with the camera’s web interface, add it to a Server, or for general network awareness.
Most third-party camera manufacturers will provide a detection software tool that can be used to locate the camera on the network, identify its IP address, or to identify its model information.
To acquire this type of software, you can visit the Hikvision Tools web page and download either the SADP Tool or Batch Configuration Tool (varies depending on Hikvision camera model).
Alternatively, if you know the camera’s default login information, ONVIF Device Manager (ODM) is another detection tool that can be used to locate and identify ONVIF compliant devices within the camera network.
**NOTE: If you are unsure which tool to use or require further assistance, please contact Hikvision for more information regarding their cameras.
Configuring the Hikvision Camera
Part 1 – Logging In and Enabling ONVIF
If you are encountering issues with adding a Hikvision camera:
- Locate the camera on the network. You can use either ODM or the Hikvision discovery tools to help locate the camera on the network.
**NOTE: The Hikvision Batch Configuration Tool features an ONVIF Configuration feature that can be used to simultaneously activate the ONVIF function in multiple cameras. This is an alternate method to using a web browser to activate the ONVIF profile in Hikvision cameras.
- Open a web browser and enter the camera’s IP address into the address bar.
Enter the camera’s Admin login. Refer to the Hikvision camera’s User Manual to obtain the default information.
**NOTE: If you are using the default login of the camera, you may be prompted with a notification to change the camera’s password.
**NOTE: If the camera is connected to the integrated PoE switch of a VMAX IP Plus NVR, please read Connecting With Cameras Through Virtual Ports (VMAX IP Plus) to connect with the camera. Otherwise, you must connect the camera to a PoE switch that is separate from the VMAX IP Plus to continue with this setup.
- After logging in as an administrator, navigate to Configuration > Advanced Settings > Integration Protocol.
- Enable the “Enable Open Network Video Interface“ setting to turn the ONVIF function on.
For the Open Network Video Interface security setting, change the setting from “Digest” to “Digest&ws-username token”.
Click the Save button to apply the changes.
**NOTE: In older HikVision cameras in, addition to enabling ONVIF, it is recommended to also enable the “Enable Hikvision-CGI” setting.
[Optional] Create an Additional ONVIF Profile
If the HikVision camera does not transmit an ONVIF signal after enabling the ONVIF integration setting (Part 1 – Logging In and Enabling ONVIF), you can create an additional user profile within the camera to attempt a resolution.
- Click the Add button to create an ONVIF profile.
- To create an ONVIF profile for use with Digital Watchdog products, we recommend the following settings:
- Username: name as “onvif”.
- Password: assign an authentication password for the ONVIF profile; use the same password that was assigned as the login for the camera’s web interface.
- Confirmation: reenter the password.
- Level: set as “Administrator”.
Click the OK button to add the new ONVIF profile.
**NOTE: These login settings are the same Username and Password that will be used when adding the camera to DW Spectrum or to a VMAX IP Plus.
- The new ONVIF profile will display in the User List.
Click the Save button at the bottom of the window to apply the changes.
Part 2 – Disable Illegal Login Lock
While not a requirement, it may be helpful to disable the Hikvision camera’s Illegal Login Lock setting. While using the auto-discovery feature of DW Spectrum, the Spectrum Server will repeatedly attempt to access the camera using default credentials. This may cause the Hikvision camera to auto-lock itself for 30 minutes. Even if the rest of the steps in this guide have been performed correctly, the camera will appear as “unauthorized” in DW Spectrum.
You can find this setting by navigating to Configuration > Security > Security Service.
Part 3 – Synchronize Time Settings
You will want to have the camera set to synchronize its time settings with the DW Spectrum Server computer’s time settings. If the time of the camera is offset by more than 10 minutes, in comparison to the DW Spectrum Server, the ONVIF connection may not authenticate correctly.
To synchronize the camera with the DW Spectrum Server:
- Navigate to Configuration > System Settings > Time Settings.
- Select “Manual Time Sync” and enable the “Sync. With computer time” setting.
- Click the Save button to apply the changes.
Part 4 – Adjust Security Authentication Settings (Digest Auth)
In some cases, you may need to change the security authentication method of the camera.
To switch to using digest/basic authentication:
- Navigate to Configuration > Security > Authentication.
- Change the RTSP Authentication setting to “digest/basic”.
- Change the Web Authentication setting to “digest/basic”.
- Click the Save button to apply the changes.
Guide Summary
This concludes the recommended settings for enabling ONVIF on a Hikvision camera, for use with DW Spectrum IPVMS.
If necessary, you can test if ONVIF is working by using the ONVIF Device Manager (ODM) detection tool to confirm that the camera’s ONVIF output is detected.
For more information on troubleshooting IP camera streams, you can refer to the article IP Camera Streaming Troubleshooting Guide.
For More Information or Technical Support
DW Technical Support: 866.446.3595 (option 4)
https://www.digital-watchdog.com/contact-tech-support/
______________________________________________________________________________
DW Sales: 866.446.3595 [email protected] www.digital-watchdog.com