A dashboard can keep showing 19.2 °C after a site loses its internet connection. The number alone tells you little. Did the sensor take another reading? Did the site store it? Can a remote operator see it? Those three answers can lead to different deployment choices.
Write down what the site owes its operator
For a cold-room monitor, try a concrete requirement: collect one reading per minute during a 30-minute WAN outage, let the on-site operator see when the last sample arrived, and deliver all 30 readings to the central service after connectivity returns. Treat an off-site notification as a separate test, since its delivery path may also cross the failed link.
Draw the route from sensor through collector, storage and display. Mark every hop that crosses the site boundary. A local server can still depend on remote authentication. A gateway can buffer frames while its dashboard is unavailable. A cloud service can backfill history if a collector has durable storage. Test the deployed combination.
A six-reading rehearsal
Before using a real sensor, a small replay can check the logic of your acceptance test. In a local Python run, six synthetic samples had sequence numbers 1 through 6. A SQLite queue retained each sample until the destination acknowledged it. The destination used the sequence number as its primary key for this single simulated source.
| Step | Event | In the local queue | Unique rows at destination |
|---|---|---|---|
| 1 | First send | 0 | 1 |
| 2 | Second send | 0 | 2 |
| 3 | Link unavailable | 1 | 2 |
| 4 | Reopen local storage while offline | 2 | 2 |
| 5 | Link returns, last acknowledgement is lost | 1 | 5 |
| 6 | Retry and send the final sample | 0 | 6 |
Step 5 is the revealing one. The destination has stored sample 5, but the collector still has to keep it. On retry, the destination recognizes the same sample. Two consecutive samples also have the same temperature, so deduplicating on the measurement itself would discard a valid reading. With multiple devices you need an identity that includes the source and survives device restarts.
Repeat it on the candidate installation
Use a test unit and isolate only its WAN uplink. Record sample IDs, source times, local visibility and remote receipt. Restore connectivity and check the IDs individually. For the 30-minute requirement, simulate at least 30 minutes of traffic at the expected rate. Check disk capacity, retention policy and the time needed to drain the backlog while new data keeps arriving.
The six-row run exercises queue persistence and duplicate handling in a software model. Radio reception, power-loss durability, storage limits and notification delivery still need separate measurements on the installation. Those observations give you a concrete basis for choosing between cloud, local server and gateway placement.
AI disclosure: this article was drafted with AI. The six-row output comes from an executed local simulation using synthetic temperature readings.