rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
395 stars 79 forks source link

Support Dahua doorbells #14

Closed bogdanr closed 3 years ago

bogdanr commented 3 years ago

I am using this integration with my doorbell and it seems to work but it's missing the doorbell button binary_sensor. It would be very cool to have that too.

rroller commented 3 years ago

I also have a Dahua doorbell. I'm not sure what you mean by the doorbell button binary_sensor. I'll dig into it and try to find out and add support for it. Luckily I have a unit already so I can test easily. I'll keep you posted.

Is this just a sensor that triggers when the doorbell is pressed?

rroller commented 3 years ago

@bogdanr This is done and added in 0.7.0

It'll add a binary sensor for the button press:

Screen Shot 2021-06-19 at 3 53 52 PM
rroller commented 3 years ago

Please reopen if there's any issues. Thanks!

danuals commented 3 years ago

could this support amcrest doorbells too?

rroller commented 3 years ago

I don't know. Would just have to try.

danuals commented 3 years ago

just have, video feed ok, motion alert works, inferred switch does off- auto.
motion detection doesn't seem to switch on/off at device. no binary sensor for button press. callnotanswered and invite are the same messages afaik

danuals commented 3 years ago

great integration btw, my Dahua cam works a treat with it, thank you

HappySl0th commented 3 years ago

@rroller I have a VTO2202F doorbell which have remote unlocking, can you add this as a binary sensor?

rroller commented 3 years ago

@HappySl0th sure! Can you enable debug logging and send me the event data in the logs? The event is already fired on the HA event bus so you might be able to capture it there. Once I know the event details I can add the sensor.

rroller commented 3 years ago

Also can you create a new issue to track this in.