Set up WeeWX Weather Software

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.


We are doing this install on a Raspberry Pi model B+ running Raspbian. Weewx is small enough that there is no visible slowdown even when running on the light-weight Raspberry Pi (Only 1GB of RAM).

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.

wget -q0 - | sudo apt-key add -wget -qO - | sudo tee etc/apt/sources.list.d/weewx.list
sudo apt-get updatesudo apt-get install weewx

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

WeatherTech, aka Gavin, is a computer science student who writes about weather and technology in his free time. Find my cybersecurity work at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store