Hik-Connect

perhaps, how to check this?

Try to do the same ā€“ uninstall the integration and then add it again. You will have to re-pair which Home Assistant entity corresponds to which physical door lock, if you have more of them.

Hey @tomasbedrich , long time ago :slight_smile:

Havent you tried the sip road? You donā€™t need physical access to the outdoor stationā€¦
I use SIP, but I configure asterisk as an indoor extension, no need to configure sip on the devices itselfā€¦ You can then intercept a call event , just like an indoor extensionā€¦
Door opening should be possible too, because the outdoor station has auto answerā€¦

Advantage is if you use the private hik sip protocol, is that if asterisk is down, the devices still work, and you still have early video on the indoor stationsā€¦

I have also a very easy sip.py file, you can run it with a command line sensor, for every 15 min (registration time out) , it will intercept a doorbutton (sip invite) ā€¦

You can add an extension to your indoor panel, and the sip.py file will register on it

You can build it further to make a call, should allow you to see video also

I have not tried it. Last time I checked it didnā€™t support Raspberry 4B, which is my HW.

Ah indeed, true, I donā€™t have any experience to make it multi arch , the script should work tough

I can share my sip.py script, itā€™s just a script that runs and register as extension on your indoor panelā€¦ It also receives a call, so you push it too HA as a call sensorā€¦
Itā€™s offcourse instant , no polling neededā€¦

You can also just run and make the contact URI the asterisk IP, then setup an incoming trunk on asterisk with IP verification, that will forward an incoming call from your indoor station to asteriskā€¦

Again , no access to outdoor station is needed , you only need admin access to your indoor station

Does that work even if my indoor station doesnā€™t have ISAPI? :slight_smile:

Yes, all is based on the hikvision private sip protocolā€¦ No SDK/ISAPi, I just register like an 2th indoor extension does, it sends some XML header to make it succesfull register

It should also possible to open a door trough sip, but that part is not added yet to script but should be easy toughā€¦
Itā€™s the same when you press the live view on indoor, it setups a sip call to doorstation and sends a DTMF signalā€¦
Or trough asterisk offcourse itā€™s easier

Maybe itā€™s because Iā€™m new to HAā€¦ lol but I downloaded the integration in HACS but I canā€™t find where I would login to HikConnect.

1 Like

config/integrations add integration

1 Like

I have installed the integration. Ring state is OK, Door Open is OK but how can I answer a call?
I do not see any entity.

this integration is not for answering call, if you want answering calls, you need to SIP approach

At the moment it looks like with Webrtc I got sound so strange that it is missing.

webrtc is just for rtsp feed, its not for answering or twoway audio

Hi, I see there are a lot of people here who have experience with Hikvision Intercom and DS-KH8301 indoor station. I have the Chinese version of this intercom. Could someone help me to upgrade the firmware? I canā€™t do it the official way, Iā€™m getting a ā€œlanguage mismatchā€ error message and I even reset one indoor station with Chinese characters and canā€™t reset it, only a firmware upgrade will help. Thank you for your help.

If you have a chinese version you can not update FW. Your FW is probably modified by selles in China.

I have multilangage this intercom and it can be update. I buy it also in China but version multilanguage.
WHat version FW you have in your intecom ?Maybe write to seller and he can send you maybe modified FW.

I have 1.5.1 build 190613, but this version has a bug and I canā€™t connect to the hik-connect server because of it. They fixed it in the next build, I have chacked it in ā€œwhatā€™s newā€ of newer firmware. I have had this intercom for a long time and have tried to solve it in the past. I asked the dealer of course, but he didnā€™t help me. I know some do it from china remotely via Teamviewer. I was resigned to skip this useful feature with the connection to my cell phone and hik-connect, but I happened to come across this discussion through my homeassistant :slight_smile: From what I have read here, I see that some are able to compile their own version of the firmware, so I thought I would ask.

I think this thread is helpfull for you: