About the weather station
Firstly if you're looking for more about me, and not this weather station, you should go to www.cdp.me.uk which is my personal site. Contact details are also on there. Feel free to ask about anything you see here. If you have any ideas for improvements or if you have a complaint to make please contact me.
How it started
Ever since summer 2005 I have been interested in getting my very own weather station - not for any specific reason, I just have an interest in the weather, and computers. When I put the two together - I came up with this idea, my own weather station with my own code for processing the data collected. The weather station equipment was brought mid-december 2005.
The hardware
This weather station is based on the Dallas 1-Wire bus. A 1-Wire bus consists of a number of devices most often daisy-chained together however it is possible to use hubs to allow the network to branch off for large distances. My network of sensors is layed out as follows:
Data Logging and Reporting
The weather data is collected by a package called One-Wire-Weather. I have set it up to record values to 2 MySQL databases every 30 seconds, this gives me just over one million records in each database per year! The first database is the local copy for uninterrupted updates, and the other is my webhost one which is the main database used in calculations. To work with this amount of data I have setup scheduled jobs that run every minute, 10 minutes, every hour and every night:
- Every minute:
The data and small graphs on the index page are updated - Every 10 minutes:
Monthly, yearly and alltime records calculated
24 and 48 hour graphs are redrawn - Every Hour:
7 day and 30 day graphs are redrawn - Every night:
The Data Archive is updated.
Web Hosting
This web hosting is currently provided by HostMAX. They provide a quality service at a reasonable price... and provide the power and flexibility to run this site! Highly recommended.





