My Davis Weather Stations

Current weather at Richards House is here The weather up on Pikes Peak is here

After using one wire weather stations for about seven years, the manufacture went out of business and no one else manufactured them. I had some spare parts of them, but I needed to start looking for something else.

I have been using a LaCrosse weather station at home, it works OK. The temperature, humidity, baromatric pressure, and rain guage all work pretty well, but the wind is very inaccurate. So I kept looking.

I looked closely at the Peet Bros weather station, but decided against it when I started reading the company had been bought out and it was not compatible with wview.

After looking for a couple of months I decided on a wired Davis 06152C (Vantage Pro cabled version) It was compatible with WVIEW and I could hook it up to a TNC if I wanted to transmit the weather data over a TNC. Along with a range of accessories.
The only drawback to the Davis is the cost, list price was $495, I was able to get one off of ebay (New old stock) for $270 delivered to my door.

When the davis arrived, WOW! Its big. The rain guage is probably 8 inches in diameter. The wind guage feels a little flimsy, no sure how it will hold up, and hooking it up is pretty simply. Everything is well labeled and there is even an indicator LED on the junction box to let you know its getting a signal from the console. The console is rather impressive, it will give you a graph of any data element the last 24 hours of data. Example - wind, rain, temperature (inside and outside)
It also has a forecast button, which gives you a short text indicating the forecast for the next 24 hours, its reasonably accurate.

One suprise I ran into with the Davis is the console cable to hook up to a computer. It has a expansion port on back, but you have to have the Davis console cable to plug into it. I was able to find an aftermarket cable from sloWEATHER. It plugs directly into the expansion port and the serial port of a computer. And costs a lot less then the $150+ Davis cable (The Davis cable does have a built in data logger though)

Another suprise I ran into when trying to rig up wview to the Davis was you have to change this option in wview:
STATION_RETRIEVE_ARCHIVE
By default, this is enabled in wview. The sloWEATHER console cable does not have a built in data logger, causing wview to not log any data in its archives (It took me almost a week to discover this)

Installation
Here is my installation notes for wview on a centos 6.4 box:

I created to install wview on a centos 6.4 box, its not perfect, you can almost copy/paste this script into an .sh script and it should install everything for you. After this, simply run wviewconfig to set the variables and you are good to go.
#wview install script for Centos 6


#Install dependencies
yum -y install sqlite sqlite-devel gd gd-devel curl-devel libz libpng libreadline5-dev gawk vim-enhanced wget libusb1* radlib* httpd php ntp gcc gcc-c++ make build-essential libcurl4-openssl-dev libgd2-noxpm-dev libmysqlclient15-dev openssl openssl-devel mlocate php-pdo mysql mysql-server php-mysql mysql-devel mysql-embedded-devel make

#Set the date/time
ntpdate richardbessey.com

#Create the yum list
yum list > /root/list.txt

#Now to download/install radlib
mkdir radlib
cd radlib
wget http://downloads.sourceforge.net/project/radlib/radlib/radlib-2.12.0/radlib-2.12.0.tar.gz?r=http%3A%2F%2Fwww.wviewweather.com%2F&ts=1366772226&use_mirror=superb-dca2
tar /root/radlib/radlib-2.12.0/zxvf radlib-2.12.0.tar.gz
cd /root/radlib/radlib-2.12.0
./configure --enable-sqlite
make
make install

#Go back to root directory
cd /root

#Nowto download/install wview
mkdir wview
cd /root/wview/
wget http://sourceforge.net/projects/wview/files/latest/download?source=files
tar zxvf wview-5.20.2.tar.gz
cd /root/wview/wview-5.20.2
./configure --prefix=/ --bindir=/usr/bin --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib
make
make install

#Go back to root directory
cd /root

#Start the setup script
cp /root/wview/wview-5.20.2/examples/FedoraCore/wview /etc/init.d/
chmod 755 /etc/init.d/wview
chkconfig --add wview

#Create the symlink for the html files
ln -s /usr/local/var/wviewmgmt/ /var/www/html/
ln -s /var/lib/wview/img/ /var/www/html/


#update the locate db
updatedb
#Create this symlink so it WORKS!
ln -s /usr/local/lib/librad.so.0 /usr/lib/librad.so.0
#ln -s /usr/local/lib/librad.a /usr/lib/
#ln -s /usr/local/lib/librad.so /usr/lib/
#ln -s /usr/local/lib/librad.so.0.0.0 /usr/lib/
#ln -s /usr/local/lib/librad.la /usr/lib/


#Clear the cache in the davis
vpconfig /dev/ttyS0 cleararchive
#This helps, leaving commented out for the moment
#export LD_LIBRARY_PATH=/usr/local/lib/

#turn on/off some needed services
/etc/init.d/httpd start
/etc/init.d/iptables stop
chkconfig iptables off
chkconfig httpd on

#Now lets install vproweather
mkdir vproweather
cd /root/vproweather
wget http://www.curtronics.com/Weather/ftp/vproweather-1.0.8.tar.gz
tar zxvf /root/vproweather/vproweather-1.0.8.tar.gz
cd /root/vproweather/vproweather-1.0.8/
make
make install
vproweather -2 -x /dev/ttyS0

#synchronize the time on the weather station
vproweather -s /dev/ttyS0

echo Now you need to run vpinstall and wviewconfig
echo once done, go to http://ip_addie/img

After using the Davis Vantage Pro at my house for almost a year, I decided to upgrade the One Wire Weather station on up Pikes Peak. I was lucky enough to find a used Davis Weather Monitor II weather station. The Davis Weather Monitor II will not work with my favorite software wview for Linux. So I ended up using weatherdisplay on a Windows XP workstation.
The Davis Weather Monitor and Weather Wizard are both very similar stations, the Monitor will do Barometric pressure. Both models can be found on Ebay for about $200 or so.