Hikvision Doorbell Camera – Chime and Motion Sensor

Thanks @lolouk44

@mLaupet not sure where to look. I think mine its 190 415668

Mine is V1.4.62 build 180809 for a DS-KB6403-WIP
Got it from there
https://www.hikvisioneurope.com/eu/searchportal/model/ds-kb6403-wip

Thanks a lot @lolouk44 . I also have the DS-KB6403-WIP, but on V1.4.62 build 180515. When I compare the RTSP stream in Blue Iris it seems darker and worse quality then what I see in the web interface in Internet Explorer. That might be the same problem you experienced?

Did you upgrade with the Web interface or insert of SD card? Is the camera 100% stable on this firmware?

I’ve only had the doorbell does les than a week now and it’s sitting on a window sill until I actually mount it on the wall. Can’t say I’ve experienced any stability issues with either firmware, but with the newer one the sub stream keeps working. With the 515 it would open the first frame then freeze on it (audio still working) on VLC. Motion would not pick up the stream either
With the latest stream it feels better. Even the Web interface feels more responsive, but that could be me.
Only thing left to fix for me is the motion sensor Via pyhik…

Anyone has found a different way to get the ring notification without tasker? Actually I’m using the “tasker way” but with my internet connection all became incredibly slow.

As the device supports a mechanical bell, is possible to make a device, maybe with an esp, to catch the ring and locally send an mqtt message? I don’t know how to catch the “ring” on the power line

I’ve read something about a reed-switch near the mechanical doorbell, in my country mechanical doorbell are not used and don’t know what kind I have to use. Someone can suggest a mechanical chime that works with that device? I can’t understand the principle of the chimes i’ve seen on the net: if the bell rings when the button closes the circuit how the device is powered when the circuit is open?

1 Like

I’ve found that my two devices (a laview and a u-bell) are found in IFTTT ezviz integration. maybe is possible to get the doorbell ring via IFTTT. In the configuration page there are a lot of trigger but not an explicit “doorbell ring/call/button”. I’m making some tries

@lolouk44 I’m interested in knowing how you do the face analysis on the video stream. do you use opencv?

I was using facebox but have up since. I’m only using tensorflow to detect persons now which I am I really care about

Hi,

Anybody been able to use the stream: component with this KB6403_WIP ?
I get an error during startup, but do have a different Hikvision cam working great.

Test the same URL in VLC and works great, so kind of stuck…

Thank you for your post, I have done the same automation for other purpose, However I have used Automate app instead of tasker and autonotifaction.

Great
Maybe you can share your process as it may be simpler

I have used Automate app can be found in this link

To start with it you need to creat new work flow

You will be in a page with one block

Click on the block and change the title to your desire then save

Add another block called notification posted? Under interface,

Click on the block and configure it

Add new block called plug-in action and configure it

The work flow should be like this:

Then run the workflow

I’m using hassio in Virtual Machine , in the same pc I’m using the virtual machine Android.

I hope it is helpful and I’m ready if any clarification required

Thanks again

1 Like

I’ll stick with Tasker for now, because “if it ain’t broke, don’t fix it” but also because there were reports that automate can use more memory than Tasker, and since I’m running it on an old galaxy tab 5…
But Thanks for sharing indeed, this is really helpful

In case it helps others, I’ve also noticed that the hikvision app tends to hang every so often so I have a separate flow that kills the hikvision app every day at 4am (unlikely to get visitors then) and restarts it

Works flawlessly otherwise

For motion detection, I use motion in combination with tensorflow so I only get alerted when a person is detected

1 Like

Guys, created a new thread here with all ISAPI info, its possible to poll ISAPI events for Hikvision products, to capture doorpress event, open a relay (door)…

all info here:

1 Like

@lolouk44 Trust you’re well.
Have you tried the button press commands shared by @pergola.fabio

Hi @juan11perez

I’m well thanks. Just tried it on my DS-KB6403-WIP (It was on my to do list, thanks for the nudge :wink: )
Unfortunately I get this:

Can't locate the url

You?

Thank you. I have a DS-KB6003.
Same result. No url.

I’ve got an older Hikvision KB8112-IM doorbell. The open gate command is different according to this REST API reference.

Here is what worked for me:

curl --digest -u admin:pass -X PUT -d '<RemoteOpenDoor version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"><gateWayIndex>1</gateWayIndex><command>unlock</command><controlSrc>src</controlSrc></RemoteOpenDoor>' http://<door_bell_ip>/ISAPI/VideoIntercom/remoteOpenDoor

Quick reference how to set up an “open gate” door button:

switch:
  - platform: command_line
    switches:
      open_gate_door:
        command_on: >
          curl --digest -u admin:pass -X PUT -d '<RemoteOpenDoor version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"><gateWayIndex>1</gateWayIndex><command>unlock</command><controlSrc>src</controlSrc></RemoteOpenDoor>' http://<door_bell_ip>/ISAPI/VideoIntercom/remoteOpenDoor

I hope somebody will find this reference usefull.

All ISAPI info is here:

1 Like

For those of you using MotionEye, it is possible to use a webhook (instead of mqtt) :wink:
image

Sensor:

 - platform: template
    sensors:
      frontdoormotion_sensor:
        value_template: "{{ is_state('input_boolean.motiondoorcam', 'on') }}"
        friendly_name: Front Door Motion Sensor
        device_class: motion

Automation;

alias: Front Doorcam motion detected
description: ''
trigger:
  - platform: webhook
    webhook_id: doorcam
condition: []
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.motiondoorcam
  - delay:
      hours: 0
      minutes: 0
      seconds: 30
      milliseconds: 0
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.motiondoorcam
mode: single
initial_state: true