Public Lab Research note


How to set up your weather station and stream it to the internet.

by amysoyka | June 20, 2014 13:40 | 4,434 views | 16 comments | #10595 | 4,434 views | 16 comments | #10595 20 Jun 13:40

Read more: stable.publiclab.org/n/10595


By Amy & Adam Darbyshire.

You will need the following:

Hardware

A Weather Station (FineOffsetUSB). A Rasperry Pi (Rasbian Distribution). *An Internet Connection.

Software

Rasbian Distribution (http://www.raspbian.org/). Weewx (http://www.weewx.com/)

Websites

*An account with Weather Underground (http://weatherunderground.com/).

Steps

Step 1: Setting Up.

Install Rasbian Distribution onto the SD card of your Rasperry Pi. Switch on your Rasperry Pi, ensuring it has internet connection. In Rasbian, load the Console application from the main menu. Type the following command: sudo apt-get install weewx Press enter & follow the prompts.

Step 2:

After WeeWX has installed successfully type the following command: nano /etc/weewx/weewx.cfg Then press enter. This will open up a txt editor containing your configuration file. This file is very well documented & you have to uncomment the settings that you need. You can do this by removing the # symbol in-front of the setting you want in place. When you have finished selecting the settings that you need, use ctrl + x to quit. A prompt should appear, push y to save your file.

Step 3:

Type the following command: service weewx restart

Step 4:

Step away for 5 minutes & make yourself a warm beverage. If weewx restarted successfully you first results should appear after 5 minutes.

Step 5:

Open your Pi's internet browser. Goto http://127.0.0.1/weewx This is the localhost URI for your weather stations results.

Additional Notes:

Note 1: For you to be able to steam to weather underground then all you need is to sign up with an account & alter the settings mentioned in step 2 accordingly.

Note 2: If you want to be able to access your weather station remotely then you will need to lookup your pi's ip address on your local network. Then open a port on your router & direct it to your pi's ip address. The URI you then use will be something that looks like this:

http://your.pi's.ip.address:port/weewx###

Edit: Screenshot composition added as per request in the comments.


I did this Help out by offering feedback!


People who did this (0)

None yet. Be the first to post one!


16 Comments

Thanks Amy. It'd be great if you could edit this note to show us a screenshot or two of the web page after it is up and running, just to demonstrate the payoff for setting up the weather station.

Reply to this comment...


I'm interested in piggybacking particle sensors onto weather stations-- does yours let you plug in new sensors? existing commercial sensors are usually hooked up to expensive commercial connections, and need other weather data for calibration

It seems there's a big community of people running weather stations and it would be really cool to add to their existing monitoring.

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


The weather station we have does let you plug in new sensors - the issue would be that it wouldn't display on the display - as that is limited to working with the seonsors the kit you buy to begin with. That said thouh, the data will appear alongside the data from the other modules when you go into the software on your PC. Also, some additional sensors come with their own displays (off the top of my head I seem to remember a UV Sunlight sensor doing this). Weatherunderground.com does a good job of integrating data. Also, I just happen to have one of these babies: http://www.netatmo.com - you can get their weather station with different modules to attach to it - in particular there is a particle sensor that can be added onto this as an additional unit. The outdoor module just does the same as a basic weather station & calibrates itself via the web. The indoor sensor is pretty interesting though - it tells you much CO2 is in your house - we ended up getting plants after realising our indoor CO2 levels were way too high (1000ppm which worsens respiratory conditions such as asthma). Yo should check it out.

Reply to this comment...


hmmm. i can't find their particle sensor. is there a standard sensor format for these things or are they all unique?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Edit: I just realised it is the Alima that does particle sensing. My apolpgies. Netatmo tries to work our Air Quality as a whole & that is with the Indoor module.

The alima on the other hand is interested in air particles & gasses. http://getalima.com

Reply to this comment...


that's in beta too. I"m thinking more inline with the dustduino or Speck's cheap sensors, only with more controlled airflow. both really need correlating weather data to make sense of their info. http://publiclab.org/notes/mathew/06-04-2014/two-weeks-with-a-speck http://publiclab.org/notes/donblair/05-03-2014/how-do-we-measure-particulate-stuff-in-the-air

Reply to this comment...


Sure.

Someone I was speaking to recently was talking about the turbidity of water being an indicator of particulate matter.

I wonder if there is a way we could make something ourselves to measure particulate matter using wateras a refractor and then measuring the rate of that refraction...?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


You know what... I'm looking at this image here and can't help but think we could repurposed some old CD drives.

http://en.m.wikipedia.org/wiki/Particle_counter 760px-Particlecounter.jpg

We could then use water to scatter the light...

What do you think?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Looks like it has kind of been done elsewhere for a slightly different purpose: http://pubs.rsc.org/en/Content/ArticleLanding/2011/LC/c0lc00451k

Reply to this comment...


woah. that CD idea is great! the biggest issue with particle monitoring is getting the particle counts measured in mircrograms/cu meter.

Reply to this comment...


I'm also looking at using stickypads. just tape catching particles. I wonder if we could run 5" tape disks in a DVD drive?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Or spray glue on a DVD?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


yeah! exactly. We have to do it in .1mm according to the article. I'm thinking about peeling the reflective layer off and making it sticky then sealing it with something.

I ripped some of the reflective part, but i bet I could learn to peel DVDs cleanly.

IMG_20140625_174636.jpg

Reply to this comment...


Thanks for the screenshot. I think it will help give people an idea of what they're getting if they should choose to use this meteorological station.

Also I like graphs. :)

Reply to this comment...


There is this really cool trick for peeling CD's. This video shows how it works: CD spectroscope: http://youtu.be/-cH_2mbsvBo

Reply to this comment...


Woah! Awesome thread...

Reply to this comment...


Login to comment.