weather
is a program designed to receive weather data from a personal weather station (PWS) and upload a CumulusMX
compatible realtime.txt file via FTP. Optionally, when running on a Raspberry Pi, weather
can capture images
from the camera module and upload these via FTP also, to serve as a webcam image.
weather
is written in Go and was designed to run on low-powered devices like a Raspberry Pi.
weather
has been tested with a rebranded Fine Offset WH2900. The WH2900 is a Wi-Fi enabled PWS, that can be
configured to send Ecowitt HTTP requests to a custom server. Configuring a custom server is done using the WS View app.
Navigate to the Custom Server page and specify the IP address and port of the computer running the weather
program in the custom server option. See the server
section in the weather.toml to determine
the port.
weather
is configured via a file named weather.toml
in a format similar to INI called TOML.
See weather.toml for a fully documented example of the available options.
The archive module is responsible for archiving historical weather observation data from the SQLite database to CSV files.