Hikvision Doorbell / Videointercom integration

see first post where you can find my addon and docs

Hi @pergola.fabio does the “frigate card with go2rtc” solution work for you in the android companion app locally (when in the same network), showing microphone?

The app seem to be unable to work with the self signed https certificate, and the trusted authorities like let’s encrypt issue certificates for the internet addresses only, not my local ip/name… What certificate does your nginx serve and do you use the phone app?

It should normally, but the frigate card can only work on https with valid ssl, don’t think there is an relationship how you run companion app

Hello! Is there a way to simulate pressing the doorbell through homeassistant?

not that i know off

Hi Fabio,
thanks for your great support and for this perfect integration.
In the past, i used my Hikvision 8003 Doorstation only for testing purposes. But not i want to switch from BJ to Hikvision with HA.

In this step, i got a problem, what some other people in the past already had.
The “answer” and “hangup” does not work in my setup. I am sending the commands as described below to my indoor station DS-KH6320WTE. As Response, i always get the 29, “Device operation failed”. The Reject, i can sent and its OK. But for “answer” and “hangup” i always get Statuscode 4, Invalid Operation.

I send the “answer” and “hangup” when an active call is started and my Indoor Station is ringing.

Do you know, if i have to configure something else? Is there something missing in my setup?

TLS or SSL is not active on my 8003 and 6320 Devices. Is it necessary. Could not find a way, to configure it in iVMS.

Thanks for your help
Best regards

For an unknown reason, answer+hangup only works when indoor device is connected to hikconnect, are you using hikconnect?

Hey so fast reply, wow.
No, i am not using hikconnect.
Do i need full activation at hikvisions backend to get it working?
i will try it and give an answer.

yeah, it needs to be connected, not sure why, didnt find an alternative :frowning:
or you can use “reject” instead

Top, thanks very much.
After registering at HIK Connect, its now working as expected.
You are the best

1 Like

Greetings!
Tell me, please!
How can I get the ID key that was used to open the door on DS-KV6113-WPE 1(C)?

it should be visible as an attribute on the door switch entity;, its called “control_source” its not the ID of the card itself, but its an unique value

Thank you very much!

Hi all,

I am wondering if the Hikvision DS-KB8113-IME1(B) is working or not with all of the events. If have been working through this thread and it stil isn’t clear to me. I read it should be working but I have also read in this thread it wasn’t.

I am especially anxious if the ringing event is being published. But, if possible, I am also interested in which events you actually receive.

Could someone please confirm it is working (or isn’t but that is not what I am hoping for :slight_smile: ). If it is working, would you mind sharing your setup?

Thx. Best regards.

Hi @pergola.fabio,

It’s been a long time. I’ve not paid much attention to the doorbell thing for a while as it’s been working but I recently changed to using the Frigate card (now called the Advanced Camera Card) - Frigate has been updated too.

Everything is working, 2 way audio, answer, hangup (although for the Indoor Station needs to be connected to Hik-Connect to work).

The only thing that has stopped working is the 2 way audio AFTER the answer and hangup. If you leave it for 5-10 mins the two way audio works again if you don’t ring the doorbell.

My card config is below.

My answer call button should clear the audio channel with PUT /ISAPI/System/TwoWayAudio/channels/1/close then answer and hangup the Indoor station - then I would expect the microphone and speaker to be free on the outdoor station but this isn’t working any more. Any ideas and sorry if the answer is in the thread - but I didn’t see anything relating to this for months.


type: custom:advanced-camera-card
cameras:
  - camera_entity: camera.millersdoorstation
    live_provider: go2rtc
menu:
  style: overlay
  position: bottom
  buttons:
    microphone:
      enabled: true
      type: toggle
    screenshot:
      enabled: false
    download:
      enabled: false
    fullscreen:
      enabled: false
    snapshots:
      enabled: false
    timeline:
      enabled: false
    media_player:
      enabled: false
    clips:
      enabled: false
    live:
      enabled: false
    cameras:
      enabled: false
    camera_ui:
      enabled: false
    iris:
      enabled: false
live:
  microphone:
    always_connected: false
    disconnect_seconds: 0
  auto_mute: []
  auto_unmute: []
  controls:
    builtin: true
elements:
  - type: custom:advanced-camera-card-menu-icon
    icon: mdi:volume-high
    tap_action:
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: unmute
  - type: custom:advanced-camera-card-menu-icon
    icon: mdi:volume-off
    tap_action:
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: mute
  - type: custom:advanced-camera-card-menu-icon
    icon: mdi:phone
    tap_action:
      - action: perform-action
        data:
          entity_id: text.indoor_station_isapi_request
          value: PUT /ISAPI/System/TwoWayAudio/channels/1/close
        perform_action: text.set_value
      - action: perform-action
        data:
          entity_id: button.indoor_station_answer_call
        perform_action: button.press
      - action: custom:advanced-camera-card-action
        duration:
          ms: 500
        advanced_camera_card_action: sleep
      - action: perform-action
        data:
          entity_id: button.indoor_station_hangup_call
        perform_action: button.press
      - action: custom:advanced-camera-card-action
        duration:
          ms: 500
        advanced_camera_card_action: sleep
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: unmute
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: microphone_unmute
  - type: custom:advanced-camera-card-menu-icon
    icon: mdi:phone-hangup
    tap_action:
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: microphone_mute
      - action: custom:advanced-camera-card-action
        advanced_camera_card_action: mute
      - action: perform-action
        data:
          entity_id: text.indoor_station_isapi_request
          value: PUT /ISAPI/System/TwoWayAudio/channels/1/close
        perform_action: text.set_value
view:
  default: live

I don’t use it myself, but I tested it, it should work, I have an updated guide on my github

Hi @pergola.fabio. According to your guide I need to be clearing the channel with the outdoor station - not the indoor. However I don’t have the

text.ds_kd8003_isapi_request

Entity - do I need to re-install the add-on to get it. I have the same outdoor unit as you.

Ok , seems my guide is wrong, you need to send it to indoor station , my bad…

If you don’t seen the entity, it’s maybe disabled , you can enable it

Hi! I am still playting with the AddOn.

I have installed a contact sensor in my main door, the idea is when I open the door , doorbell shuts but I dont seem to achieve it. I open the door but I still hear the ringing

Here I share the automation maybe I am doing something wrong.

First I send the reject action to the one indoor panel, but since it was not working I sent it to the other indoor and the outdoor unit

alias: COLGAR TELEFONO CUANDO SE ABRE LA PUERTA
description: ""
triggers:
  - entity_id:
      - binary_sensor.sensor_puerta_principal_contact
    from: "off"
    to: "on"
    trigger: state
conditions:
  - condition: template
    value_template: >-
      {{ (as_timestamp(now()) -
      as_timestamp(states.sensor.timbre_call_state.last_changed)) < 30 }}
actions:
  - action: hassio.addon_stdin
    data:
      addon: aff2db71_hikvision_doorbell
      input: reject panel_cocina
  - action: hassio.addon_stdin
    data:
      addon: aff2db71_hikvision_doorbell
      input: reject panel_pa
  - action: hassio.addon_stdin
    data:
      addon: aff2db71_hikvision_doorbell
      input: reject timbre
mode: single

Send it to your primary indoor, that should be enough, no need to send it to all devices…