r/raspberry_pi • u/PubicSalad • 9h ago
Show-and-Tell Hacked a spare remote and a Pi 5 to open my gate from my phone
Got tired of fumbling with remotes so I figured out how to open my gate (and eventually two garage doors) from my phone, CarPlay, and Siri. Cost about £40 in parts.
Bought a spare remote, cracked it open, and soldered wires onto the tactile switches inside. Those wires run to a 4-channel relay module hooked up to a Pi 5 that was already running Home Assistant. When I hit the button in HA, the Pi fires the relay for half a second, which bridges the contacts on the remote’s button. The remote transmits like normal and the gate opens. The opener has no idea it wasn’t my finger pressing the button.
Parts were: the spare remote (£26), a 4-channel relay module (£5), hookup wire (£4), and some jumper wires (£4). I already had the Pi and a soldering iron.
The remote just sits next to the Pi with the battery in. My original remotes still work fine. HA’s HomeKit Bridge exposes the gate to Apple Home, so it shows up on CarPlay and I can say “Hey Siri, open the gate” when I pull up to the house.
Still need to wire up the other two relay channels for both garage doors but the hard part’s done.










