Rpi-weather

Instructions and support code for getting a cheap USB weather station connected to the Met Office wow.metoffice.gov.uk using a Raspberry Pi.

References Standing on the shoulders of giants...

View this Project on GitHub trastle/rpi-weather

Installing the weather station software on your Raspberry Pi

1: Get your Raspberry Pi up to date

We'll start out by updating the software already on the Pi to the latest versions. Open a terminal window on the Pi and enter the following command (it will take a while to run):

sudo apt-get update && sudo apt-get upgrade

2: Install Python development prerequisites

Next up you’ll need to install some general dependencies for python software development.

sudo apt-get install git python2.7-dev

3: Install Pywws weather station dependancies

This step will install the prerequisite software we need to run pywws.

sudo apt-get install libusb-1.0.0 python-usb python-crypto python-paramiko gnuplot gettext sphinx-common

The following optional command installs the software required for twitter integration (a tweeting weather station).

sudo apt-get install python-tweepy python-simplejson

4: Installing the weather station software

The following series of commands will download, build and install the pywws weather station software.

mkdir ~/weather
cd ~/weather
git clone https://github.com/jim-easterbrook/pywws.git
cd ~/weather/pywws
make
python setup.py build
sudo python setup.py install

Next Step: Connecting your weather station to your Raspberry Pi