hi folks
i've made a script that capture a picture from the raspi camera when the gpio 4 turns to HIGH and then send me a mail with that picture as an attachment and i would love to use it with the doorbell at the gate of my house.
i don't know how to connect the actual bell button with the gpio of the raspberry (by the way i m using a raspberry pi zero w for that)... so... i guess there are 2 ways:
mechanical or electrical.
1. i can put a second small button behind the main bell button to be pushed together with that. quite difficult to do but i can try.
2. i can work with the wire of the doorbell (i guess it's a 12v) to make the current switch my gpio... but how? i need a sensor that turn HIGH when a current flows.
any ideas?
thanks