ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
248 stars 36 forks source link

Hikvision Door Station #516

Open blackdevil567 opened 3 years ago

blackdevil567 commented 3 years ago

I have an IP Doorstation DS-KIS701 and will include then in my IObroker

Apollon77 commented 3 years ago

Please provide more details ... what you do? Or are you requesting? I do not get the point here

blackdevil567 commented 3 years ago

I want to see the rtsp Stream of my Doorcamera at the vis and activate the Door-opener. For android is a App distributed Guarding vision.

kBrausew commented 2 years ago

have hardware and read the SDK...

I'll try to "nail something together" without the cloud ;-)

but it can take until autumn ... to the alpha version

BTW: with the HAM adapter it is already possible to access it from IOB via the HIK cloud @judge/homebridge-hikconnect checked by myself

marcsauter75 commented 1 year ago

would be great to have DoorBell Integration KV8113 ;)

vmarcs commented 1 year ago

Are there any news on this ?

Andy200877 commented 1 year ago

I want to integrate my Hik KD8003 / ABus TVHS20000 (ModuVis)

Door opener, ring indicater, tamper alarm, stop ring,.....

mcm1957 commented 1 year ago

@Andy200877 Do you plan to write an adapter to integrate your devices or would you like to get an adapter written by another developer?

@ALL If you are interested in this adapter please use Thumbs-up at the FIRST posting.

kBrausew commented 1 year ago

Without the cloud, all attempts at stable communication were unsuccessful. I'm not giving up yet, but I'm grateful for every tip.

I will not do a "copy" of what is already implemented in the HAM adapter, because Cloud...

mcm1957 commented 1 year ago

Without the cloud, all attempts at stable communication were unsuccessful. I'm not giving up yet, but I'm grateful for every tip.

Depending on what you refer to with "all attempts at stable communication were unsuccessful" (technical communication problem, programmatically locks due to device protection firmware, ...) you could possibly get help at iobroker forum or telegram.

forum.iobroker.net https://t.me/+gsX-e8k4mLtmZjZk (german) https://t.me/ioBroker_development (german)

kBrausew commented 1 year ago

Depending on what you refer to with "all attempts at stable communication were unsuccessful" (technical communication problem, programmatically locks due to device protection firmware, ...) you could possibly get help at iobroker forum or telegram.

forum.iobroker.net https://t.me/+gsX-e8k4mLtmZjZk (german) https://t.me/ioBroker_development (german)

I offered to create an ioBroker adapter... it relates to the HIK API/SDK...

mcm1957 commented 1 year ago

Thanks very much for your effort and your time spent for this adapter.

I only wanted to note some resources where you likely would get support for adapter implementation if you are looking for it as long as the existing problems are not too directly connected to the functionality of the HIK Api itself.

Andy200877 commented 1 year ago

Here is the HIK SDK : https://www.hikvision.com/de/support/download/sdk/device-network-sdk--for-linux-64-bit-/

kBrausew commented 1 year ago

... HIK Api itself.

I want to enlarge the functionality compared to the HAM-adapter (with HIK plugin). Unfortunately, ... is not to be operated with the Local-API, at least not satisfactory stable. And reconcile with the cloud API, "only" to have a native ibroker adapter, is not worth the time.

kBrausew commented 1 year ago

Here is the HIK SDK : https://www.hikvision.com/de/support/download/sdk/device-network-sdk--for-linux-64-bit-/

that's not operable on NODE-JS

raintonr commented 1 year ago

I want to integrate my Hik KD8003...

I have 2 of these working well.

From what I can tell they don't have an API or nice way to access events.

In order to detect a call I installed an Asterisk SIP server and have the KD8003 dial a number on that. Each station has a different number to dial within Asterisk. Then in the extensions config inside Asterisk have it execute a script which can do anything you like. We have a Loxone system which itself needs to make a SIP call to talk to the intercom caller, so I have Loxone dial yet another number which conferences it in to the original call. Sounds convoluted but works pretty well.

For video handing I use Frigate which is very nice.

Andy200877 commented 1 year ago

To detect a Ring i've connected a Shelly Uni at the Back of the Touchscreenmonitor. That is working really well. But I want to disable the ring of the Monitor, when i open the Door. So i must hangup the voicecall from KD8003. Which API this is not possible by KD8003 and ist works only on SDK.

Or is it possible with Asterisk SIP Server ? KD8003 => Asterix => Abus / Hik Touchscreen Monitor And when i open the Door asterix hang up ?

marcsauter75 commented 1 year ago

Andy can you describe how you did connect the shelly Uni ? Thanks

Andy200877 commented 1 year ago

Screenshot_20230322_202310_Drive

This 2 wires at the input of the shelly and 12v/gnd for power supply for the shelly.

raintonr commented 1 year ago

Or is it possible with Asterisk SIP Server ? KD8003 => Asterix => Abus / Hik Touchscreen Monitor And when i open the Door asterix hang up ?

I don't have an indoor unit - only the KD8003 unit itself - that's it. It's possible to configure that unit to dial an Asterisk PBX (runs fine on an RPi or similar SBC - even some routers) and once the call comes in Asterisk can run a script to do whatever you want. Haven't tried but am guessing it's trivial to execute a second script to have Asterisk terminate the call if that's what you need.

Andy200877 commented 1 year ago

I think it's not possible to use it with asterix. Indoorstation view live video, app,... When its not possible to build a adapter, i think its better to wrote a hik2mqtt bridge. So i can run the bridge on rpi and became all functions over mqtt (ring, open door, sabotage,...)

raintonr commented 1 year ago

I think it's not possible to use it with asterix.

Yes it is. I use KD8003 with Asterisk and it works perfectly.

When its not possible to build a adapter, i think its better to wrote a hik2mqtt bridge.

The problem with this idea is that the KD8003 does not have any MQTT functions (AFAIK). Again, AFAIK the only thing it can do when the intercom 'call' button is pressed is dial a SIP extension. Would love to hear otherwise, that's all I could make it do.

Andy200877 commented 1 year ago

I think it's not possible to use it with asterix.

Yes it is. I use KD8003 with Asterisk and it works perfectly.

When its not possible to build a adapter, i think its better to wrote a hik2mqtt bridge.

The problem with this idea is that the KD8003 does not have any MQTT functions (AFAIK). Again, AFAIK the only thing it can do when the intercom 'call' button is pressed is dial a SIP extension. Would love to hear otherwise, that's all I could make it do.

When yo use the astrix server, do you can use the app on the smartphone ? With pushmessages, liveview, pictures of the last calls,... ? Can you open the door by app ?

With asterix, thf indoor station can only ring and videocall. Live view is not working.

In many foren people writing problems with asterix and missing functions.

At home assist its possible to to all this without asterix. Only by sdk.

When the sdk is not running under iobroker / nodejs, i need a stand alone programm which use the sdk and push all messages by mqtt to iobroker.

When i've a tamper alarm, motionalarm, ring,.. the standalone programm receive this by sdk and push it to iobroker. And when i change a state of an objekt, the standalone programm receive it and bring it by sdk to the dorrbell.

raintonr commented 1 year ago

When yo use the astrix server, do you can use the app on the smartphone ? With pushmessages, liveview, pictures of the last calls,... ? Can you open the door by app ?

The HikVision app? Having the DS call Asterisk does not impact the use of HikVision app. Once a call is triggered you can choose to open the HikVision app to see/speak with caller, or do your own automation to open doors/gates/etc. Or in our case I can open Loxone app to do that also (Loxone call routed through Asterisk). I also have images from the camera sent via Telegram on movement and other events.

At home assist its possible to to all this without asterix. Only by sdk.

Really? You got a link to the code? AFAIK there was no way to interact with the KD8003 via any kind of API so this is why I have it call Asterisk.

...i need a stand alone programm which use the sdk and push all messages by mqtt to iobroker.

Again, show me an API to interact with a KD8003 and will gladly integrate this with IoB.

Andy200877 commented 1 year ago

https://community.home-assistant.io/t/hikvision-doorbell-videointercom-integration/532796

https://github.com/pergolafabio/Hikvision-Addons

raintonr commented 1 year ago

https://community.home-assistant.io/t/hikvision-doorbell-videointercom-integration/532796

"8003 owners need a custom firmware" No thank you :disappointed:

Andy200877 commented 1 year ago

No... 8003 need custom firmware to use all ISAPI Commands.

For the normal HA Plugin you dont other Firmware.

I've installed HA only for my doorstation. It's running with normal firmware and without asterix.

Screenshot 2023-03-25 152405

mcm1957 commented 11 months ago

Without the cloud, all attempts at stable communication were unsuccessful. I'm not giving up yet, but I'm grateful for every tip.

I will not do a "copy" of what is already implemented in the HAM adapter, because Cloud...

Hi, Any news on this project? Is there some development still ongoing?

Please provide an update Thanks for your effort.

zmaier24 commented 6 months ago

Again, show me an API to interact with a KD8003 and will gladly integrate this with IoB.

Any News on that?

I also just installed HASS for my doorstation, but it is not fully running. I don't get any events when the ring button on the doorbell is pressed.

zmaier24 commented 6 months ago

@Andy200877 ; You got an update at "doorbell ringing", do you have a indoor station as well? I read somewhere, that it is necessary to have one? Is that correct, because i don't have one.

marcsauter75 commented 6 months ago

I have an KV8113, if I can deliver any Info let me know.

Andy200877 commented 6 months ago

No.. i've installed a shelly uni on the indoor station, to detect the ring. At the outdoor station i have a rfid reader from hik. I connect a shelly uni at the outdoor station to detect the door opener. With this i can controll my nuki by iobroker to open the door, when i present the right rfid-chip.

zmaier24 commented 6 months ago

OK, so you need a indoorstation to detect the ring, without it is not possible? Does anyone know that for sure? I haven't planned to buy a indoor station, because i want to integrate the doorbell/open into my existing home automatization. otherwise i have to buy a indorrstation just to get the ringing information.

@Andy200877 :Do you get the tamper alarm with your configuration, is it possible to configure the tamper alarm to an output at the indorrstation?

raintonr commented 6 months ago

OK, so you need a indoorstation to detect the ring, without it is not possible? Does anyone know that for sure?

No, you do not need an indoor station.

When the bell button is pressed on the intercom I have it place a call to a number on my Asterisk server which can then run a script to do whatever I want.

Andy200877 commented 6 months ago

With the indoorstation you can use the hikconnect app on smartphone to.

raintonr commented 6 months ago

If you only have the outdoor unit and a phone with the Android app you can connect directly to the intercom to view the video feed or initiate a voice call from your phone.

However, the outdoor unit on it's own cannot initiate a call/notification to the app on your phone.

alfiriel commented 5 months ago

@Andy200877 can you tell me which Indoorstation you have?

zmaier24 commented 5 months ago

Any news on the tamper alarm, is there a possibility to get that information in IOB?

raintonr commented 5 months ago

Any news on the tamper alarm, is there a possibility to get that information in IOB?

Did you try https://www.npmjs.com/package/iobroker.hikvision-alarmserver

mcm1957 commented 5 months ago

Link to repo mentioned above: https://github.com/iobroker-community-adapters/ioBroker.hikvision-alarmserver

marcsauter75 commented 4 months ago

Screenshot_20230322_202310_Drive

This 2 wires at the input of the shelly and 12v/gnd for power supply for the shelly.

@Andy200877 Is there a screenshot or can you take a photo from the shelly uni how you connected it ? That would be fantastic - THANKS!