Industry Applied

Global industry.
Applied in Australia & New Zealand.

Is the weather station reading fresh or just retained?

A dashboard can receive an MQTT value instantly after connecting even when the observation is hours old. Check the observation time at display.

Industry Applied Editorial Published 1 min read

Weather monitoring equipment with a sunset sky backdrop, highlighting technology and atmosphere.

A vineyard supervisor opens a weather screen at 08:40. The wind reading appears immediately. The connection is working, but the speed may belong to a much earlier observation. An MQTT broker can deliver the last retained message to a new subscriber as soon as it subscribes.

Store the station’s time with the value

Carry an observation timestamp, unit and station identifier in the application record. Keep receipt time as a separate operational field. Define how old a value may be for each display or decision, using the normal sampling pattern and the consequences of stale data. A radio heartbeat checks a different thing from a fresh wind observation.

For an illustrative station expected to report every five minutes, the payload says 08:10 and the dashboard received it at 08:40. Its observation age is 30 minutes. If the site-defined display threshold is 15 minutes, show the time and mark the value stale. Adding a new receipt timestamp must not reset its age.

Age of a retained observation. Observed 08:10. Subscriber reconnects 08:40. Observation age 30 minutes.

What to check on site

  • Test a new subscription while the station itself is offline.

  • Show the last observation time beside its unit and station name.

  • Test a real new reading and confirm that the stale indication clears.

For a Canterbury orchard or South Australian vineyard, the operating team can select thresholds for each use. Retained telemetry is useful for showing the last known condition when its age remains visible.

Sources and photograph

OASIS — MQTT 3.1.1 specification

OPC Foundation — source timestamps

Cover photograph by Ehaan Dewa on Pexels

0 views0 comments