Frío Seguro
IoT cold-chain temperature monitoring
Every fridge, cold room and truck reports over MQTT, and an excursion reaches the person on call while there is still time to save the load.
Concept project · fictional brand and sample dataApp in Spanish
- 25
- automated tests passing
- 17 ms
- median latency from sensor to dashboard, 13 devices
- 13
- live sensors: 5 cold rooms, 6 trucks, 2 client fridges
- 5,013
- readings per second ingested in the benchmark
The brief
A cold chain fails silently: a compressor trips or a door stays open during unloading, and nobody notices until a pallet of vaccines or fresh salmon is written off. Paper logs and data-logger downloads say what happened days later. They don't tell anyone now, and they don't record who did what about it.
What I built
- MQTT ingestion where each device has its own token and may publish only to its own topic, with raw readings and 5-minute rollups in SQLite
- Live sensor wall of instrument cards: product photo, thermometer scale with the product's limits, 30-minute trace, battery and signal
- Excursion detection with tolerance and hysteresis per product type, recording start, peak and duration
- Alerts for temperature, humidity, offline devices and low battery, acknowledged by picking the person on call
- Fleet map with trucks moving on real roads, their temperature, driver and shipment route, on a self-hosted basemap
- Shipment detail with time in range and mean kinetic temperature, plus a compliance report as PDF
The decision that mattered
Limits belong to the product, not the sensor
Limits come from what is inside: vaccines 2-8 °C, dairy 0-6 °C, frozen at -18 °C or colder. The first reading beyond a limit raises an early warning; only if it stays out longer than that product's tolerance does it become an incident, with start, peak and duration linked to the shipment. Moving a pallet of fish into a truck moves its rules with it, and a blip that recovers inside the tolerance never becomes an incident.