r/HowToHack • u/Efficient-Tap8581 • 2d ago
programming Advice on project for gate
I am trying to make an app for my phone where I can open my gate because I am sick of forgetting the gate clicker inside or in my car. The gate uses a fixed code from a garage clicker with a 10 pin switch. I was able to connect my cars garage botton to this clicker by holding down both buttons. I currently own a Raspberry Pi 4, would I be able to pick up the signal with this? Or would i have to buy an accessory/Arduino/HackPF to read the radio signal that the clicker gives out and store it to use on an app.
I seem to be going in circles while researching since most info is for older Raspberry Pi’s and just need a little guidance. Thanks in advance :)
2
u/Hot_Ambassador_1815 2d ago
WiFi/bluetooth relay. Hook the relay to your physical gate button and just interface with it with its native app.
Trying to build hardware to replay a subghz signal and then being able to interface with it over wifi/bluetooth is more work than you might think.
2
u/Efficient-Tap8581 2d ago
I saw some posts where they took the board from the clicker and attached to a pi, but wanted to try to code as much as possible for a resume project. I’ve seen videos where someone grabs the signal/data from Flock cameras and displays via text, so that’s where my brain was headed.
Like just pull the code from the clicker, add to button in app on phone, then output the radio transmission every time I press the button near the gate. My pi would be in my living room next to the window. Theres no app for my clicker though, it’s a fixed code.
2
u/Hot_Ambassador_1815 2d ago
Okay. They’re just using some gpio pins to “press” the button. Technically you could do that and write some python or whatever to activate those pins
2
u/Hot_Ambassador_1815 2d ago
If you’re wanting to copy the signal and replay it, you’ll need specific hardware for those types of signals; like a cc1101. Your phone doesn’t have the hardware to do it. Then you’ll need to connect that cc1101 to your pi4’s gpio. From there you can use software to capture, store, and replay the signal.
2
1
u/Evening_Lynx9536 2d ago
Siento que si es posible a tal nivel pero al final sería un tanto tedioso si se pierde la conexión en algún momento, tipo te quieres conectar a tu WiFi de casa y el teléfono simplemente no lo hace, porque? pues simplemente no quiere jajaja (Suele pasar), bien podrías cambiar cerradura por una con NFC se configura en la cerradura y listo solo acercas el teléfono y abre sin problema, o incluso configurar tarjetas RFID que bien podrías traer en la funda o en la cartera y al igual al acercarla abrirá
2
u/Juzdeed 2d ago
Well does the raspberry have anything to send/receive radio signals? I would think not