Loading...
Loading...
Create IoT architecture diagrams using PlantUML syntax with device/sensor stencil icons. Best for smart home, industrial IoT (IIoT), fleet management, edge computing, and sensor network diagrams. NOT for general cloud infra (use cloud skill) or simple flowcharts (use mermaid).
npx skill4agent add markdown-viewer/skills iot```plantuml⚠️ IMPORTANT: Always useor```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
@startuml@endumlleft to right directionmxgraph.aws4.*fillColorstrokeColorrectangle "Zone" { ... }package "Site" { ... }-->..>mxgraph.aws4.<icon> "Label" as <alias>| Category | Stencils | Purpose |
|---|---|---|
| IoT Platform | | Central IoT hub / message broker |
| Edge/Gateway | | Edge computing & device gateway |
| Greengrass | | Edge runtime components |
| Device Mgmt | | Fleet provisioning, security, OTA |
| Analytics | | IoT data processing pipeline |
| Events/Rules | | Event detection & job execution |
| Digital Twin | | Asset modeling & visualization |
| Fleet | | Vehicle & device fleet telemetry |
| Category | Stencils |
|---|---|
| Sensors | |
| Actuators | |
| Industrial | |
| Smart Home | |
| Protocols | |
| Boats/Vehicles | |
| Robotics | |
| Syntax | Meaning | Use Case |
|---|---|---|
| Solid arrow | Sync API / data flow |
| Dashed arrow | Async telemetry / MQTT publish |
| Solid line | Physical / bidirectional link |
| Labeled connection | Describe protocol or data |
@startuml
left to right direction
rectangle "Factory Floor" {
mxgraph.aws4.sensor "Temp\nSensor" as s1
mxgraph.aws4.iot_thing_plc "PLC" as plc
}
mxgraph.aws4.greengrass "Greengrass\nEdge" as gg
mxgraph.aws4.iot_core "IoT Core" as core
mxgraph.aws4.iot_analytics "IoT\nAnalytics" as analytics
s1 --> gg : MQTT
plc --> gg
gg --> core
core --> analytics
@enduml| Type | Purpose | Key Stencils | Example |
|---|---|---|---|
| Smart Factory | Industrial IoT monitoring | | smart-factory.md |
| Smart Home | Home automation | | smart-home.md |
| Fleet Telemetry | Vehicle fleet tracking | | fleet-telemetry.md |
| Edge Computing | Local processing at edge | | edge-computing.md |
| Digital Twin | Asset modeling & simulation | | digital-twin.md |
| Sensor Network | Distributed sensor mesh | | sensor-network.md |
| Device Management | Fleet provisioning & OTA | | device-management.md |
| Robotics | Robot fleet orchestration | | robotics.md |