DS-KD8003 - DS-KV8113 - DS-KV8213 - DS-KV6113 - DS-KV8413 and .... integration Hikvision HikConnect Video intercom doorbell

:sunny: :sunny: :sunny: :sunny:THIS THREAD IS LOCKED :sunny: :sunny: :sunny: :sunny:,
Please visit part 2:

Hi, this thread is all about the possibility to integrate commands in HA, Local commands, but i also now added commands for Cloud, based on HikConnect APP, see below
Confirmed devices : DS-KV8413, KD8003 and DS-KV8113 KV8213 DS-KV6113 and others…

I do this for fun , like me work?? you can give a donation :slight_smile:

**Addons **

See here for add-on , it can capture all events, and also open a door, no need for ISAPI (older devices supported now)

All kind of other commands below: …

Video Stream rtsp:

rtsp://user:[email protected]:554/ch1/main/av_stream
rtsp://user:[email protected]:554/Streaming/Channels/101
rtsp://user:[email protected]:554/Streaming/Channels/102
rtsp:/user:[email protected]:554/cam1/h264

ISAPI command : Open a door / Relay

To open an electrical door (relay 1 or 2)
curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/1

ISAPI command : Doorpress event

curl -i --digest -u admin:xxxx http://192.168.0.70/ISAPI/VideoIntercom/callStatus?format=json&channelType=tripartitePlatform

for other models:

curl -i --digest -u admin:xxx http://192.168.x.x/ISAPI/VideoIntercom/callStatus?format=json

Should give as output : “idle” , “ring” , “onCall”

{
"CallStatus":{
"status": "idle"
}}

Based on :

Example Rest Sensor

- platform: rest
  name: Doorbell Status
  authentication: digest
  username: admin
  password: <password>
  scan_interval: 1
  resource: http://192.168.0.XXX/ISAPI/VideoIntercom/callStatus?format=json
  value_template: "{{ value_json.CallStatus.status }}"

There is also now an HikConnect integration based on cloud and work in progress:

15 Likes

I have this model, at the moment I’ve been able to integrate the camera through the RTSP stream.
Did you buy it eventually? How far have you got with the integration in Home Assistant?

Yeah bought it ,together with indoor…
No integration possible i think, but I have the camera stream in HA.

And on indoor station, i have an relay connected to my ESP board, so when someone presses the doorbell i can work with notifications and also start recording with synology and steam video to google hub…

Also, i was able to setup those stations with a SIP PBX server, it you don’t want to use Hikconnect app…
Because I was unable to find to change a ringtone there… Also if you use Hikconnect, it always activates speaker mode… So there is always an echo for the person outside

1 Like

I haven’t been able to get the URL for the still image. Have you used the hack explained in the other thread?

Nah , don’t need it, i am using a synology surveillance system, so I have the camera exposed from there…

The use of a SIP server is interesting. What did you install?

I am testing with FreePBX

Alltough, at the end i don’t see any advantage using sip, if you are satisfied with hikconnect app

I’m still in the middle of testing everything.
I had updated the outdoor station to the latest firmware 2.2.3 which was meant to support ONVIF, but HA did not recognize the camera. Did you experience the same?

Didn’t try onvif, rtsp works fine for me

Alright. And in terms of motion detection of the intercom camera, do you have motion events sent to HA from your surveillance system?

No, i disabled motion events, i only record 3 min on a doorpress event… I have other camera outside with motion enabled :slight_smile:

What indoor system have you bought?

I went for 2 DS-KH8350-WTE1 and 2 DS-KH6320-WTE1 indoor stations (it’s a 4 apartments building)

Ah ok, cool

I bought the 9310 model, based on android, to run HA :slight_smile:
But seems the requirements are just too low to run any app, mine will be replaced by a newer model soon

I stayed away from it right because it was not very flexible :slight_smile:
Also, apartments owners just needed an easy to use video intercom system, nothing more.

It’s the same screen, just with with 1 more option that doesn’t work :slight_smile:

How exactly did you hook up to the indoor station to get the doorbell button pressed event?

There is a function in ivms “calling linkage”, then you can define an output relay, that will trigger on a doorpress button

guys, first step into integration, with command below you can open the door from HA :

change offcourse password and ip

curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/1

3 Likes

Great Fabio!
this is working also on DS-KV8113-WME1, with both door locks output!
In my case “door/2” is a gate

it’s months i was looking for something working on this Hikvision series.
Mirco