Carsten Sinke
← All work
Q42 office · Tinker Friday · 2022

We hacked the parking gate

Too few remotes for 80 colleagues, so the gate learned to listen to our phones.

  • SwiftUI
  • Bluetooth LE
  • ESP32
  • Firebase
Tap to open the gate

A few days' notice. Our office garage switched from badges to remotes, with a few days' warning. There were not nearly enough remotes for eighty people, and buying them would cost thousands. Without one, you parked at the gate and ran inside to borrow one.

Illustration from the Q42 engineering blog.

Tinker Friday. Q42 keeps Friday afternoons for passion projects, so a few of us took the remote apart. Replaying its signal failed, because it changes every time. So the remote got wires soldered to its buttons, two relays and an ESP32, hidden in the garage.

There is no Wi-Fi down there, so it listens over Bluetooth.

The hardware: an ESP32, a relay board and a very opened-up remote.

My part. I built the iPhone app. One big button that opens the gate from your car, and Google sign-in so only colleagues can use it. Hardware people only trust when it feels finished, so I gave it the polish of a real product.

Now everybody drives straight in.
80+colleagues drive straight in
€1000ssaved on remotes