How do I connect a Hikvision DVR or NVR to GoKavach?
You connect a Hikvision recorder by choosing Hikvision in the brand list and typing in five things. GoKavach builds the RTSP address from them, so you never write the address yourself.
- Host: the recorder's public IP address or its DDNS name.
- Port: 554, unless whoever installed the recorder changed the RTSP port in its network settings.
- Username and password: the recorder's own login, usually the admin user set on the recorder's screen. The Hik-Connect app account is a different login and won't work here.
- Channel: the camera's number on the recorder, 1 for the first camera.
- Test: GoKavach shows a picture from the camera. If it does, save it and draw the areas to watch.
What is the Hikvision RTSP address format?
A Hikvision address ends in /Streaming/Channels/ followed by the channel number and a two-digit stream number. Channel 1's main stream is 101, channel 3's is 301 and channel 16's is 1601. An ending of 02 instead of 01 is the sub stream, the smaller copy of the same picture.
The main stream is the full-resolution picture the recorder saves to its disk. The sub stream is a second, lower-resolution copy the recorder makes for remote viewing. The Hikvision preset builds the address ending 01 for the channel you enter. In live view you can then switch a Hikvision camera between HD and SD, which is the main stream and the sub stream, so a slow connection at the location doesn't leave you with a frozen picture. The Hikvision RTSP URL guide and generator list every channel's address.
Should a Hikvision recorder connect directly or through the site connector?
Connect directly only when the location has a public IP address or a DDNS name and you can forward a port on its router. In every other case use the site connector. Both read the same RTSP stream; what differs is which side starts the connection.
- Direct: forward the recorder's RTSP port, 554 by default, and enter the public address as the host. Hikvision's documentation lists a separate server port, 8000 by default, for its own client software. Forwarding that one carries no video to GoKavach.
- Site connector: install it on a Windows 10 or 11, Mac or Linux computer at the location that stays on, a Raspberry Pi included, and pair it with a code from the dashboard. It looks on the local network for devices answering on the RTSP port, lists the recorder and makes one outgoing connection.
- Disk alerts and the siren: these two use the recorder's web port, 80, not the RTSP port. The connector passes that port along with the video. On a direct connection port 80 has to be reachable too.
What works on a Hikvision recorder beyond alerts?
Everything in the table on this page works on Hikvision firmware, because GoKavach talks to Hikvision recorders in their own language rather than only reading video. That adds four things to the alerts, areas, clips and live view every brand gets.
- HD and SD in live view: switch between the main stream and the sub stream while watching.
- Playback of the recorder's own footage on a timeline, and saving a stretch of it as a clip. Hikvision recorders also report where a recording really starts, so the timeline lines up with what plays.
- Hard-disk failure alerts: the recorder's disk is checked every 6 hours, and you are told if it has failed or is missing.
- The siren and light: GoKavach switches on alarm output 1 of the device it is connected to for 15 seconds. On a Hikvision camera added directly, that is its built-in siren and strobe if the model has one; on a recorder, it is whatever siren is wired to the recorder's alarm output.
Can I add all the channels of a Hikvision DVR at once?
Yes. Choose 4, 8 or 16 channels instead of one, and GoKavach tries each channel with the same login and shows which ones return a picture. Tick the cameras you want and they are added together. Unused inputs on the recorder show no picture and are left out.
Which plan fits a 4, 8 or 16 channel Hikvision recorder?
Choose the plan by how many channels you want watched, not by the size of the recorder. A plan has one price whatever the number of cameras on it, and its camera allowance is shared across all your locations.
- To test the connection: Free covers 1 camera, checked every 10 seconds, with app and email alerts.
- 4 channels: Pro covers all four and leaves four for another location. Starter covers 2, which suits a shop that only needs the door and the cash area watched.
- 8 channels: Pro, which covers 8 cameras and adds the automated phone call.
- 16 channels: Business, which covers 16. More than that is an Enterprise conversation.
Why won't my Hikvision camera connect?
Most failed Hikvision connections come down to one of these:
- The wrong port is forwarded. Hikvision recorders use separate ports for the web page, for Hikvision's own software and for RTSP. Only the RTSP port, 554 by default, carries the video GoKavach reads.
- The location has no public address. Many internet connections share one address between customers, so port forwarding can't work. Use the site connector instead.
- The login is the app's, not the recorder's. Use the user and password that open the recorder's own menu.
- The recorder isn't really Hikvision inside. Some recorders sold under other names answer on a different format. When the Hikvision format doesn't connect, GoKavach tries the Dahua format with the same login before giving up.
- Every stream is taken. A recorder serves a limited number of streams at once. Closing a viewer on another phone or computer frees one.
- RTSP is switched off or moved. If port 554 gives no answer on the local network either, look at the RTSP entry in the recorder's network settings. Menus differ by model, so check the maker's support pages for yours.
- The sub stream is disabled. The alerts read the main stream, so they carry on, but the SD button in live view has nothing to show until the sub stream is switched on in the recorder's video settings.
What should I check before relying on a Hikvision camera for alerts?
A test picture proves the connection, not the result. Before you count on a camera, check three things. Paid plans look at each camera as often as every 5 seconds, and every plan once a second while there is motion, but only inside what you set up.
- The night picture. Open live view after dark. If you can't make out a person at the gate, GoKavach can't either.
- The area. Draw an area around the door, gate or stock. A camera with no area alerts for a person anywhere in its view while the location is armed, so switch intruder alerts off on a camera that only sees the street.
- The hours. Set the location's opening hours so it arms itself at closing. A location with no hours set stays armed all day.