How it works
How QR gate passes work, and what happens when the network drops
· 5 min read · VillaSafe team
A QR gate pass looks simple: a square code on a guest’s phone. But a lot has to go right between a resident tapping “send” and a guard tapping “approve”, especially at a gate where the network comes and goes. Here’s what actually happens, step by step.
What’s inside a pass
When a resident creates a pass in VillaSafe, they decide:
- Who is coming, so the guard sees a name, not just a code.
- When the pass works: today between 2 and 6 p.m., say, or every weekday morning for a driver.
- Which gates it opens, if the estate has more than one.
- How many entries it allows.
The pass goes to the guest on WhatsApp as a QR code with a PIN underneath. The guest doesn’t install anything. If their phone is old or the screen is cracked, the PIN does the same job.
What happens at the gate
The guard scans the code with the VillaSafe guard app. The app checks the pass against the rules the resident set: is it for this estate, this gate, this time, and does it have entries left? Then it shows the guard the guest’s name, who they’re visiting and until when. If everything matches, the guard approves; if anything looks wrong, they can call the resident from the app before deciding.
When the guard approves, the entry is recorded with the time, the gate and the guard, and the resident is told their guest has arrived.
Why passes expire
A code that works forever is a code that gets shared. Because every pass has a time window and a number of entries, a screenshot from last week opens nothing today. That single rule removes most of the risk of passes being passed on.
When the network drops
This is where many gate systems fail, and where VillaSafe was designed to keep going.
- The guard’s phone prepares in advance. While it’s online, it keeps a copy of the passes that could be used at the estate: those active now, those due over the next week, and everyone currently inside. The codes are stored scrambled, not as readable text.
- Scanning carries on. When the network goes, the guard scans exactly as before. The phone checks the code against its copy and shows the same details.
- Entries wait in line. Each check-in made offline is saved on the phone, ready to send.
- Everything syncs when the network returns. The phone uploads the waiting entries. The server checks them again against the latest data and flags anything that changed while the gate was offline, such as a pass the resident cancelled in the meantime.
The result: no queue at the gate because the internet went, and no gap in the record.
The honest limits
Offline mode can only check passes the phone already knows about. A pass created after the guard’s phone lost its connection won’t be on it until the phone reconnects. For those rare cases, the guard does what they’d always do: confirm with the resident before opening the gate.
Barriers and turnstiles connected through the VillaSafe Gate Bridge work on the estate’s own network, so guard phones can still reach them when the internet connection drops. They do still need power, so plan backup power for the gate itself.
See it for yourself
Watch the short guides on our how it works page, read about the guard app, or request a demo and we’ll switch the network off at your gate to prove it.