What Is It?
wview is a collection of unix daemons which interface with a supported
weather station to retrieve archive records (if generated by the station)
and current conditions. The stations currently supported are:
- Davis Vantage Pro/Pro2
- Vaisala WXT510/WXT520
- Texas Weather Instruments (All)
- La Crosse WS-2300/2308/2310/2315
- Oregon Scientific WMR918/928NX/968
- Station Simulator
- Virtual Station
wview will generate archive records based on the sensor readings collected
for that interval. The archive records are stored in an SQLite3 database.
At a configurable interval wview will utilize the archive history
and current conditions to generate weather images (buckets, dials and
graphs) and HTML web pages based on user-configurable HTML templates. Other
types of file generation are supported including PHP, XML, python, etc. to
support custom web site designs.
Features:
- 24x7x365 reliability.
- Fast image and HTML/XML file generation.
- Non-GUI, headless, lightweight (size and resources).
- Embeddable - can be deployed on low-power embedded systems such
as the Linksys NSLU2 or the SheevaPlug.
- Multi-Lingual - HTML/XML templates, labels and text.
- US (Imperial) or Metric Units - can be easily configured for metric
or US units of measure.
- SQLite Archive Storage - archive data is stored in an SQLite3
relational database.
- Remote Upload - web pages and images can be transferred to a remote
web server via an ftp or secure ssh process included with wview.
- Alarms - the wview alarm daemon wvalarmd can be enabled to deliver
current conditions to TCP socket clients as a near real-time data
feed engine. wvalarmd can also be configured to function as a weather
data alarm generator to user specified scripts or binaries.
- CWOP - can be configured to submit data to CWOP.
- Wunderground - can be configured to submit data to Wunderground.
- WeatherForYou - can be configured to submit data to WeatherForYou.
- Awekas - can be configured to submit data to Awekas.
- RSS Feeds - processes XML template files and includes a default
weather data RSS feed template.
What Do I Need?
Weather Station - one of the following:
- Vantage Pro or Vantage Pro2 Weather Station with Console
- WeatherLink for Vantage Pro or Pro2, Windows, Serial or
USB - the windows software is not required, but this is the
only way to obtain the serial or USB data logger
- Vaisala WXT510/WXT520
- Texas Weather Instruments
- La Crosse WS-2300/2308/2310/2315
- Oregon Scientific WMR918/928NX/968
- Station Simulator (included for demos and testing)
PC or Embedded Device to Host wview - this can be any platform running
linux/*BSD/unix/MacOSX with an available serial or USB port and a
network interface
linux/*BSD/unix/MacOSX Operating System
Standard Installations of: libz, libpng, gawk, libgd2-noxpm-dev,
libsqlite3-dev, libreadline5-dev, radlib
wview
libcurl (in the curl package) if you plan to submit data to the
Weather Underground and/or WeatherForYou
How do I install it?
Debian/Ubuntu APT Install
See the
User Manual APT Install Section for details on adding the wviewweather.com
APT repository and automated installation.
APT Distributions and Architectures Supported:
| Debian Lenny |
i386, amd64, armel, powerpc |
| Debian Sid |
armel, powerpc |
| Ubuntu Intrepid |
i386, amd64, armel, powerpc |
| Ubuntu Jaunty |
i386, amd64, armel, powerpc |
| Ubuntu Karmic |
i386, amd64, armel, powerpc |
| Ubuntu Lucid |
i386, amd64, armel, powerpc |
Mac OS X MacPorts Install
See the
User Manual MacPorts Install Section for details on how to install wview via MacPorts.
Source Install
Download the most recent tarball (wview-x.y.z.tar.gz) then extract
it wherever you like by executing "tar zxvf wview-x.y.z.tar.gz". In
the top-level of the distribution, consult the files
wview-Quick-Start.html
(or
wview-Quick-Start-MacOSX.html
if you have a Mac) and
wview-User-Manual.html
for detailed building and operational instructions.
Web Site Generation
Out of the box wview provides a full weather web site template which
includes an almanac page, historical pages for the last 24 hours,
the last week, the last 28 days and the last year. The home page
presents current conditions and frequently viewed historical data in
a space-efficient display:

It is straightforward to start with this site template and customize
it for your specific needs. PHP and XML are two common methods used to
extend file generation and integrate with other applications
or custom designs.
wviewmgmt HTML Configuration
wview is quite versatile and as a result has a high degree of configurability.
This can often cause applications to be difficult to set up. With wview,
the wviewmgmt HTML Management system makes configuration visually appealing
and easy. The System Status Page displays the current state of all wview
services:

Configuration is broken up into logical sections with context sensitive
help available by mousing over configuration items:

wview Processes
| wviewd |
The station interface daemon. Communicates via
serial/ethernet/USB interface to obtain current conditions and
archive records. Stores archive and HILOW data in SQLite3
databases.
|
| htmlgend (optional) |
The HTML and image generation daemon. Communicates
with wviewd and reads archive records generated by wviewd to create
the weather images and HTML pages.
|
| wvpmond (optional) |
The process monitor daemon. |
| wvalarmd (optional) |
The alarm processing daemon. Communicates with wviewd
to receive current weather data values. Listens on port 11011 for
data feed socket connections, sends current weather data to socket
clients, and processes user-defined alarms.
|
| wvcwopd (optional) |
The CWOP client daemon. Transmits CWOP data to
APRS servers.
|
| wvhttpd (optional) |
The HTTP submission daemon. Transmits data to
wunderground/weatherforyou servers.
|
| wviewftpd (optional) |
The FTP transfer daemon. Transfers image and HTML
files to a remote server. |
| wviewsshd (optional) |
The rsync/ssh transfer daemon. Transfers image
and HTML files to a remote server. |