Categories

Archives

 

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  
free counters

Software - Weather Display

Weather Display is an Open Source PHP script that I have written and made available.  Details of its purpose and use are contained here.  The current version can be seen here.

What is Weather Display?

Weather Display takes data logged by another Open Source program by Kenneth Lavrsen, called Open2300.  This logs the following information at intervals from a WS23xx compatible Weather Station:

  • Date
  • Time
  • Temperature Indoors
  • Temperature Outdoors
  • Dew Point
  • Relative Humidity Indoors
  • Relative Humidity Outdoors
  • Wind Speed
  • Wind Direction (Angular)
  • Wind Direction (Text)
  • Wind Chill
  • Rainfall over last hour
  • Rainfall over last 24 hours
  • Total Rainfall since last reset
  • Relative Pressure
  • Pressure Tendency (Rising/Falling/Steady)
  • Weather Forecast (Cloudy/Sunny/Rain)

I purchased a WS23xx compatible (TechnoLine) weather station and installed it to my house.  The data is then captured by KL’s Open2300 software to both MySQL (every 10 mins) and text log file (1 minute after the SQL capture).

Currently the program only processes the text log file, although the SQL routines are included in the scripts, they are not tested very well.

There is currently only a main page which displays current and historic data in a suitable web page, compliant with the W3S standards.  An example is shown below:

Weather Display Screen Capture

Weather Display Screen Capture

Additional Data Display

In addition to displaying the current values from the Weather Station detailed above, it also displays the following:

  • Wind speed as a nautical term (Breeze, Calm, etc)
  • Average wind speed over the last hour (with nautical term)
  • Peak wind speed (with nautical term)
  • Indoor temperature peak and low
  • Indoor relative humidity peak and low
  • Outdoor temperature peak and low
  • Outdoor relative humidity peak and low
  • Perceived: Heat Index, Wind Chill and Dewpoint
  • Relative Pressure Peak and low
  • Lunar Data: Illumination, Age, Distance and icon/text of lunar phase
  • Solar Data: Sunrise, Sunset, Daylight hours, Estimated Cloud Base
  • Data Quality
  • Agricultural Data: Growing Degree Days, Smith Period (Blight)
  • Recent history displayed in basic graph form (optional, no GD Library required)
  • More to be added in the future….

So what do I need?

You will need the following:

  • WS23xx series compatible weather station connected to a suitable system for logging, either via RS232 or USB.
  • A suitable data logging system that supports interfacing to your weather station.
  • LAMP (Linux, Appache, MySQL, PHP) server either installed on the same system or another configuration.
  • OPEN2300 installed and configured to log data at periodic intervals.
  • My Weather Display software downloaded, configured and installed on the LAMP server.
  • A browser to view the results.

Downloading Weather Display

  Weather Display (626.0 KiB, 136 hits)

Installing

There are basic instructions detailed in the ‘INSTALL’ file within the file download above.  Please read this before installing.