Cheatsheets
IoT
Internet of Things — architecture layers, protocols, connectivity, and security, with a reference diagram.
28 entries
Architecture layers5
Perception / deviceSensors & actuators collecting data
ConnectivityTransport from device to network
Edge / gatewayLocal aggregation, filtering, protocol bridging
Cloud / platformIngest, storage, rules, analytics
ApplicationDashboards, alerts, control
Protocols7
MQTTLightweight pub/sub over TCP — the IoT default
QoS 0 / 1 / 2MQTT delivery guarantees: at-most-once / at-least-once / exactly-once
LWT (Last Will & Testament)Broker publishes a tombstone when a device drops ungracefully
CoAPREST-like over UDP for constrained devices
AMQPReliable enterprise messaging
HTTP / WebSocketSimple request/response or push
LwM2MDevice management over CoAP
Connectivity5
Wi-FiHigh bandwidth, mains-powered devices
BLEShort range, low power (wearables, beacons)
Zigbee / Thread / MatterMesh for smart home
LoRaWANLong range, low power, low bandwidth
NB-IoT / LTE-MCellular low-power wide-area
Security & ops5
Per-device identityUnique keys/certs per device
TLS / DTLSEncrypt device ↔ cloud traffic
Secure bootVerify firmware integrity at start
OTA updatesSigned, staged remote firmware updates
Network segmentationIsolate IoT from core networks
Data & storage2
Time-series DB (InfluxDB / TimescaleDB)Purpose-built storage for timestamped sensor readings
Stream / rules engineReal-time processing of inbound device events
Platforms4
AWS IoT Core / Azure IoT HubManaged device gateways
Google Cloud IoT / ThingsBoardIngest + device mgmt + dashboards
Home AssistantOpen-source smart-home hub
InfluxDB / TimescaleDBTime-series storage