Hikvision Doorbell / Videointercom integration

I think you messed up with names , best to stop the addon, delete the whole mqtt integration, so all entities are gone… then start addon again…
To open door, just trigger door relay 1 switch

Tried that and unfortunately it got worse as now everything is greyed out.

Last night i did mange to pick up the MQTT stream and detect my door fob being used so there is some level of activity

I then tried to replicate the door open command as part of an automation but that did nothing

Normally if they are greyed out, it means the addon is stopped, is that the case for you? can you check the last logs?
als make sure you disable watchdog, so the addon doesnt start again… maybe the addon stops cause of an error, and restarts/stops again a loop, this means you are hammering the hikvision device and it will lock any login attemps

Has anyone managed to get kv6113 doorbell working in apple home through scrypted? No matter what i tried i cant get it to work.
Onvif wont accept admin password, hikvision protoco wont do anything.
Any help appreciated

Found something that looks like a bug in the Frigate HASS card.
Under elements, if I put more than one tap or hold action like in the following example, the action will not run. Only if I keep the script action, it works.

        tap_action:
          - action: custom:frigate-card-action
            frigate_card_action: unmute
          - action: custom:frigate-card-action
            frigate_card_action: microphone_unmute
          - action: call-service
            service: script.turn_on
            service_data:
              entity_id: script.front_gate_answer_call

Any idea or this is a bug.

Hmm for me it works? If you have a look at my example, with the “phone” button , I actually do 4 services with 1 tap action? If I look in the addon log, I do see the answer+hangup command

It looks like a bug when calling a script. I did not mention that each action by itself is working.
Once I mix a script and custom:frigate-card-action, nothing happens.
I switched the order of the actions but its the same. I will try to replace the script with a button and see.
If this does not work than I am stuck

ah, its the combination with a script only? thats indeed strange, maybe a bug indeed then

I have just noticed something else that might explain this.
The home piece of code is:

      - type: icon
        icon: mdi:phone-off
        style:
          background: rgba(170, 10, 10, 0.75)
          border-radius: 5px
          right: 25px
          bottom: 215px
          transform: scale(3, 3)
        tap_action:
          - action: call-service
            service: script.turn_on
            service_data:
              entity_id: script.front_gate_end_call
          - action: custom:frigate-card-action
            frigate_card_action: microphone_mute
          - action: custom:frigate-card-action
            frigate_card_action: mute
        hold_action:
          - action: call-service
            service: script.turn_on
            service_data:
              entity_id: script.front_gate_end_call
          - action: custom:frigate-card-action
            frigate_card_action: microphone_mute
          - action: custom:frigate-card-action
            frigate_card_action: mute

The problem seems like the icon (a nice big button on top of the video corners) is actually transparent and what happens when I click is it acts like I am pausing the video and not tapping the button.
One of my 3 buttons (open door, answer call and end call) was working when placed in one corner but now it does not do anything. I liked the option of having such big colored buttons.
Interesting…

Edited 2nd time:
OK. Found the reason that looks like a bug. It looks like a combination of icon type menu with multiple actions that one of them is a script does not do anything.
Once I have converted it to a custom:frigate-card-menu-icon, it works as is.
If only a script is in an icon, it works as well.

Amazing bug…

1 Like

Hey @pergola.fabio -
A couple of questions if I may :slight_smile:

  1. Are there any plans to upgrade the frigate in this project now that the new version has been released?
  2. Is there any ability to add this project as part of homekit?
    any one here done it already?

Hi,

  1. what new version do you mean? I dont have any intention to make a frigate hass card, i dont see the advantage… What i can tell, is that on next version of Frigate card, you dont need the frigate NVR anymore, it will work standalone with go2rtc

  2. this project/addon is based on mqtt, so it can integrated in whatever integration

1.Alright, that is fair enough :wink:
2 Do you know if this integration has been worked on by anyone? It appears that homekit can push to talk with a camera, but I am not really sure how to add each entity to create a complete solution in homekit.

If some integration for homekit works with two way audio with isapi, it should work, i think scrypted can do that, not sure

I also see this? A homekit module for go2rtc

Go2rtc can work with two way audio and Hikvision, frigate is the same

WOW, I looked at it, and I have to say this is really, really hard to understand.
There is no chance I’ll be able to make it work this way…

I have no clue how to make it work :smile:

how can i use the isapi in the homekit :confused: its not like im calling to an entity?

I have no idea, i dont know homekit :slight_smile:

But i saw other people using it, with scrypted

1 Like

So scrypted is an addon … ummm ok … let me read about it :slight_smile:

Yeah. Scrypted supports audio over ISAPI. Just install the plugin Hikvision, enter camera info and change the Two Way Audio from Onvif to Hikvision.

It works with HomeKit and even with Alexa.

The problem with Two Way Audio is that you need to stop the ringing signal before use it, otherwise the audio won’t work.

Scrypted can’t also get the ringing status, but you can integrate it with Fabio’s add-on.

I reported the problem in getting ringing status and even stop ringing before use Two Way Audio on GitHub almost one year ago, but the developer doesn’t care to fix it.

If you can, reply the post on GitHub to get more attention.

1 Like

Hey Fabio, couldn’t you make a fork from Hikvision plug-in on Scrypted to fix the integration and make it work, stopping ringing status before two way audio and getting ringing status properly?

The integration is partially ready, but it’s missing these important points that the developer doesn’t care about fixing.

It could be an excellent solution to Hikvision doorbells haha.