Weather Pi – How to setup and log weather data

Here’s a brief step-by-step to help remember what I did to setup a remote weather logging Raspberry Pi.

Required Hardware:

  1. Raspberry Pi
  2. Weather Station
  3. 3G Dongle and SIM
  4. Power Supply

Optional Hardware

  1. Webcam

Setup Process:

  1. Install Occidentalis as per AdaFruit tutorial.
  2. Setup WiFi as per AdaFruit tutorial.
  3. sudo apt-get update and sudo apt-get upgrade, then restart.
  4. Setup RPiMonitor as per this post (or newer).
  5. Add WiFi to RPi Monitor as per my comment on this post.
  6. Optional: Install motion for webcam support
  7. Make a backup image at this point as I had an issue with libusb1.0 and had to start again.
  8. Install and configure pywws and dependencies as per this or more recently this.
  9. Instead of installing downloads via wget, I chose to use the packages already in the repo, so did ‘sudo apt-get install cython’, ‘sudo apt-get install libusb-1.0’. cython-hidapi was the only one I did the long way. I did not change as libusb-1.0 was already installed in /usr/includes
  10. If there is an issue with this when running ‘sudo python install’ with the following error: hid-libusb.c:43:20: fatal error: libusb.h: No such file or directory
    compilation terminated.
    error: command ‘gcc’ failed with exit status 1″ try ‘sudo apt-get install libusb-1.0-0-dev’ and try again.
  11. Latest pywws obtained with ‘git clone’

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.