I am very confused and hoping someone can point me in the right direction.
What I would like to achieve is converting an external relay switch (from a normal everyday gate receiver) into a signal that my pi could receive.
So a person pushes a button on a remote control the receiver closes a circuit (I am guessing) and a wire into a GPIO pin(s) then is able to tell my program that the button was pushed.
Is this possible and if so, what pins and what would the code look like?
(first prize: how would I be able to determine what relay was switched, ie : button 1,2,3,4)
I do not want to use the raspberry pi RF receiver module because I would prefer the rolling code security of normal gate receivers.
Thank you for any tips.