pergolafabio / Hikvision-Addons

Home Assistant: Hikvision Doorbell
187 stars 41 forks source link

Support for differentiating the button presses of DS-KV8213-WME1(C) #225

Closed felipecrs closed 1 month ago

felipecrs commented 1 month ago

Is there an existing feature request for this?

Add-on

Doorbell

Your feature request

I have this doorbell: https://www.hikvision.com/en/products/Video-Intercom-Products/IP-Series/Pro-Series/ds-kv8213-wme1-c-/

It would be awesome if somehow the add-on could differentiate between the two different button presses, as it has two buttons.

The Call State sensor works, but I can't differentiate which button was pressed through it.

pergolafabio commented 1 month ago

i'm aware indeed, but dont think its possible, havent found it in the sdk :-( a possible option is when you have a call event, create an automation to poll the callstatus / callerinfo button manally on the INDOOR station ...

image

that gives json as output like, ring/idle/ ...

pergolafabio commented 1 month ago

i have that feature request open to automate it, but havent found time yet :-)

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

felipecrs commented 1 month ago

Oh, great. Should we close this one in favor of that one?

pergolafabio commented 1 month ago

yeps :)