FlowDiagram
Energy, IoT & smart devicesMermaid

Smart home automation routine template

An evening routine triggered by presence and time: lights, heating, security and notifications. This architecture diagram template contains 14 labelled components, branches such as “Yes”, “No”.

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

  • Phone arrives in geofence
  • After sunset?
  • Porch & hallway lights on
  • Skip lights
  • Disarm security system
  • Anyone else home?
  • Heating to 21 C
  • Keep current settings
  • Unlock front door on approach
  • Door opened within 2 min?
  • Re-lock & notify
  • Play welcome playlist
  • At 11 pm: all lights off, arm night mode
  • Routine complete

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 LR
  A((Phone arrives in geofence)) --> B{After sunset?}
  B -->|Yes| C[Porch & hallway lights on]
  B -->|No| D[Skip lights]
  C --> E[Disarm security system]
  D --> E
  E --> F{Anyone else home?}
  F -->|No| G[Heating to 21 C]
  F -->|Yes| H[Keep current settings]
  G --> I[Unlock front door on approach]
  H --> I
  I --> J{Door opened within 2 min?}
  J -->|No| K[Re-lock & notify]
  J -->|Yes| L[Play welcome playlist]
  L --> M[At 11 pm: all lights off, arm night mode]
  M --> N((Routine complete))

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