Samfox2 / homebridge-videodoorbell

Video-Doorbell plugin based on homebridge-camera-ffmpeg for Homebridge.
Apache License 2.0
96 stars 17 forks source link

http call for motion event #46

Closed uspino2 closed 4 years ago

uspino2 commented 4 years ago

The standard http call triggers a doorbell event (with live video). Motion events provide a snapshot instead of live video. Is there a different http call to trigger a motion notification?

Samfox2 commented 4 years ago

No, at this time there is no http call for motion. However, you can trigger the motion switch by an automation.

uspino2 commented 4 years ago

Yes, and that works great, but I wanted to trigger it from a Shelly device. Thanks anyway, great job!

On Tue, Nov 26, 2019 at 4:51 PM Samfox2 notifications@github.com wrote:

No, at this time there is no http call for motion. However, you can trigger the motion switch by an automation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Samfox2/homebridge-videodoorbell/issues/46?email_source=notifications&email_token=AF32DXASRUZ3WYT3SSOT35DQVVAYFA5CNFSM4JRZLWL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFGPQZI#issuecomment-558692453, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF32DXETSH5YKVZB6UJ4S4DQVVAYFANCNFSM4JRZLWLQ .

uspino2 commented 4 years ago

Just in case someone wonders, here’s why: if you setup a motion trigger automation when the door opens, Homekit sends you the snapshot but stops sending open/close notifications from that door sensor. So if you setup a motion trigger automation to see who opens the door, you’ll get the snapshot, but you’ll never know if the door has been properly closed.