
📡 IoT · C4 Architecture · Pro
Tracking valuable assets such as containers, tools or medical equipment with GPS and BLE tags, geofences and alerts.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
Asset tracking platform: outdoor GPS/cellular trackers send positions over NB-IoT, indoor BLE tags are heard by BLE gateways in buildings. A location ingestion service normalises positions, a geofence service checks entry/exit and raises alerts, a location history database stores tracks, and a web/mobile app shows maps and utilisation reports. Alerts go by SMS/email; asset data syncs with the ERP.
C4Container
title Asset Tracking
Person(ops, "Operations Manager", "Finds and audits assets")
System_Ext(gps, "GPS Trackers", "NB-IoT, outdoor")
System_Ext(ble, "BLE Tags and Gateways", "Indoor")
System_Ext(erp, "ERP", "Asset register")
System_Boundary(at, "Asset Tracking Platform") {
Container(ingest, "Location Ingestion", "Go", "Normalises positions")
Container(geo, "Geofence Service", "Go", "Entry and exit alerts")
ContainerDb(hist, "Location History", "PostGIS", "Tracks")
Container(alert, "Alert Service", "Node.js", "SMS and email")
Container(app, "Web and Mobile App", "React", "Maps and reports")
}
Rel(gps, ingest, "Positions")
Rel(ble, ingest, "Sightings")
Rel(ingest, hist, "Stores")
Rel(ingest, geo, "Checks")
Rel(geo, alert, "Triggers")
Rel(ops, app, "Uses")
Rel(app, hist, "Queries")
Rel(app, erp, "Syncs assets")How sensor readings travel from devices to dashboards and alerts: MQTT ingestion, stream processing, time-series storage and anomaly detection.
How a new device joins the platform securely: claiming by the owner, certificate issue and its first connection to the MQTT broker.
A general-purpose IoT platform: device connectivity, device management, data processing, rules and the apps built on top.
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.
How a smart home reacts to events: motion, door and temperature triggers run rules for lights, locks, AC and alerts.
How MQTT messaging works between devices, a broker and applications: connect, subscribe, publish with QoS, retained messages and last will.