Target Solutions
EN

Internet of Things (IoT)

IoT device with no data: when should silence trigger an alert?

A dashboard still shows the last temperature reading from a sensor. The screen looks normal, the value is within the expected range, and no alert was opened. Yet there is a question that completely changes how you interpret that information: when was that measurement produced?

If the device should transmit every five minutes and has been silent for two hours, the problem is not the value shown. It is the absence of a new reading.

This scenario is common in Internet of Things (IoT) operations. The last known data point can remain available even after the sensor, link, gateway, or ingestion service has stopped working. Without a criterion for freshness, the interface presents history as if it were the current state.

The challenge is not only detecting that a device stopped sending data. Operations must distinguish a normal silent period, an acceptable delay, a communication outage, and a failure that requires an immediate response.

A missing-data alert is only useful when it knows the expected behavior of the device.

Silence does not mean the same thing for every device

Some equipment sends measurements continuously. Others publish at minute- or hour-long intervals. Some devices stay in low-power mode and wake only to measure and transmit. There are also devices that communicate only on a state change or an event.

Applying the same time limit to all these cases creates two problems.

The first is false positives. If a meter transmits once per hour, marking it unavailable after ten minutes raises an event during normal operation.

The second is delay. If a critical sensor should publish every minute, waiting several hours before flagging its absence can leave operations without needed information.

Transmission frequency must be treated as an operational characteristic of the asset. It should be tied to the model, application, operating mode, and criticality of the information.

Connection, message, and measurement are different states

Three conditions are often confused in an IoT architecture.

The device is connected

The broker, gateway, or communication service keeps an active session with the equipment. That indicates a channel is available, but it does not prove that new measurements are being published.

The device is sending messages

Messages keep arriving at the platform. They may represent measurements, events, control signals, or acknowledgments. Traffic present does not guarantee that the variable operations need is being updated.

The measurement is fresh

A new observation was made on the expected interval and reached the platform within acceptable latency. This is the condition closest to the question the data user wants to answer.

MQTT offers important mechanisms to track communication. Keep Alive defines the maximum interval between control packets for a connection. The last will message can inform other consumers when a session ends abnormally [1]. These mechanisms help identify connection issues.

They do not replace a data-freshness rule. A client can keep the session active and continue sending control packets without publishing the expected measurement. It may also publish other topics while a specific variable remains stale.

Therefore, monitoring must observe the session and the age of each relevant piece of information.

The first step is to define the expected cycle

A missing-data rule starts with a simple definition: when should the next piece of information arrive?

That answer requires at least five elements.

Expected frequency

The normal interval between measurements or events. It may be fixed, vary by operating mode, or depend on a change in the monitored process.

Tolerance

The margin accepted for network delay, processing, queues, retransmissions, and device clock variation. A rule exactly equal to the nominal cycle tends to generate unnecessary alerts.

Maximum data age

The time during which the last measurement can still be used by operations. This depends on the process, not only on the equipment.

Criticality

An ambient reading used for historical analysis may admit a longer delay. A sensor tied to asset protection may require a fast reaction. The same silence can be informative in one case and critical in another.

Recovery behavior

The device may resume transmission with a new reading or resend data stored during the outage. The platform must distinguish the measurement time from the reception time.

The SOSA/SSN ontology from W3C distinguishes the time an observation applies from the time its result became available [2]. That separation is especially useful in IoT. A message received now may carry a measurement taken much earlier.

A practical rule needs more than one clock

A simple strategy can track three timestamps:

The time of measurement on the device. The time of publication or passage through the gateway. The time of reception by the platform.

When only the third exists, the team knows a message arrived but cannot reliably tell when the physical condition was observed.

When all three are available and synchronized, troubleshooting can separate different problems. An old measurement received now suggests storage and resend. A recent measurement that took long to arrive indicates communication or processing latency. Complete absence points elsewhere in the chain.

This analysis also prevents a batch of delayed messages from automatically closing a freshness incident. The device started transmitting again, but operations may still lack a recent observation.

How to turn silence into a useful alert

A good rule does not need to open a critical ticket on the first delay. It can use stages.

Normal state

The last measurement remains within the expected cycle and defined tolerance.

Attention

The data exceeded the nominal interval but is still within a margin compatible with known delays. This state can be used for monitoring without triggering the full response chain.

Alert

The measurement age exceeded the operational limit. The ticket must indicate the device, affected variable, last known time, expected frequency, and relevant dependencies.

Recovery

A new fresh measurement was received and the condition remained stable per the defined criterion. Requiring more than one valid observation can help avoid repeated open/close on unstable connections.

Limits must be configured per device family and application. The example below is illustrative only.

These values should not be copied into a real operation. Manufacturer, architecture, connectivity, process, and criticality must guide configuration.

Sleeping devices require their own rules

Constrained devices may operate with little memory, limited processing, and energy available for a defined period. IETF RFC 7228 describes different classes of energy constraint and recognizes devices that temporarily enter low-power mode [3].

In that context, staying disconnected can be a design choice.

Monitoring must know the activity schedule. A device may wake, measure, transmit, and sleep again. During the interval, the platform should not expect the same behavior as a continuously powered server.

Configuration changes must also be considered. If transmission frequency moves from five minutes to one hour to preserve battery, the absence rule must follow that change. Otherwise, energy savings will be read as unavailability.

What to investigate when data stops arriving

A silence alert identifies a symptom. It does not automatically determine the cause.

Investigation can start with objective questions:

Does the device maintain an active session with the broker or gateway? Are other topics or variables from the same equipment still updating? Did other devices on the same gateway also go silent? Is the platform still receiving messages from other equipment? Was there a change to configuration, firmware, or transmission frequency? Is there indication of low battery or power failure before silence? Are messages stored for resend when connectivity returns? Is the device clock correct?

The answers help separate a local failure from a shared problem. If several sensors on the same gateway stop at the same time, shared infrastructure should be investigated before assuming independent failures.

Common configuration mistakes

A frequent mistake is creating a single limit for the entire fleet. That ignores different transmission cycles, applications, and criticalities.

Another is using only connection state. An active session does not prove the required measurement is arriving.

It is also risky to close an incident on any received message. The message may be old, belong to another topic, or represent only a reconnection attempt.

Finally, overly sensitive limits cause alert fatigue. When operations receives tickets during normal behavior, trust in the system erodes and a relevant event may be ignored.

Freshness must be part of data quality

A device’s silence should not be treated only as a connectivity issue. It represents the absence of information within the period when it should be available.

A consistent strategy combines expected frequency, tolerance, criticality, measurement age, and recovery behavior. It also separates connection state from updates to the variables operations use.

This deep dive complements the article on IoT device monitoring and the comparison between IoT monitoring and IT monitoring.

For managers in IT, telecommunications, infrastructure, and operations, the central question must be specific: what information should have arrived, when, and for how long can its absence be acceptable?

Silence becomes an operational signal when the platform knows each device’s expected rhythm.

About Target Solutions

Target Solutions has spent more than 15 years helping organizations evolve their infrastructure, monitoring, observability, automation, and operational intelligence operations. Across that journey, it has participated in projects in demanding environments such as telecom, technology, government, energy, and large enterprises, helping increase operational efficiency and service reliability.

That experience also includes Internet of Things (IoT) projects, where connectivity, technical integration, and operational follow-up matter to turn connected devices into useful solutions for organizations.

About the author

Paulo Florêncio de Menezes is cofounder of Target Solutions and has spent more than 15 years on projects involving infrastructure, monitoring, observability, automation, and IT and telecom operations.

He holds a degree in data processing from the Federal University of Amazonas (UFAM), an MBA in business management from Fundação Dom Cabral (FDC), and a professional master’s in economics from Fundação Getulio Vargas (FGV).

In his master’s research, he developed the IBEOP-IA (Brazilian Index of Occupational Exposure Potential to Artificial Intelligence), studying the potential exposure of Brazilian occupations to AI capabilities by combining occupational data, artificial intelligence patents, and natural language processing techniques.

References

[1] OASIS. MQTT Version 5.0. OASIS Standard, 7 Mar. 2019.

[2] W3C. Semantic Sensor Network Ontology. W3C Recommendation, 19 Oct. 2017.

[3] BORMANN, Carsten; ERSUE, Mehmet; KERANEN, Ari. Terminology for Constrained-Node Networks. RFC 7228. Internet Engineering Task Force, May 2014.