This API server provides wind (Speed, Direction, Gust), temperature (c°), humidity (%Rh) and pressure data (HPa)
The sensors a geographically installed in at the Harbour in Crans, VD, Switzerland
At the hart of the compute is an Espressif ESP32 WROVER DevKitC V4, 8MB flash
The Bluetooth and wifi capabilites of the ESP32 are used to retrieve via BLE the wind data sent by the sensor
WiFi is used to post the data the API server hosted in Switzerland
The wind sensor is a Calypso Ultrasonic portable solar anemometer
For the Temperature, Humidity, Pressure is measured by a Bosch BME 680 module connected to the ESP32
The data is pushed every 5 minutes to the API. The ESP32 agrgates the wind values over 4:50 minutes and ouputs the median values over the cycle for direction and speed. The highest wind speed over the periode is the gust
You can use the following endpoints to interact with the weather and battery data:
GET /weatherdata: Retrieve the latest wind and weather data in JSONGET /battery-PTH: Retrieve the latest battery, pressure, temperature, and humidity data in JSON.POST /weatherdata: Submit new wind data (requires authentication).POST /battery-PTH: Submit new PTH data (requires authentication).GET /firmware/version.json: Check the current firmware version.GET /firmware/firmware.bin: Download the latest firmware binary (requires authentication).Protected endpoints require a valid authentication for POST
The Clun b Nautique de Crans uses this WAPI server to provide a dashboard on there website
Tne data is also pushed every five minutes to the windy platform
You can find the readings on Windy.com at this link https://www.windy.com/station/f0388ec6