Work · Weather

Weather

A personal station, from the sensor to the chart.

Context

Public weather services give a forecast for an area, not a measurement for a place. The climate of a valley is not that of the town twenty kilometres away, and a forecast is still a model, not a reading.

Solution

A physical weather station, installed in the garden and wired to the local network over WiFi. It exposes its measurements on a local data page. A collector polls it every minute, extracts the relevant quantities, computes rainfall totals by difference with the previous reading, then inserts them into a database.

Result

A chain that runs continuously, without intervention. Every minute adds a row: outdoor and feels-like temperature, humidity, absolute and relative pressure, wind speed, gust and direction, solar radiation, UV index, and five separate rainfall measurements. The history built itself, and it keeps going.

Cliquez pour agrandir

How it works

The full path, step by step.

01 · The sensor
An Ecowitt WS3900A station, in the garden, on the local WiFi network. It measures continuously and publishes its data on a local web page, as JSON.
02 · The collection
A Python collector polls that page every minute, as a scheduled task. It does not simply copy: it converts units, discards empty values, and computes what the station does not give directly.
03 · The rainfall total
Rain is the tricky part. The station gives a counter accumulated since commissioning. To know the rain that fell during the interval, the collector re-reads the last total from the database and computes the difference. That is what makes it possible to say "so many millimetres fell this minute".
04 · The database
One reading per minute in a twenty-column table: temperatures, humidities, pressures, wind, radiation, UV and the five rainfall measurements. As of 16 November 2026, the table holds over one hundred and thirty-seven thousand readings, since 12 August.
05 · The display
A web interface reads the database and renders the data as charts and current values, viewable from any device.
06 · The monitoring
Each collection writes a log line. If the chain stops, it shows in the log before it shows on the site.

A few figures

1reading per minute
20measured quantities
137,000readings in the database
100 %of the chain mastered
The data stays anonymous
No visitor is identified, no personal data is collected. The measurement is about the weather, not about the people who look at it. Consistent with the Privacy page of this site.

A project in mind?

Let's talk. A first conversation to scope your needs, with no commitment.