Samfox2 / homebridge-videodoorbell

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

Trigger using GPIO pins #11

Closed woinkeyman closed 6 years ago

woinkeyman commented 6 years ago

Hi there! Works brilliantly, thanks! Currently test-triggering it using the browser on my phone, but any chance that we can trigger the doorbell using the GPIO pins? Can install my pi next to the actual (dumb) doorbell.

Thanks in adv for your help! :)

Samfox2 commented 6 years ago

You can run your "gpio-interrupt-detection" in a separate script and trigger a curl command from there.

woinkeyman commented 6 years ago

Yup - managed to get a python script running on boot. Thanks for your help!