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

Hi,
was anybody able to capture the “open door” button press event from Hi-Connect?
I would like to open a gate via HA when “door open” event is registered.

Thanks,
K.

Only possible with ISAPI Alertstream or SDK

Hi,
I’m able to get the ring status, open door ect - all works fine, thanks to your post, but I get no data when executing this
curl -i --digest -u admin:xxx http://192.168.xxxxxxISAPI/Event/notification/alertStream

output

HTTP/1.1 401 Unauthorized
Date: Mon, 06 Sep 2021 12:34:30 GMT
Server: webs
Content-Length: 235
Connection: close
X-Frame-Options: SAMEORIGIN
Cache-Control: no-store
Pragma: no-cache
WWW-Authenticate: Digest qop="auth", realm="DS-5F2Fxxxxx", nonce="M2VmMmI5NDRiMGY1OWVhY2YxYTcwMjZjNxxxxx=", stale="false", opaque="", domain="::"
Content-Type: application/xml

HTTP/1.1 200 OK
Date: Mon, 06 Sep 2021 12:34:30 GMT
Server: webs
Content-Length: 40
Connection: close
X-Frame-Options: SAMEORIGIN
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>

shall I get sth more?

I tried to use yo uscript, how do I get the Bearer?
“‘Authorization’: ‘Bearer ¨XXXXX’,”

Thanks in advance

hey , the alertstream only works with the custom firmware, have you installed that one?

nope, I thought it will work on KV6113 @latest firmware… I have no direct wire connection between the lock and KV6113, I will have to drill… I have only 1 ethernet cabel (in fact not even etherent but 8x0.5 which works just fine) to the KV6113, so I thought I would be able to catch the signal and trigger the lock to open the gate from HA

anyway, is there a custome firmware for KV6113?

Hmm don’t think it will work on that model, it was custom made by request on D’s kd8003… I think you need the SDK to obtain that info

A the end I used a drill and did the hole for additional wire, so I can unlock the gate by “open the door” in Hi-Connect.

I’m struggling with next thing, I would like to get the pictureon some evnt in HA, it works on other camers I own,
http://192.168.1.64/ISAPI/Streaming/Channels/1/picture
http://192.168.1.64/Streaming/channels/101/picture
but when I try with Intercom

## Access Error: 405 -- Method Not Allowed

Requested method GET not supported for URL: /Streaming/channels/101/picture

or

<ResponseStatus xmlns="http://www.std-cgi.com/ver10/XMLSchema" version="1.0">
<requestURL>/ISAPI/Streaming/channels/101/picture</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
<subStatusCode>invalidOperation</subStatusCode>
<errorCode>1073741830</errorCode>
<errorMsg>invalid operation</errorMsg>
</ResponseStatus>

do you know if I’m able to get the picutre from intercom like I get from camer?

Thanks!

Hmm, i take snapshots from the Synology integration, but can’t you just use snapshots from the camera itself in HA? If you add the camera with rtsp protocol?

guys, anyone figured out how to capture the http stream url? (not rtsp)

i tried like:

I tried:

http://192.168.0.70/ISAPI/Streaming/channels/1/preview
or
http://192.168.0.70/ISAPI/Streaming/channels/101/preview
or
http://192.168.0.70/ISAPI/Streaming/channels/1/httpPreview
or
http://192.168.0.70/ISAPI/Streaming/channels/101/httpPreview

but doesn’t work :frowning:

Is there any way to get call status with DS-KD-KK extension? We are 3 appartments with DS-KD8003 and a DS-KD-KK and i want to know which button is pressed…is that possible?

Should be possible with the custom firmware

With the already custom firmware or a new one? I can not understand how i can understand which button is pressed when the url of the command is the same? Can you explain it plz?

i havent tried yet, but maybe if you have more buttons on the 8003 with , it will show it also in isapi
only possible with custom

alternative you can use the SDK ?

Hi @pergola.fabio,
Thank you a lot for this topic and your work on it !

My device : DS-KD8003 // V5.5.52build 180704

I confirm the ISAPI command : Open a door / Relay work fine for both locks !
For the ISAPI command : Doorpress event i have always “idle” return with my firmware.
You talk about the Custom firmware for this’s API, but where did you find the one you post ? on the English download center?

No, itt not available on hikvision site, onle here on this forum, it was created especially for us :slight_smile:

Anyone try the new version of the standard firmware?? Looks like 2.2.53 from 09/07/21

Is there a homebridge plugin to trigger the door lock mechanism? I know this is a HA forum, but I’m stuck with this problem and can’t seem to find anyone to make this plugin. I’m a noob in coding so I’m not sure if it’s even possible.
I just want a button in HomeKit to trigger the lock mechanism in a DS-KD8003-IME1

Hi everyone, for those focusing on Hik-Connect cloud rather than local access (= eg. flat owners who doesn’t have admin access to Hikvision recorder) I created a Hik-Connect integration. Details, discussions, questions, bugs, etc. – please in the integration thread. Hope it helps someone!

Please correct link on github to repo which we must add to HACS. Now i try test your integration.

Very good job :slight_smile: I write suggestion and model in your thread about this integration.

Hi @pergola.fabio
Thank you for your hard work and everyone helped in this.
and I have an issue updating to the custom firmware, I have this version V2.2.50 build 210728 and the custom is V2.2.45_210721, and I keep getting Upgrading failed while trying to upgrade. Since I have the newer version I thought maybe this feature is included so I tried to add the rest sensor to homeassistant but I gut Idle status even when I press the button.