CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/IoT

📡 IoT · Flowchart

Smart Home Automation Flow

How a smart home reacts to events: motion, door and temperature triggers run rules for lights, locks, AC and alerts.

More IoT templates

Drawing diagram…

What this diagram shows

  • Rules depend on mode: home, away or night
  • Security events alert the owner's phone
  • Comfort rules adjust AC and lights automatically

Prompt used

Smart home flowchart: a sensor event arrives at the home hub (motion, door open, temperature). The hub checks the home mode. In Away mode, motion or door open triggers the siren, camera recording and a phone alert. In Night mode, motion turns on dim hallway lights. In Home mode, temperature above 27°C switches on the AC and door open at sunset turns on porch lights.

Mermaid code
flowchart TD
  A[Sensor event: motion, door, temperature] --> B[Home hub]
  B --> C{Home mode}
  C -->|Away| D{Motion or door open?}
  D -->|Yes| E[Siren, record camera, alert phone]
  C -->|Night| F{Motion?}
  F -->|Yes| G[Dim hallway lights for 2 min]
  C -->|Home| H{Temperature above 27°C?}
  H -->|Yes| I[Turn on AC at 24°C]
  C -->|Home| J{Door open after sunset?}
  J -->|Yes| K[Porch lights on]

Related templates

Data FlowIoT

IoT Telemetry Data Pipeline

How sensor readings travel from devices to dashboards and alerts: MQTT ingestion, stream processing, time-series storage and anomaly detection.

SequenceIoT

IoT Device Provisioning Sequence

How a new device joins the platform securely: claiming by the owner, certificate issue and its first connection to the MQTT broker.

C4 ArchitectureProIoT

IoT Platform Reference Architecture

A general-purpose IoT platform: device connectivity, device management, data processing, rules and the apps built on top.

DeploymentProIoT

IoT Edge Computing Deployment

Where processing happens in an edge IoT setup: devices, an on-site edge server running containers, and the cloud for fleet management and long-term storage.

SequenceIoT

MQTT Publish/Subscribe Messaging

How MQTT messaging works between devices, a broker and applications: connect, subscribe, publish with QoS, retained messages and last will.

State MachineIoT

IoT Device Lifecycle

Every state an IoT device goes through, from manufacture to decommissioning, including updates, faults and replacement.