python-amcrest icon indicating copy to clipboard operation
python-amcrest copied to clipboard

Amcrest Doorbell

Open chadlyy opened this issue 5 years ago • 7 comments

Amcrest Doorbell works great with this by the way. Can you add a doorbell sensor too?

chadlyy avatar Mar 16 '20 04:03 chadlyy

Exactly how are you using this with the doorbell? Can you set something up to monitor for motion start/stop events? I'm trying to figure out how to do it...

MYeager1967 avatar Jul 16 '20 22:07 MYeager1967

i think, the Doorbell create a specific event ( CallNoAnswered / IgnoreInvite ) when someone push the button best is to have a binary sensor ( ON/OFF ) that trigger when someone push the button

blademckain avatar Sep 08 '20 10:09 blademckain

Indeed, and I use these events for automation in HA.

FrnchFrgg avatar Sep 12 '21 11:09 FrnchFrgg

See #137 and #162

pixeldoc2000 avatar Sep 13 '21 22:09 pixeldoc2000

FYI... now that the doorbell button press events work, I tried to add it to Home Assistant's integration, but it got rejected because it would require a change to the YAML config schema. The integration needs to be overhauled to support the new UI config flows before such features can be added. :(

https://github.com/home-assistant/core/pull/66302

However, you can still manually subscribe to the event with an automation trigger, or by setting up your own template binary sensor to listen for this event:

platform: event
event_type: amcrest
event_data:
  camera: <AMCREST DEVICE FRIENDLY NAME>
  event: CallNoAnswered
  payload:
    action: Start

PanicRide avatar Mar 02 '22 23:03 PanicRide

@PanicRide do you know if anyone is going to be updating the amcrest stuff in homeassistant so we can take advantage of this?

camrun91 avatar Aug 29 '22 18:08 camrun91

I resorted to writing my own routines to interact with the event stream and relay what I needed to HA via MQTT. Easier that waiting for someone to rewrite and integration and I have control over it. Don't have to worry about it breaking due to a change in HA somewhere.

MYeager1967 avatar Aug 29 '22 19:08 MYeager1967