Last updated: 28 November 2026
The Internet of Things (IoT) is the set of physical objects that sense or control something and exchange data over a network. A soil probe, a smart thermostat, a tracked shipping container and a connected factory motor all qualify.
The idea is no longer new, but it is still changing. IoT Analytics counted 21.1 billion connected IoT devices at the end of 2025, up 13% in a year, with 45% of them enterprise connections. What is emerging now is more local intelligence, better interoperability and firmer security obligations.
This guide reflects the picture as of late November 2026. It explains how the pieces fit, how to choose among them and how to avoid common failures.
How the Internet of Things works
Most IoT systems follow one loop: measure, send, decide and act. The design questions are where each step happens and what occurs when a link fails.

The main layers
- Devices: Sensors measure conditions, while actuators change them by opening a valve, switching a relay or locking a door. Many run on small microcontrollers with limited memory and power.
- Local network and gateway: A gateway, hub or router links device networks to wider IP networks. It may also translate protocols, buffer data or apply rules.
- Messaging and platform: A broker or service receives data, checks identity and routes messages. A platform may also store device records and push configuration or updates.
- Data and applications: Databases, dashboards, alerts and models turn readings into decisions.
- Management and security: This cuts across every layer, covering onboarding, credentials, patching, monitoring and retirement.
Edge or cloud?
Edge processing means handling data on the device or close to it. It suits decisions that must be fast, must survive an internet outage or involve data you prefer not to send away. Cloud processing suits long-term storage, comparison across sites and heavier analysis.
Consider a hypothetical cold room. A local controller switches cooling and sounds an alarm immediately. The cloud receives periodic summaries and compares rooms to spot a compressor that runs more often than its peers.
Choosing a network
No single radio wins everywhere. Range, data volume, battery life, coverage and running cost pull in different directions. Treat the table as a starting point and test at the real site.
| Option | What it is | Good fit | Main trade-off |
|---|---|---|---|
| Ethernet | Wired IP networking | Fixed equipment needing stable links | Cabling effort |
| Wi-Fi | Wireless local IP networking | Powered devices and higher data volumes, such as cameras | Usually harder on batteries |
| Thread | Low-power IPv6 mesh built on IEEE 802.15.4 | Home and building sensors and controls | Low bandwidth; needs a border router to reach other networks |
| NB-IoT and LTE-M | Low-power cellular in licensed spectrum | Dispersed meters and trackers within operator coverage | Depends on operator support and subscription terms |
| LoRaWAN | Low-power wide area protocol; devices reach a network server through gateways | Small, infrequent messages from battery devices over long distances | Very limited data rate; needs gateway coverage |
Protocols: how devices talk
A network moves bits. An application protocol defines how messages are exchanged.
MQTT
MQTT is a lightweight publish/subscribe protocol, and version 5.0 is an OASIS standard. Devices publish messages to named topics on a broker. Subscribers receive what matches their interests, so senders and receivers need not know about each other.
It offers three quality of service levels:
- QoS 0: at most once, so messages can be lost.
- QoS 1: at least once, so duplicates are possible.
- QoS 2: exactly once, with more protocol overhead.
MQTT also supports a Will message, which the broker publishes if a client’s connection ends abnormally. It is useful for marking a device offline.
CoAP
The Constrained Application Protocol (CoAP), defined in RFC 7252, is a web transfer protocol for constrained devices and networks. It runs over UDP by default, has a compact fixed header and can be secured with DTLS. It fits request and response interactions where a full web stack is too heavy.
Matter
Matter addresses smart home interoperability. It is an IPv6-based standard from the Connectivity Standards Alliance that can run over Wi-Fi, Ethernet and Thread. Matter and Thread are therefore not rivals: one is the application layer and the other is a network underneath it.
The Alliance announced Matter 1.6 on 17 June 2026. It added full device setup over NFC, a Joint Fabric method that lets several authorized controllers manage one shared network, and thermostat suggestions. A 1.6.1 specification set has since been listed for download.
A new specification does not mean your products support its features. Check what each device and controller actually implements.
What is emerging now
Intelligence on the device
Running AI models near the sensor can cut delay and data traffic. Adoption of dedicated hardware is still early. IoT Analytics estimated that, as of December 2025, under 1% of connections had true edge AI in the sense of dedicated accelerators such as GPUs or NPUs.
The firm also describes attention moving toward industrial, physical and agentic AI, while noting that most industrial agentic deployments remain early. Start with a rule or simple statistical check, and add a model only when it measurably does better.
Security duties in the European Union
The Cyber Resilience Act (CRA) covers hardware and software products with digital elements, which includes many IoT products. It entered into force on 10 December 2024, and its main obligations apply from 11 December 2027.
Reporting duties came earlier. Since 11 September 2026, manufacturers must report actively exploited vulnerabilities and severe incidents through a Single Reporting Platform run by ENISA, the EU cybersecurity agency.
- An early warning is due within 24 hours of becoming aware.
- A fuller notification is due within 72 hours.
- A final report is due within 14 days of a fix being available for an exploited vulnerability, or within one month of the 72-hour notification for a severe incident.
This is a summary, not legal advice. Confirm how the rules apply to your product and role.
Guidance and labels in the United States
NIST published Revision 1 of IR 8259 in April 2026. It recommends cybersecurity activities for IoT product manufacturers to consider so that customers can better secure what they buy.
The FCC’s U.S. Cyber Trust Mark is a voluntary label for consumer connected products. As of early November 2026, its requirements were still being finalized. The FCC sought comment in late October on labeling, renewal and post-market monitoring, and Commissioner Olivia Trusty was named to lead the rollout. Do not assume a product lacking the mark has failed an assessment.
Best practices
- Start with a decision. Name the action the data will change, who takes it and how quickly.
- Give each device its own identity. Avoid shared credentials. The consumer IoT standard ETSI EN 303 645 rules out universal default passwords.
- Encrypt and restrict. Use TLS or DTLS, and let each device publish or subscribe only where it needs to.
- Plan updates before purchase. Ask how firmware is signed and delivered, what happens if an update fails and how long support lasts.
- Segment networks. Keep IoT devices away from sensitive business systems.
- Design for outages. Decide what to buffer, what to drop and which safe state an actuator should adopt.
- Collect less. Keep only the data you need, especially from cameras, microphones and location sensors.
- Keep an inventory. Record owner, location, firmware version, support end date and retirement plan.
Common mistakes and troubleshooting
| Symptom or mistake | Likely cause | What to check |
|---|---|---|
| Duplicate events | Redelivery with QoS 1, or application retries | Add a message ID and make processing safe to repeat |
| Dashboard shows old values as current | Retained or buffered messages without timestamps | Include measurement time and flag stale data |
| Devices keep disconnecting | Weak signal, power problems or clients sharing an ID | Signal strength, power supply and unique client IDs |
| Battery drains early | Frequent wake-ups, retries or large payloads | Reporting interval, radio time and sleep behavior |
| Pilot works but rollout stalls | Manual setup and no update process | Automate onboarding and rehearse updates and rollback |
Hands-on exercise: a local MQTT lab
This exercise uses Eclipse Mosquitto and its command-line clients on one computer. The commands have not been tested here. Install the packages for your system first.
Start a broker with no configuration file. In Mosquitto 2.x, a broker with no configured listener accepts only local connections and by default allows them anonymously. If port 1883 is already in use, a broker service may be running with its own settings.
# Terminal 1: start the broker
mosquitto -v
# Terminal 2: watch the temperature from any room
mosquitto_sub -h localhost -t 'lab/+/temperature' -q 1 -v
# Terminal 3: publish a retained reading
mosquitto_pub -h localhost -t lab/room1/temperature -q 1 -r \
-m '{"id":"r1-0001","time":"2026-11-28T10:00:00Z","celsius":21.5}'
Stop the subscriber and start it again. The retained reading should arrive at once, even though nothing new was published. Notice why the timestamp matters.
Next, simulate a device failure:
# Terminal 2: stop the old subscriber, then watch everything
mosquitto_sub -h localhost -t 'lab/#' -v
# Terminal 3: a stand-in device with a Will message
mosquitto_sub -h localhost -t lab/room1/commands \
--will-topic lab/room1/status --will-payload offline
# Terminal 4: kill the stand-in abruptly (Linux or macOS)
pkill -KILL -f 'lab/room1/commands'
# Finally, clear the retained reading
mosquitto_pub -h localhost -t lab/room1/temperature -r -n
The watcher should show the offline status. As an extension, publish the same message ID twice and describe how your application would ignore the repeat. Do not expose this anonymous setup to a network.
FAQ
Is IoT the same as machine-to-machine communication?
They overlap. Machine-to-machine describes devices exchanging data. IoT usually implies a wider system with IP connectivity, platforms, applications and management of many devices.
Does every IoT device need the internet?
No. Some systems work entirely on a local network. Remote access and cloud analysis need a wider connection.
Does IoT require 5G?
No. Wired links, Wi-Fi, Thread, LoRaWAN and earlier cellular technologies all serve IoT uses. Choose according to range, power, data and cost.
What is industrial IoT?
It applies IoT to settings such as manufacturing, energy and logistics. Safety, uptime and integration with long-lived equipment usually weigh more heavily there.
What should a beginner learn first?
Learn basic networking, then publish and subscribe messaging, then device identity and updates. A single sensor taken through that whole path teaches more than a drawer of unconnected kits.
The practical takeaway
Understanding the Internet of Things means looking past the gadget to the whole system. Pick one useful decision, choose the simplest network and protocol that support it, and settle security, updates and ownership before adding devices.