SnapFrost
Frost early-warning system that texts Andean potato farmers before a damaging night.
1st place Madrid · 2nd place EMEA final
- Hackathon · BCG Platinion × Welthungerhilfe
- 16–17 Oct 2026
- Team member · hardware, ML and demo
- Clara Gómez Montero (lead), Jaume, Álvaro García Olivares, Marcos Arribas and me
Problem
A single frost night can wipe out a potato harvest in the Bolivian Andes, along with the farmer’s income and next year’s seed. Regional forecasts measure air at 2 m, but on clear, calm nights the air at the leaves is colder. Farmers have basic phones, so the warning has to be an SMS.
What I built
- A Raspberry Pi 5 field station with temperature, pressure and humidity sensors, plus an LCD, a risk LED and a buzzer.
- The station works offline: it raises the alarm locally and buffers readings if the network drops.
- A quantile gradient-boosting model that predicts the night’s minimum temperature and corrects it with live sensor readings.
- SMS alerts through Twilio/Vonage when the risk is moderate or higher.
- A live demo where judges scanned a QR code, played the farmers and watched the real sensor get cooled.
Outcome
14% lower forecast error than the raw ECMWF forecast on 358 unseen nights (1.50 to 1.29 °C). Built in two days; 1st in Madrid, then 2nd in the EMEA final against the winners of the other BCG Platinion hubs. A prototype, with a pilot proposed.
Numbers
- −14% forecast error vs the raw ECMWF forecast, on 358 unseen nights
- 85–93% of frost nights at 2 m warned in the backtest
- 8 h median warning ahead of the frost
- 2 days from idea to a working field station
Stack
Python, FastAPI, SQLite, scikit-learn, pandas, React, TypeScript, Vite, Three.js, Raspberry Pi 5, I2C, Open-Meteo / ERA5-Land, Twilio, Pytest, Playwright
Projects · Home
Javier Cruz Villarreal · contact@javicruz.dev