eolab:weather_station:kleve:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eolab:weather_station:kleve:start [2024/03/23 15:51] – removed - external edit (Unknown date) 127.0.0.1 | eolab:weather_station:kleve:start [2024/05/10 12:49] (current) – rolf.becker | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
+ | ====== Weather Stations in Kleve ====== | ||
+ | |||
+ | ===== Interactive Dashboards of Real-Time Weather Data ===== | ||
+ | |||
+ | | WeatherStation Obstbaum-Arboretum | ||
+ | | [[https:// | ||
+ | | Fig.: Interactive real-time data plots. **Click on the image** or **[[https:// | ||
+ | |||
+ | ===== Weather-Station Obstbaum-Arboretum ===== | ||
+ | |||
+ | The weather station consists of a Vaisala WXT536 multisensor, | ||
+ | A raspberry pi zero is used to read the data from the weather station. From there the data is uploaded to a server running an influx database. The internet connection is provided by a **[[https:// | ||
+ | A LoRaWAN Gateway is installed next to the station to provide access to The Things Network in the park. | ||
+ | |||
+ | | {{ eolab: | ||
+ | | Fig.: Weather station mounted on a pole at Forstgarten in Kleve | | ||
+ | |||
+ | ===== Sensors of the Weather Station ===== | ||
+ | |||
+ | ^ Sensor / Component | ||
+ | | [[https:// | ||
+ | | [[https:// | ||
+ | | Teltonika Router | ||
+ | | Raspberry Pi | | | ||
+ | | ... | ||
+ | |||
+ | |||
+ | ===== Data Flow (under construction) ===== | ||
+ | |||
+ | Physical: | ||
+ | \\ | ||
+ | Vaisala Sensors -> (RS485) -> Raspberry Pi -> (Ethernet) -> Teltonika Router -> (4G) -> MQTT Broker (kleve.cool) | ||
+ | |||
+ | Logical: | ||
+ | \\ | ||
+ | Vaisala Sensors -> (API) -> Raspberry Pi (MQTT Publisher) -> MQTT Broker (kleve.cool) -> Node-Red (MQTT Subscriber) -> InfluxDB -> Grafana | ||
+ | |||
+ | |||
+ | Remarks: | ||
+ | |||
+ | * Raspberry Pi does not provide permanent storage but buffers the sensor data in a local file in case the MQTT broker is unreachable. | ||
+ | * | ||
+ | ===== Accessing the data ===== | ||
+ | |||
+ | The data of our weather station is **freely available** through MQTT! | ||
+ | |||
+ | The accessible variables: | ||
+ | |||
+ | ^ Key ^ Unit ^ Comment | ||
+ | | wind_dir_min | ||
+ | | wind_dir_avg | ||
+ | | wind_dir_max | ||
+ | | wind_speed_min | ||
+ | | wind_speed_avg | ||
+ | | wind_speed_max | ||
+ | | temperature | ||
+ | | humidity | ||
+ | | pressure | ||
+ | | rain_accumulation | ||
+ | | rain_duration | ||
+ | | rain_intensity | ||
+ | | hail_accumulation | ||
+ | | hail_duration | ||
+ | | hail_intensity | ||
+ | | solar_radiation | ||
+ | |||
+ | More information about the measurements can be found in the datasheet: [[https:// | ||
+ | |||
+ | |||
+ | ^ MQTT Broker and Topic || | ||
+ | ^ URL | kleve.cool | ||
+ | ^ PORT | 1883 | | ||
+ | ^ TOPIC | weather/ | ||
+ | ^ USERNAME | ||
+ | ^ PASSWORD | ||
+ | |||
+ | ===== Tests in the IoTLab ===== | ||
+ | |||
+ | |||
+ | | {{ eolab: | ||
+ | | //Fig.: First Test in the IOT-Lab with a USB-Connection// | ||
+ | |||
+ | |||
+ | | {{ eolab: | ||
+ | | //Fig.: Reading the Data with the Vaisala Configuration Tool// | | ||
+ | |||
+ | |||
+ | === RS485 === | ||
+ | |||
+ | To read the Data from the WXT536 Module we connected an rs485 to USB converter. This protocol will be used when the weather station is permanently installed in Kleve. The WXT536 accepts a voltage range from 6-24V, so we had to connect an external power supply. | ||
+ | |||
+ | | {{ eolab: | ||
+ | | //Fig.: Connecting to the WXT536 with an rs485 to USB converter// | | ||
+ | |||
+ | |||
+ | | {{ eolab: | ||
+ | | //Fig.: Connecting to the WXT536 with an rs485 to USB converter// | | ||
+ | |||
+ | |||
+ | | {{ eolab: | ||
+ | | //Fig.: Serial response from the WXT536 after sending a data request// | | ||