Hikvision setup

My Automation:

- alias: Doorbell
  trigger:
  - platform: state
    to: 'on'
    entity_id: binary_sensor.porch_sensor_line_crossing
  action:
  - service: notify.pushbullet
    data_template:
      title: Front Door Alert!
      message: Someone is at the front door.
1 Like

I did try notify but i need to move the cameras some first, and get the sensativity to work better.
I have some 4MP and some 2MP cameras, the 4MP is alot better i think.

How well does line crossing works for u? Alot off false alarms?

Line Crossing works great, 0 false alarms, except for the ocasional stray cat.

This would be the next project to keep them away hehehe.

2 Likes

I’m using the regular motion setup in the camera too. Lots of false alarms even with the sensitivity set to 20%. Seems to be when the sun go down or comes up. Think I will try out line crossing today and see how that goes. Do you know if you can do more then one line crossing?

I don’t see any option to add a second line, even though it shows Line 1 above the settings area.

Ya same here. Just playing around with the intrusion detection. I wonder how that works.

Works similar, but with more defined parameters.

Thnx for the automation script. Could you tell how this script should look like with Hikvision screenshot jpg?

See the following discussion.

1 Like

You can only get an higher resolution sub stream if you lower the main stream resolution, its a bit of a trade off unfortnuatly. The higher end hik cameras have enough cpu power to enable both streams as high res, but then you’re paying more.

hope that helps

https://community.home-assistant.io/t/hikvision-setup/196/21?u=trinityeon

Hikvision cameras have two way audio capabilities. It would be awesome to receive the audio on your device through HA. I had another thought of using the mic input from the camera for Voice control. Eg “Hey Google
 turn on this light”

Some useful info:

http://download.viakom.cz/HIKVISION/Manualy/Navod%20Hikvision%20URL%20streaming%20EN.pdf

https://www.ispyconnect.com/man.aspx?n=Hikvision

1 Like

I’m new with home assistant, but one of the things that made me want to try it was this. I have a NVR, the IP cameras, are plugged directly into the NVR. I believe I’ve set everything up correctly.

Home Assistant found 4 motion sensors, and 4 line cross detector devices. But I never get any alerts. I don’t get alerts on my app either. But I do see them if I log into my NVR directly, so I know they are happening.

They are all on the same network, so I don’t think I need any port forwarding, etc.

Any tips, places to check? Anyone else have issues getting their alerts?

Not sure if it works from the NVR, as I’m connecting directly to the Cameras connected to my LAN.

Did you try enabling "Notify Surveillance Center on the NVR / Cameras?

image

Yes, Actually when the notify surveillance center is unchecked, home assistant does not add them as sensors. I found that out because they were not checked at first.

Try using the Virtual Host Address for the Cameras, which should read the data directly from the Camera.

How do I do that? Sound promising.

Enable Virtual Host on the NVR, and then you can access the Cameras directly at http://nvr_ip_address:65001 for Camera_01, 65002 Camera_02, etc


2 Likes

Hi all
I want to add hikvision camera to my HA. I have camera connected to my HikVision NVR and i have enable Virtual host for camera. Example camera is on ip NVR and port 65002.

I add this configuration to my HA but i dont see image from camera:
camera:
platform: mjpeg
mjpeg_url: http://xxx.xxx.xxx.xxx/Streaming/Channels/2/preview
port: 65002
username: admin
password: xxxxxxxxxx

Please help me.

did you ever find a solution for the Hikvision NVR feeds?

I also need this info