Set up WeeWX Weather Software

WeatherTech
3 min readJun 10, 2020

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.

Hardware

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.

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.

--

--

WeatherTech

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