I am thinking about installing a switch on my garage door connected back to a raspberry Pi, so I can send a text alert when the door has been open for a number of minutes.
I am OK on the programming side, no expert but can cobble enough code together. I already have the Pi set up and able to send Sms texts. The electronics side though is a different matter.
My question is around the distance between the switch and the pi, it will need to be approximately 8 metres. Would this distance work of the gpio pins?
Is there anything I should be taking into consideration?
Any pointers appreciated..
Jon.