FlowDiagram
Energy, IoT & smart devicesMermaid

Smart lock access control template

How a smart lock decides whether to unlock: app, keypad code or auto-unlock, schedule checks for guest codes, tamper lockout, and activity notifications. This architecture diagram template contains 19 labelled components, branches such as “Phone app”, “Keypad”, “Auto-unlock”.

Open in the editor →
  • Free — no account, no trial, no watermark
  • Fully editable shapes and connectors, not a screenshot
  • Export PNG, SVG or PDF, or share it as a link
  • Private: the diagram never leaves your browser

Components in this architecture diagram

  • Unlock attempt
  • Method?
  • Authenticate user via Bluetooth or Wi-Fi bridge
  • Check entered PIN code
  • Geofence arrival & phone in range
  • Code valid?
  • Count failed attempt
  • 5 failures in a row?
  • Lock out keypad & alert owner
  • Guest code within allowed schedule?
  • Deny & notify owner
  • Unlock deadbolt
  • User has access permission?
  • Push activity notification
  • Log entry in access history
  • Door closed for 30 seconds?
  • Auto-lock
  • Door ajar alert
  • Secured

How to use this architecture diagram template

  1. Click Open in the editor. The architecture diagram opens on a new page in FlowDiagram — nothing is uploaded and there is no sign-up.
  2. Rename, add or delete shapes and drag them where you want; connectors stay attached as things move.
  3. Drop in vendor logos from the library — 1,160 of them, including every AWS, Azure and Google Cloud service icon — or restyle it with the colour and theme controls.
  4. Prefer text? Edit the Mermaid source below and paste it in through ☰ → Import diagram (see the Mermaid editor); it imports as an editable diagram.
  5. Export to PNG, SVG or PDF, or press Ctrl+L for a link that carries the whole diagram.

Mermaid source

The whole template is the text below. Paste it into FlowDiagram, keep it in Git next to the code it describes, or hand it to an AI assistant to extend.

flowchart TD
  A((Unlock attempt)) --> B{Method?}
  B -->|Phone app| C[Authenticate user via Bluetooth or Wi-Fi bridge]
  B -->|Keypad| D[Check entered PIN code]
  B -->|Auto-unlock| E[Geofence arrival & phone in range]
  D --> F{Code valid?}
  F -->|No| G[Count failed attempt]
  G --> H{5 failures in a row?}
  H -->|Yes| I[Lock out keypad & alert owner]
  H -->|No| A
  F -->|Yes| J{Guest code within allowed schedule?}
  J -->|No| K[Deny & notify owner]
  J -->|Yes| L[Unlock deadbolt]
  C --> M{User has access permission?}
  M -->|No| K
  M -->|Yes| L
  E --> L
  L --> N[Push activity notification]
  N --> O[Log entry in access history]
  O --> P{Door closed for 30 seconds?}
  P -->|Yes| Q[Auto-lock]
  P -->|No| R[Door ajar alert]
  Q --> S((Secured))
  R --> S

Related: Mermaid editor · All energy, iot & smart devices templates · All 521 templates