RCA, Rounded Corp AssociationRCA, Rounded Corp Association

A reading you should not trust: stale feeds and offline devices

The most dangerous figure on a dashboard is the one that looks current and is not. How to make a silent sensor say so.

In short

  1. Every feed gets an expected interval and a stated threshold; past it, the feed is stale, and the screen says since when.
  2. A stale feed shows no current value: not its last reading, not zero. Charts show a gap, and totals say they are incomplete.
  3. Analytics count the silences, and feeds still on trial are marked and left out of the figures.
Rounded CorpPublished 6 min read

Stale sensor data is a reading that has not been updated within the time it should have been. A feed is stale when its newest reading is older than its stated threshold. A good system shows that feed as stale, with the moment of its last reading, and shows no current value for it: not the last value it sent, and not zero. Its charts show a gap, its totals say they are incomplete, and its analytics count the silence.

The examples come from two of our working demos. Bayward is a register of a city region's parking facilities, with a reading every 15 minutes from each facility's occupancy feed. Gridpulse monitors smart fuses in grid substations, with a reading every 15 minutes from each fuse. Both are fictional rebuilds of systems we delivered: every facility, device, person and reading is invented. Neither is a plant, but a feed that goes silent behaves the same way on a machine, a meter or a counter at a gate.

Every feed needs an expected interval and a threshold

A system can only say a reading is late if it knows when the reading was due. So each feed carries two numbers: how often it reports, and how long a silence is allowed before the feed is called stale.

In Bayward, a car park's or a garage's feed is stale after 45 minutes without a reading, a street's after an hour. Administrators can change a feed's threshold, from the feed's own interval of 15 minutes up to a day. In Gridpulse, a fuse is offline after more than two quarter hours without a reading. A threshold of two or three intervals lets one late reading through without an alarm, and still catches a feed that has stopped.

The rule itself is one line: if the newest reading is older than the threshold, or there is no reading at all, the feed is stale. Writing it down matters more than its exact value, because then every screen, report and export applies the same one.

Stale is a state, with the moment it began

A stale feed is not an error message on one page. It is a state of the feed, like "full" or "offline", shown everywhere the feed appears. In Bayward a silent garage shows a Stale badge on the map and in the list with the time of its last reading ("since 13:00"), its record says "No reading since 13:00", and the export carries the state with the time of the newest reading.

The moment matters more than a duration. "No reading since 13:00" stays true until the feed reports again; "silent for 40 minutes" is true for one minute.

The last value is not the current value

Many systems quietly keep showing the last value a device sent. On a dashboard it looks exactly like a live reading, so nobody notices the device has stopped. Showing zero is no better: a zero is a reading, and a zero that means "nothing arrived" makes a full car park look empty or a loaded fuse look idle.

Gridpulse replaces every gauge of an offline fuse with the word Offline, because the last values it sent say nothing about now. Its Latest values tab says when it last checked and warns when the newest reading is older than 30 minutes. On a stale facility's record, Bayward shows since when the feed has sent nothing in place of the spaces taken now.

Gaps in charts, totals and analytics

A chart should stop where the readings stopped. In Gridpulse, an offline device's charts end at its last reading and leave the rest of the range empty, and a concentrator's total load is empty for the period too, not zero. A line drawn across a gap, or a total that leaves out a silent meter without saying so, is a figure nobody should act on.

Analytics should record the silences, not smooth over them. Bayward's analytics list, for each facility, when its feed was silent: every gap between two readings longer than the feed's threshold, the one still running included. A feed that went quiet every night for a week is then visible as a pattern, not as a few odd hours in an average.

When the parent goes silent

Devices often report through something else: a gateway, a concentrator, a controller. When that goes silent, everything behind it goes silent at once. In Gridpulse, a concentrator is offline once its last heartbeat is more than two quarter hours old; its fuses then read offline and its inputs read "No data", and the fuses raise no alarms of their own, because the concentrator's alarm already covers them. One cause, one alarm. The control room side of this is in IIoT monitoring the control room trusts.

Feeds that are not trusted yet

A new sensor reports before anyone trusts it. Bayward lets administrators set a feed to Testing: it keeps reporting and shows its readings, marked, and the analytics leave it out. A feed set to Inactive writes no readings at all. Both are set by a person, so the figures never mix trusted readings with ones still on trial.

Getting readings off the floor is industrial control and automation work; making the figures agree across reports, with each one traceable to its source, is data platforms and analytics.

Try it on two working demos

Bayward and Gridpulse are two of five working demos on our track record page. Request the guest login there and open Bayward. Type A03-G02 in the list's search: the garage is Stale, with the time of its last reading, and its record says "No reading since" that time. Under Analytics, choose A03-G02: "when its feed was silent" lists the gap that is still running. Then open Gridpulse, type GW-0036 in the Grid overview and press Enter: the concentrator is offline, its inputs show "No data", and its charts stop where its readings stopped. Every company and number in them is fictional, and they start fresh every night.

Questions about stale data

What is stale data?

Data that has not been updated within the time it should have been. For a sensor feed, it is a feed whose newest reading is older than its stated threshold, usually two or three times its reporting interval.

How should a dashboard show a sensor that stops reporting?

As stale or offline, with the time of its last reading, and with no current value. Its chart should show a gap, and any total that includes it should say it is incomplete.

Should a system carry the last known value forward?

Not as if it were current. The last known value can be shown labeled as such, with its time, but the feed's state must say it is stale, and calculations should not treat it as a fresh reading.

The audit exists for this

Two to four weeks, fixed price, vendor-neutral.

Which feeds report what, how often, and what each screen and report does when one goes silent. It can conclude that the data you have needs stated thresholds, not a new platform.