Ok – I live in Wellington so I keep a pretty close eye on the weather, here you often get four seasons in one day and invariably the weather is better elsewhere … but as any Wellingtonian will tell you you can’t beat Wellington on a fine day. They will also usually add you don’t live in Wellington for the weather.
Over Christmas I had a bit of time on my hands so I thought lets quantify the problem a bit, measure the weather here in Wellington and see how much better it is somewhere else – in this case Waikanae beach about 60km north where we have a bach. I didn’t want some ones else’s weather, I wanted mine at my house and my bach so for that I needed two weather stations and somewhere to put the weather data so I could watch and compare.
Weather Station No 1 – Home Base in Wellington
As this was my first foray into the weird world of the weather geekdom I approached it cautiously. I wanted an inexpensive weather station that I could connect to the Internet, budget in the tens or hundreds of dollars. It had to either have an IP interface or something I could connect to a PC running software that talked to the weather station, and it had to be reliable and run as a black box.
Weather stations with an in-built IP connection started around the $1,000 NZD mark so that was out. I would need to connect it to a PC. So the shopping list was:
- Weather Station with some form of connectivity for < $500 – that meant a serial or USB connection.
- Inexpensive PC to run Linux on (I’m over Windows) – something I could leave on all the time, so low power consumption and running from flash or USB rather than hard drive.
- Linux software that could poll the Weather Station and capture data for upload to the Internet
- Internet connection.
- Somewhere to put the data so I could see it – preferably with nice charts and graphs.
The Weather Station
To cut a long and boring story short I purchased a La Crosse WS 2355 weather station from Dick Smith for about $350 NZD.
The WS 2355 was attractive because:
- It has been around a while and seemed to be a reasonably good and robust consumer grade station.
- It had a serial interface and there was good support for it, the open source program wview supported it and had an active developer base.
- As a fallback there was an Ardunio project that talked directly to the remote sensors, interpreted the data,and had example scripts to upload it to twitter or elsewhere.
The embedded/single board ARM platforms like a Beagleboard were an obvious choice or perhaps an Atom based board. This was all pre Rasberry PI days and it was going to cost around $250 NZD for something without flash, screen, keyboard, case or even power supply. I couldn’t bring myself to spend so much for so little. Trademe to the rescue, in the form of a Chinese 7inch netbook running Android for $100 NZD plus postage.These wee things had screen, keyboard, Wondermedia VIA 8650 ARM CPU @ 800Mhz, 256MB ram, 2GB onboard NAD, wifi, ethernet, 3 USB ports, SD card port, audio port.
The v2.2 Android was pretty awful, I wouldn’t suggest buying one as to use a a netbook but a touch screen tablet might be ok for someone you don’t like.
The one thing it didn’t have was Linux but there are plenty of ARM ports now and a few people were in the process of getting a distribution together for the WM8650’s so it looked doable.
It was doable. I initially downloaded and installed a number of work in progress distributions. All of them were using the original Android kernel with a linux file system grafted on and the best of the bunch was a Debian port from wicknix. I played around with it and stripped it down a bit. It did the job but there were a few things I didn’t like: a) it was based in the unstable SID distribution and b) because it was using an Android kernel it didn’t output to the screen on boot. No console at all, the best you could do was run up an xterm under under xwindows. It was good enough for a test installation.
The WS 2355 comes with the dreadful Heavy Weather program. The version I received with it was dated 2004 I think and labeled beta. That’s a very long beta. It is possibly even worse than it looks, I fired it up once to prove the 2355 would talk to it via a USB serial adapter (supplied) then binned it.
I borrowed an Ardunio (Tom I’ll give it back one day), put a 433Mhx RF receiver shield on it, and fired up the Practical Ardunio Weather Station project. It worked sort of in that I intermittently got readings from the sensors but it didn’t have that robust feel to it,possibly a victim of my oversized soldering iron. Anyway I put that to one side and tried wview.
I initially installed wview on an Intel Ubuntu box via APT and tested it with minimal configuration. At that stage the current version was 5.19 which has a small bug where the wind speed multiplier and wind gust calculations were not working. I was able to fix it by hacking version 5.17 and recompiling it. From then it was just a matter of playing around a bit to build and install the prerequisites and wview on the Debian WM8650 pink netbook.
The Internet Connection
As this was the homebase system it just plugged into my home network via the ethernet port.
The Graphs and Charts
Wview produces a self contained weather site that can be published to the Internet, but it can also be configured to upload to Weather Underground or CWOP. I had a look at Weather Underground, liked it, saw the iPhone app and looked no further.
Putting it all Together
On the 14th January 2012 or thereabouts I mounted the weather station outside, external temperature sensor under the deck, rain gauge on the deck railing and anemometer on an old curtain rail bolted to the side of our deck. Cables draped as needed, it was only a temporary set up and one day I will mount it properly. It seems to work fine as it is so no rush.
You can visit the weather station at Weather Underground – it is IWELLING61. Still the same old weather but now I have charts and numbers to tell me that.