Project overview
From observations to a map and recorded history
A personal prototype for exploring Hong Kong temperature and humidity by location and over time. It connects public observations and a companion sensor device, with explicit source labels and observation times.
What to explore
Choose a public station on the map, inspect its latest observation and open its history. The optional walking-route view relates a Mapbox route to nearby station readings. The ESP32-S3 + SHT31 demonstration shows records uploaded by the physical prototype; when the device is inactive, the entry opens its latest recorded session.
How the data travels
HKO public observations / sensor uploads → validation → PostgreSQL → FastAPI map views and Grafana history
The collector matches public temperature and humidity by station and observation time, checks values and timestamps, and stores observations for later queries. Stored data remains available if the upstream source fails; missing periods are not filled with invented readings.
Why these components
- Mapbox: interactive locations and existing walking directions.
- Grafana: station history, time filters and plotted statistics.
- FastAPI and PostgreSQL: shared interfaces and stored observations for the map and device.
- VPS hosting: runs collection and viewing independently of my personal computer.
My contribution
I defined the project scope and the roles of the data, API and visualisation layers, selected components including Mapbox and Grafana, arranged VPS hosting, and checked displayed data and interactions. For the companion device, I selected the components, assembled and wired the prototype, and checked its display and controls. AI assisted with implementation, debugging and tests.
What the prototype does not establish
PUBLIC means HKO observations, DEMO means simulated data, and EXTERNAL means device uploads. The public summary represents the included stations, not all of Hong Kong. The route index is an illustrative nearby temperature/humidity summary, not a route optimiser or a validated health or comfort measure. The device uses a demonstration map position; its recorded sessions do not establish continuous operation or calibrated accuracy.