Skip to content
Fundamentals

Heartbeat

A small periodic message a device sends to show it is still alive and reachable, so a platform can detect silent failures and lost connections.

A heartbeat is the simplest form of liveness check. Instead of waiting for meaningful data, the device sends a short “I’m here” message at a fixed interval, and the platform raises an alert when a few are missed. This distinguishes a device that has nothing to report from one that has lost power, dropped off the network or crashed, a distinction that plain telemetry cannot make when readings are sent only on change.

The cost is traffic and energy, which matters on batteries and metered cellular links. Protocols help: MQTT has a keep-alive built into the connection and a Last Will message the broker publishes when a client disappears, which gives the same signal without application-level messages. The interval is a tuning decision: short enough to detect outages usefully, long enough not to dominate the power budget.

Part of the IoT Glossary. Spotted an error or a missing term? Tell us.