I hope someone can help me with this. I searched around and couldn’t find an answer to this.
I am running HA 0.74.0. My camera is DS-2CD2432F-IW running v5.4.5. I followed all the instructions and suggestions but I can’t get my HikVision cameras binary sensors working. I am trying to automate lights on/off when motion or line crossing is detected. I added the following to my configuration.yaml file:
Binary Sensors
binary_sensor:
platform: hikvision
host: 192.168.1.62
username: user
password: pass
My camera motion and line crossing works because I get notification form the camera when either happen. So I know its not the camera. I have all the triggers and authentications enabled on the camera. Where do I go from there. Can anyone please guide me through this?
I found the issue after watching videos of Hik setup…
I had to click on the picture and create a red grid on it, to make an area of motion detection.
Watch out, it only works on IE (not Edge/Firefox/Chrome)
I also tried to use the HikVision integration in HA. I’m using a DS-7604NI-K1 NVR with 1 camera connected. I can view the network stream over RTSP and also integrate that in HA. Now I want the motion and line crossing sensors.
First problem, I can’t find both of the CGI-Bin authentication methods as described above. I’ve found and enabled the option under System->Security and set that to Digest/Basic. The option Under Network->Advanced settings doesn’t exist. I’ve only the tabs SNMP, Email, Platform acces, HTTPS and “Overig” (something else).
The connection between HA en the NVR is oke. I’ve tried to configure the module with a wrong user/password and then I see Authentication errors in the HA log. I’ve corrected the username/password but now I don’t see any error, BUT also none of the hoped sensors.
I’ve first tried with a quite empty config
binary_sensor:
Maybe I found the problem. At the top of this topic it is described that the Hikvision CGI options and authentication must be turned on. My NVR does not have all that menu items.
I found the option “System-> Security-> Authentication” and put it on “digest / basic”.
I can not find the other option. Under “Network-> Advanced Settings-> Integration protocoll” and then the checkbox “Enable HikVision-CGIU” and the CGI authentication dropdown is not there, so I can not put it on digest / basic. The whole menu items ’ Integration protocoll’ is not there, the last option is ‘Other’.
Nope I tried to connect to the NVR. As I read in the documentation this is possible: When used with a NVR device the sensors will be appended with the channel number they represent. For example, if you configure an NVR with the name “Home” that supports 2 cameras with motion detection and line crossing events enabled to notify the surveillance center the following binary sensors will be added to Home Assistant:
Directly connect to the camera’s isn’t possible, because the IPTV cams that are connected to the NVR are in a different subnet that the my home automation and the NVR itself. My HA server got 192.168.4.100 ipadres, the NVR got 192.168.4.60. The camera’s behind the NVR got 192.168.254.x range.
You must check Notify Surveillance Center at the linkage methode. After checking that and restarting HA, the sensors are added. Damm it could be quite simple when you know the solution.
I’ve got DS-7216HGHI. I turned on the Notify Surveillance Center everywhere, but I don’t have “digest / basic” option in the configuration.
HA sees the motion sensors, but the entities don’t change.
I have analog cameras. Could it be the problem?