Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.69 KB

README.md

File metadata and controls

57 lines (47 loc) · 1.69 KB

WeatherStation

Read weather instruments and push data to Weather Underground

Overview

To be written. (Sorry)

Dependencies

Hardware

Software

  • Patched Raspbian
  • Python 3.7
  • pip3
  • Adafruit Blinka
  • Adafruit ADS1x15 CircuitPython library
  • Adafruit BME28 CircuitPython library
  • urllib
  • w1thermsensor
  • RPi.GPIO
  • Weather Underground account

Setup

Run these commands to install the correct libraries:

  pip3 install adafruit_GPIO
  pip3 install adafruit_blinka
  pip3 install adafruit_circuitpython_BME280
  pip3 install Adafruit_CircuitPython_ADS1x15

Setup to run wetherstation.py and re-starting it if it crashes for some reason. Edit the secrets.py file like

  secrets = {
    'WUuser' : 'CHANGE TO YOUR WU USER ID',
    'WUpass' : 'CHANGE TO YOUR WU PASSWORD',
    'WUstation' : 'YOUR STATION ID',
    'sensorLat' : deicmal degrees latitude of the station,
    'sensorLon' : decimal degrees longitude of the station,
    'sensorMGRS' : ;
    'Military Grid Reference System coordinates (unused)',
    }

Watch the output to be sure the data collection is working and the authentication to Weather Underground is working, too.