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

omg :slight_smile: , good luck

you can also wait for the hikconnect integration, i have passed info to Thomas, he is going to integrate those commands also

1 Like

Dear Fabio,
Am so obsessed with this integration I never had the chance to thank you for time and effort you have put into this project. If it wasnā€™t you I think that we would never have the chance to integrate the door bell to HA. So here it goes
THANK YOU VERY MUCH!

Before I update, I want to try a little bit to open the door.
If the port 80 is closed, do you think I should try to change the port to 8080 from within Hikvision and then also change the curl command to port 8080 ??

Do you think it will work ???
If not, which version do I have to install ?
Would you please give me the download link ??
Would this version support stream, open door, and button pressed ???

Hi, no i think in your case port 80 is closed by the firmware itself, you have an verry old firmware
so changing to 8080 is not going to help

Try upgrading first to 2.2.45 build: 210430

http://www.hikvisioneurope.com/uk/portal/?dir=portal/Product%20Firmware/Hikvision/Access%20Control%20%26%20Video%20Intercom/Video%20Intercom/Second%20Generation%20Video%20Intercom/Security2.0/Modular%20Door%20Station/Main%20Module

also update all modules
also update ivms 4200

Also do a reboot to factory settings afterwards, you are coming from 1.0 to 2.0 , factory reset is needed

if all working fine, update to 2.2.45 210721 custom if you want, see first post in this thread

then everything should work as expected

how to update all modules? what firmware ?
how to update ivms 4200 ?? what version? please share download link

Itā€™s all on the portal, just browse itā€¦

http://www.hikvisioneurope.com/uk/portal/?dir=portal

Hi
I have a 1 gen video intecom. Now after integration from Thomas i have ringing status and view from camera by rtsp. My configuration camera looks like:

  - platform: generic
    name: doorstation
    authentication: digest
    still_image_url: rtsp://user:[email protected]:554/Streaming/channels/101
    stream_source: rtsp://user:[email protected]:554/Streaming/channels/101

But when i try take a snapshoot in JPG from doorstation i get error in HA:

Logger: homeassistant.components.generic.camera

Source: components/generic/camera.py:155

Integration: generic (documentation, issues)

First occurred: 14:09:54 (13 occurrences)

Last logged: 14:22:30

Error getting new camera image from doorstation: Request URL has an unsupported protocol 'rtsp://'.

Is any solution to get snapshot from this camera doorstation ?

RTSP is not a still image url, I think thata why it failsā€¦

RTSP is for video, not imageā€¦

Maybe try onvif?

Have you tried one of the stand image urls like:

http://192.168.xx.xx/ISAPI/Streaming/Channels/101/picture

That isapi never worked for me, maybe indeed for older models

Not working

Have you tried onvif? I think you can enable that protocol on your camera, maybe with new firmwareā€¦

Another approach, is to install the motioneye added n, there you can generate image urlā€™s

On my Door station option i dont have any option to enable ONVIF

Maybe itā€™s alrewdy there, download onvif manager, it will tell you

I had a quick search on your model, DS-KV8102-Im and users report no ISAPI on this model.

Not sure if it would suit your needs but could you not remove the still_image_url from that and then you can use the camera component to take an image and store it locally?

You was right!
After upgrading to 2.2.45 build: 210430 the port 80 is now open ā€¦

thank you for this.

I know have stream working and can send curl commands for the door to open.
But when I test it I get the following error

[core-ssh ~]$ curl -i --digest -u admin:1234qwer -X PUT -d 'open' http://192.168.70.220/ISAPI/AccessControl/RemoteControl/door/1
HTTP/1.1 401 Unauthorized
Date: Thu, 27 Jan 2022 17:49:23 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-D35B66A6", nonce="OTRlY2FiYjljY2I2OTQxOTMwZjk5NmE0NmRlZTY0ZTc=", stale="false", opaque="", domai                                                          n="::"
Content-Type: application/xml

HTTP/1.1 400 Bad Request
Date: Thu, 27 Jan 2022 17:49:23 GMT
Server: webs
Content-Length: 397
Connection: close
X-Frame-Options: SAMEORIGIN
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="1.0" xmlns="http://www.std-cgi.com/ver10/XMLSchema">
<requestURL>/ISAPI/AccessControl/RemoteControl/door/1</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
<subStatusCode>invalidOperation</subStatusCode>
<errorCode>1073741830</errorCode>
<errorMsg>invalid operation</errorMsg>
</ResponseStatus>

I still get unauthorized when sending the curl command. Anybody know why?

Yes,. You are sending again the wrong url :slight_smile:

Silly me! I am sorry !
But what is the correct url ?

I copied it from post 1. It looks the same

What you mean ?

Not sure whatā€™s wrong, but you are missing the XML brackets? Try to copy paste it on a Linux terminal? Are you testing from a windows prompt?

Thatā€™s a software took, google it, it will tell you if your device is onvif compatible