pergolafabio / Hikvision-Addons

Home Assistant: Hikvision Doorbell
188 stars 41 forks source link

Door status not displaying when gate is opened via gate remote control #213

Closed MarcoCITA closed 4 months ago

MarcoCITA commented 4 months ago

What happened?

I wired the doorbell so that when i open the gate home assistant sees that the gate is open. When i open the gate via Home Assistant switch entity or via the indoor unit works fine, but when i open the gate with the gate remote the entity doesn't work. Entity door is open Gate remote

Add-on

Hikvision Doorbell

What version of the add-on are you running?

3.0.15

Installation type

Home Assistant add-on

Relevant log output

No response

Relevant configuration

No response

Anything else?

The automation that turns ON or OFF the switch "door open" Portone aperto Portone chiuso

pergolafabio commented 4 months ago

Can you show the log of the addon when you open the gate with the remote? Do you see any event there? What type of doorbell do you have? Not all SDK events are always triggered...

MarcoCITA commented 4 months ago

Doorbell DS-KD8003-IME1. I see some events but the entity i created remains off. Update: the entity i created recives only the command to turn off but not turn on when gate is open Screenshot_20240706_114132_Home Assistant

Screenshot_20240706_113754_Home Assistant

pergolafabio commented 4 months ago

Indeed, that's a known issue, seems that event is not logged on the doorbells, nothing I can do :-(

You can invert the logic, someone else posted it on the forum as a workaround