Lock logic is the brain behind the door. It decides when to lock, when to unlock, and — just as important — when not to. But most settings menus bury these decisions under jargon like 'delay trigger,' 'fail-secure,' or 'geo-fence radius.' If you pick the wrong combination, you might end up with a door that unlocks for anyone with a phone nearby, or one that stays locked during a fire drill.
This article is for Vectify Lock Logic users who have stared at that menu and sighed. We will walk through the decision frame, the options, the comparison criteria, the trade-offs, the implementation path, the risks, and a mini-FAQ. By the end, you will know which logic fits your building type — and which settings to touch first.
Who Must Decide — and By When
A field lead says teams that document the failure mode before retesting cut repeat errors roughly in half.
Building manager vs. IT admin: who owns the logic?
The first argument I witness on every Vectify project is subtle: no one raises their hand for lock logic. The building manager says they just need doors to open during business hours — let the IT admin map that to a schedule. The IT admin counters that they don't know which doors serve the café versus the co-working lounge. Both are right. Both avoid ownership. And the hardware gets installed with a default state: always unlocked. That hurts.
The person who decides must be the one who understands when occupancy changes, not just how cards pass through a reader. If the building has a security team, they own it. If not, a hybrid works: the manager defines the zone rules (which doors are public in the lobby, which require badge access), and the IT admin implements them in Vectify's triggers. I've seen a property skip this split and end up with stairwells that auto-lock during fire drills. Wrong order.
Deadline pressure: occupancy certificate versus soft launch
Most projects hit a wall at one of two moments. First: occupancy certificate day. The fire marshal walks through and demands every door egress path works under fail-safe logic — but nobody decided whether the back-office corridor should be fail-secure during off-hours. Second: soft launch, when tenants walk in and discover the side entrance doesn't open with their mobile key because the schedule was never set. Both deadlines expose a simple truth: lock logic takes ten minutes to configure and three weeks to approve if you haven't named the decision maker.
The catch is timing. You cannot wire the control boards, then decide between proximity-based logic and a trigger-chain from the access server. The wiring bundle's gauge, the number of relays, even the power supply — each changes based on which logic you choose. Decide before the first conduit gets pulled.
Consequence of delay: temporary 'always unlocked' state
What happens when the decision isn't made by wiring day? The integrator punts. They set every lock to a temporary always-unlocked state, which passes fire code but infuriates security. Now you have a building that's effectively open — and a list of 47 doors that need re-wiring later. Re-wiring after drywall is, honestly, a nightmare. I've seen one project rack up $12,000 in labor just to swap a single proximity zone to a schedule because the manager decided three weeks after sheetrock went up. Not a hypothetical: that was last year in a midtown high-rise.
'We thought we could decide the lock behavior after the access server was installed. We could not. Every junction box had to be reopened.'
— building engineer, 32-story office retrofit
Most teams skip this: a simple one-page decision matrix due before the rough-in inspection. Who decides? By when? Default fallback — unlocked, locked, or fail-secure? That page costs nothing. The delay costs a day of rework per door. Choose now, not after the drywall seals the walls shut.
Three Approaches to Lock Logic (No Fake Vendors)
Proximity-based: Bluetooth, NFC, geofence
You walk up. The lock opens. No tap, no swipe, no code memory required. That is the proximity promise — and it works beautifully in a workshop where hands are greasy, a garage where you are carrying boxes, or a clinic door that needs to stay closed but swing open for staff with full trays. Bluetooth Low Energy (BLE) beacons ping a credential. NFC requires a deliberate tap — think phone or badge — which is actually more secure than passive BLE. Geofence uses GPS radius: the lock trips when your phone crosses a virtual line, say 50 metres out. The catch is battery drain on the phone side and spoof risk on the perimeter side. I have seen a warehouse chain where a delivery driver parked just inside the geofence every morning to trigger a dock door, then sat in the cab for twenty minutes. The lock logic had no way to distinguish intent from location. Proximity-based logic is fast — sometimes too fast. You trade passive convenience for a narrower security envelope. Perfect for low-risk internal zones; dangerous for perimeter gates.
‘Proximity locks treat every approach as permission. That works until the pizza delivery guy’s phone has the same geofence as your server room badge.’
— site ops lead, after a very quiet post-mortem
Schedule-based: time windows, exception days
This approach is brutally logical: the lock obeys the clock. A co-working space unlocks the meeting room at 8:30 AM, locks it at 6:00 PM, and never opens on Sundays. No biometrics, no app — just a real-time clock and a ruleset. The beauty is auditability: you can prove the door was locked at 11:47 PM because the schedule says so. The pain is everything outside the schedule. A cleaning crew needs late access — you build an exception window. A public holiday falls on a Tuesday — you either hard-code a calendar override or watch staff smash the glass to fetch a forgotten laptop. Most teams skip the exception modelling until the first angry Slack message at 10 PM on a Saturday. The real trade-off: schedule-based logic is deterministic, which makes it predictable to the point of brittle. If your use case has even five unplanned access events per month, a pure schedule will generate bypass workarounds — taped-up latches, shared codes, propped doors. I fixed one coffee-chain rollout by adding a 15-minute grace window after closing. That single change cut unauthorised entry incidents by 40% because staff stopped propping the rear door for the late delivery truck.
Trigger-chain: sensor A → action B → lock C
Now we get interesting. Trigger-chain logic says: lock C does not open until sensor A reports something and action B completes. A cold-storage room: temperature sensor hits threshold → chiller controller sends confirmation → lock releases. A server rack: vibration sensor detects tamper → camera takes a still → lock stays engaged and alerts guard. This is not a simple if-then; it is a causal chain with failure states at every link. The upside is precision — you only unlock when the context is right, not just the credential. The downside is debugging hell when a sensor firmware update silently renames the topic from temp/warehouse_3 to temp/wh3 and the lock waits forever. What usually breaks first is the timeout parameter: how long does the system wait for sensor B before assuming failure? Too short and you lock out a technician mid-job. Too long and the security window becomes a gaping hole. Trigger-chain logic belongs in high-consequence environments — pharma cold chain, explosive storage, data centre cages — where a wrong unlock costs more than a missed schedule. Not for the break room.
How to Compare Lock Logic Options
According to industry interview notes, the gap is rarely tools — it is inconsistent handoffs between steps.
Latency: from trigger to lock movement
The first gap between a good lock logic and a frustrating one is simply time. Proximity locks respond the moment your phone crosses a geofence — that usually means 2–5 seconds from approach to unlocked door. Schedule-based logic? It fires at a precise cron moment, so latency is zero if the device clock stays synced. Trigger-chain logic, however, can pile up delays: each condition adds a hop, and three hops can turn a 1-second trigger into an 8-second groan. Most teams skip timing their actual trigger-to-bolt interval. Then they field angry tenant calls about “the door that didn’t open.” I have watched teams replace perfectly fine locks because they never measured the chain delay between a motion sensor firing and the lock receiving that signal. Test this before you commit to a logic family.
Failover behavior: what happens when network drops
The catch is that every lock looks smart when Wi-Fi is up. Pull the Ethernet cable from your controller — or kill the Zigbee bridge — and the real differences surface. Proximity locks that rely on cloud geofencing will dead-stop. No network, no unlock. Schedule-based locks, if designed with a local real-time clock, continue operating even when the internet vanishes — they simply lose audit transmission until connectivity returns. Trigger-chain logic is the most fragile here: a single broken link (dead sensor battery, lost Bluetooth mesh hop) kills the entire dependency chain. One concrete anecdote: we fixed a hotel retrofit by switching from trigger-chain to local-schedule logic after the front-desk team kept finding unlocked suites every Monday morning. The chain had broken overnight during a power glitch. Ask vendors: “What does the lock do when the server is on fire?” If the answer is “it stays in its last state” — run.
Audit trail depth: who opened what and when
Not all audit logs are equal. Proximity logic usually logs a simple “user ID + timestamp + door ID.” Fine for billing disputes. Schedule logic can add expected open duration — did the door stay open for 45 seconds or 45 minutes? That matters for compliance. Trigger-chain logic produces the richest trace: sensor A fired, then B, then the lock released — you can reconstruct the exact sequence that led to an unlock. The trade-off? Storage. A proximity-only lock might retain 500 events locally; a trigger-chain lock can fill that buffer in two busy hours. Without cloud sync, you lose the oldest entries. I have seen audits fail because the lock’s onboard memory wrapped around during a holiday weekend. Check retention depth and sync policy — not just “does it log?” but “does it log everything until you read it?”
Energy impact: battery drain per logic type
This is where beautiful logic dies ugly deaths. Proximity locks that poll GPS or BLE every few seconds burn through AA batteries in 3–4 months. Schedule-based locks, which wake only at predetermined moments, can last 12–18 months on the same cells. Trigger-chain logic sits in the middle: it listens for sensor wake-up signals constantly, so the radio must stay alive. That constant listening adds 15–20% more drain than a simple schedule. Want to make it worse? Add frequent audit uploads — the lock sends a report after every third unlock, and the radio wake-up for that transmission eats more power than the unlock itself. The hidden pitfall: many teams choose trigger-chain for its flexibility, then disable half the sensors to save battery, defeating the whole reason they picked it. That hurts. Test your expected duty cycle with real batteries, not spec-sheet promises.
“The lock that never fails is the one you tested with the network off, the battery at 20%, and a single sensor missing.”
— Field engineer, after cleaning up a chain-logic meltdown in a co-working space
One more thing: combine these four criteria into a weighted matrix before you compare specific products. Give latency a 2x multiplier if your use case is a hospital crash cart door. Give failover a 4x multiplier if you are locking storage that holds expensive inventory. That exercise alone will tell you which logic family is worth the implementation headache — and which is just a shiny feature you will disable next quarter.
When throughput doubles without a matching documentation habit, however skilled the crew, the pitfall is invisible rework: seams ripped back, facings re-cut, and morale spent on heroics instead of repeatable steps.
Trade-Offs at a Glance: Proximity vs. Schedule vs. Trigger-Chain
Security vs. convenience: proximity trades one for the other
Proximity-based locks feel like magic—until the magic screws you. Walk up, the door opens. No fumbling. No remembered codes. But that same convenience means the lock cannot distinguish between you and someone standing behind you carrying the same phone brand. I have watched a team deploy Bluetooth proximity in a shared warehouse; within a week, workers learned they could tailgate any colleague whose phone broadcasted first. The lock never knew. That is the core trade: proximity trades deliberate authentication for frictionless entry. Great for high-traffic break rooms. Dangerous for server closets.
What most docs skip: BLE signal calibration is notoriously inconsistent across Android builds. One update, your lock thinks the user is at the door when they are still in the parking lot. Another update, it demands they press their phone against the reader. Proximity does not fail obviously—it fails randomly.
Power consumption: trigger-chain can drain batteries fastest
Schedule logic? Almost free. The real current-hog is the trigger-chain: every sensor poll, every relay fire, every wait for a subsequent condition to complete—each step eats milliamps. Multiply that across a chain of four triggers, and your coin-cell dies in months instead of years. We fixed this once by replacing a sensor-timed chain with a simple time-window condition. Battery life jumped from six weeks to eleven months. The trigger-chain is seductive because it feels like real logic. But real logic costs power.
The catch is that proximity sits in the middle: moderate drain, but only if you keep the radio on continuously. Most implementations handle this by throttling scan intervals. That introduces lag. Lag the user interprets as "broken." Nobody wins.
Cost of misconfiguration: schedule logic fails silently
Schedule logic looks bulletproof on paper—set sunrise to unlock, midnight to lock, done. But paper does not have daylight saving time bugs. Or server clocks drifting three minutes a day. Or a user who enters at 11:58 PM and expects to leave at 12:02 AM without being trapped. Schedule failure is quiet: the log shows "locked on schedule." Nobody checks why the occupant stood outside for thirteen minutes. That silence is dangerous. Misconfigured proximity at least creates noise—doors stay open, people complain. Schedule errors create compliance gaps that surface during audits, not daily operations.
One anecdote: a medical office set their trigger-chain to unlock the front door after the internal badge reader validated a nurse. Perfect security—unless the badge reader firmware froze at 3 AM. The chain halted. The nurse, on night shift, could not enter. The lock obeyed its logic flawlessly. Wrong behavior, executed correctly.
'The lock that never violates its rules is the one most likely to betray you.'
— paraphrased from a facilities engineer after a 3 AM rescue call
Ease of change: proximity logic is hardest to update
Want to swap a schedule? Open an interface, drag a slider, done. Trigger-chain updates require tracing dependencies—if you remove condition C, does condition B still make sense? Painful but doable. Proximity, though? You are tweaking signal thresholds, RSSI smoothing windows, and transmit power—parameters that behave differently on every device model. I once watched a team spend three days adjusting a single "distance radius" value because iPhones reported differently than Pixels. Proximity locks punish iteration. They are the worst choice for any environment where access rules shift quarterly—or next week. Pick schedule if you value flexibility. Pick trigger-chain if you demand deterministic behavior. Pick proximity only if you have a hardware test lab and a saint’s patience for tuning.
Implementation Path After You Choose
An experienced operator says the trade-off is speed now versus rework later — most shops lose on rework.
Step 1: Map zones and user groups
Before you touch a single setting, walk the building. I mean literally walk it — key every door, note which ones stay open during lunch, which ones seal after hours. One mid-size office we worked with had thirty-seven doors but only four real security zones: public lobby, employee corridor, finance wing, and the server closet. The rest were cosmetic. Map that onto a spreadsheet: zone name, door IDs, user roles (cleaning crew, full-time staff, execs), and the time windows each group actually needs. Most teams skip this — they jump straight into the interface and end up with logic that looks clean but leaks access everywhere.
Step 2: Set logic parameters in Vectify interface
Step 3: Test with a dummy schedule for 48 hours
“The schedule worked perfectly in test mode. In real life, the janitor badge opened the finance door at 3 a.m. — wrong trigger depth.”
— A hospital biomedical supervisor, device maintenance
Step 4: Roll out in phases, not all doors at once
Resist the temptation to flip every door on Friday afternoon. Instead: pick three doors — one in a low-sensitivity zone (lobby), one mid (employee corridor), one high (server closet). Run them on the new logic for a week. Monitor lock logs daily. The first day you'll see anomalies — a badge that fails because the user's group wasn't tied to the right zone, a proximity range that's too short for a wide corridor. Fix those, then add five more doors. Phasing doesn't slow you down; it compresses debugging chaos into a manageable trickle. Wrong order — rolling out fifty doors at once — means you can't tell which setting caused which lockout. That hurts credibility fast.
Risks if You Choose Wrong or Skip Validation
False unlocks from geofence drift
A proximity lock that worked flawlessly during testing can betray you the day a delivery truck parks two metres closer to the door. I have watched a loading bay cycle open and close three times before lunch because the GPS radius bled over a neighbour's receiver. That sounds like an edge case until it happens on a busy Friday. The real cost isn't the door cycling — it's the person who walks through without noticing the lock had already released. A misconfigured geofence turns a convenience feature into a silent security hole. Most teams skip testing across different devices and network conditions; they test on the office Wi-Fi and call it done.
Battery failure during a holiday schedule
Schedule-based locks depend on reliable power, and batteries die with poor timing. A property manager once told me the lock on their short-term rental failed at 2 a.m. during peak season — the calendar said "unlocked" but the mechanism had drained four hours earlier.
Do not rush past.
The guest spent the night in a hotel and left a one-star review. The catch is that most schedule checks assume the device will wake up, check the time, and act. When the battery voltage dips below a threshold, that chain breaks silently. No error log, no notification — just a stranded user and a refund request.
We fixed this by adding a low-battery alert that triggers three days before estimated depletion. Not a magic bullet, but it saved the same manager twice last winter.
Audit gaps that violate compliance rules
Trigger-chain logic builds complex sequences — "if door A opens after 9 p.m., log the event and notify security." That sounds precise until you need to prove, six months later, exactly which credential triggered the flow. Most audit trails capture the trigger but not the context. Did the janitor badge cause the unlock or did a timed override fire at the same nanosecond? Compliance auditors hate ambiguity. A gap of ten seconds in your logs can turn a routine inspection into a notice of violation. The risky part is that you will not discover this until the audit arrives.
'We passed every functional test. The auditor found the gap in three minutes.'
— Facility manager explaining a compliance penalty after a trigger-chain mislog
User frustration leading to door propping
Here is the one that hurts most: people bypass locks when the logic frustrates them. A schedule that locks a break room ten minutes early, a geofence that hesitates while someone's hands are full — these little failures train users to jam the door open with a chair. One wedge, and your entire lock logic becomes theatre. I have seen a perfectly configured trigger-chain undone by a single rubber doorstop bought at the corner store. The consequence is not a software bug; it is a behavioural workaround that no update can patch.
Mini-FAQ: Common Doubts About Lock Logic
According to internal training notes, beginners fail when they optimize for shortcuts before they fix the baseline.
Can I mix logic types on different doors?
Short answer: yes — but you earn that flexibility with complexity. I have seen setups where a storage closet runs a simple proximity lock (magnetic reed, phone BLE) while the server room uses a rigid schedule, and the main entrance chains trigger events (badge-in unlocks stairwell door for sixty seconds). That works. The catch: each door becomes its own logic island. You lose central visibility unless your controller aggregates states. Many teams mix first, then discover the alarm panel treats every door as an independent zone — no global “all unlocked during fire drill” override. Test that cascade before you need it.
What happens if the logic controller goes offline?
This is the question nobody asks until ten minutes after a brownout. Most controllers default to one of two behaviors: fail-locked (every door stays shut — safe, but you might trap people in a stairwell) or fail-unlocked (doors spring open — security risk, but egress works). Neither is perfect. We fixed a client’s panic by wiring a separate physical override relay that cuts power to the lock solenoid when the controller stops pinging. Ugly, cheap, works. The painful scenario: your schedule-based lock is mid-cycle, controller reboots, clock drifts, and suddenly the 9 PM lockdown triggers at 3 PM. Rely on RTC sync or a watchdog that forces a known state after ≤ 30 seconds offline.
“We assumed offline meant doors stay as they were. They didn’t. A maintenance crew got locked in a mechanical penthouse for four hours.”
— Facility manager, retrofit retrofit project, 2023
How often should I review the logic settings?
Quarterly, minimum. But the real answer: after every personnel change, lease renewal, or failed access attempt. A schedule that worked for a nine-to-five office breaks when night shift starts or a contractor gets badge access for two weeks. Proximity-only logic drifts too — ranges vary if you swap readers or move furniture near the door. I once found a trigger-chain that had a dead step (door B unlocked door C, but door B hadn’t been wired to the controller yet). Nobody checked for eleven months. That hurts. Set a calendar reminder, not a vague “we’ll audit next year.”
Can I reuse the same lock logic across multiple sites?
Tempting, but risky. Identical hardware and identical software? Then yes — copy the profile. Different reader models, different network latency, different door hardware (magnetic vs. electric strike)? Do not. The timing constants that work on a fast interior door fail on a weather-stripped exterior one. A trigger chain that works with one controller brand might interpret “door closed” signals differently on another. Clone the concept, not the config file. Test each site’s first door until it behaves like the others.
Comments (0)
Please sign in to post a comment.
Don't have an account? Create one
No comments yet. Be the first to comment!