WeeWX is a free, open-source project written in Python. While it has many extensions and uses, its primary use is recording data and generating graphs. WeeWX runs on Linux and macOS. WeeWX is easy to set up and requires very little to get started. You can also take a look at the WeeWX home page, WeeWX user forums, and WeeWX GitHub repository for more information.
Getting started with the software
To start the installation, connect to your Pi. This can be with a keyboard and mouse or an SSH connection.
Enter these commands into the terminal:
wget -q0 - http://weewx.com/key.html | sudo apt-key add -wget -qO - http://weewx.com/apt/weewx.list | sudo tee etc/apt/sources.list.d/weewx.list
These commands only have to be issued the first time you install Weewx on a machine.
The next step is to perform the actual installation.
sudo apt-get updatesudo apt-get install weewx
When you are prompted to confirm the installation, type Y and hit enter. Weewx will then be installed on the system.
Weewx will ask you a few simple questions on how you want your weather station set up.
Please note that the following settings can always be changed in the config file later
Enter the location name of your weather station. The value you enter will not change any technical location settings. This is the name that will display on the HTML webpage reports generated by the station.
After you enter your system location, you can now specify its latitude and longitude:
If you need help finding your location, you can use latlong.net to find your latitude and longitude.
Next, you will specify your station elevation:
If you need help finding your elevation, try out whatismyelevation.com
Finally, you can tell Weewx what units you want to display. (US or METRIC)
The next task is to pick what type of weather station you have:
Not finding your station? Check out this list of all supported hardware weewx.com/hardware.html for a complete list of hardware
Test your install
At this point, you have finished configuring Weewx. It should be running as a background daemon (service). To test and make sure it is working, enter this command:
sudo tail -f /var/log/syslog
Your output should look something like this:
Have questions? Post them here on Weather Software Google Group.
Like this article? Check out my cybersecurity website at networkthreats.org