What it does...
xAP support for the Oregon Scientific weather station. Broadcasts all weather data recorded by the station on a regular basis. The WS918 is available from www.skyview.co.uk amongst others.
The xAP interface to the WS918 is serial, you will need a spare serial port on your PC and the appropriate straight-through serial cable. Once installed, adaptive control of the central heating based on prevailing weather conditions is trivial. Local weather data can also be presented on display devices such as the xAP display, or accessed via the web or over wap using the xAP web server.
Command Line Options
xap-ws918 [serial port] [instance name] [network interface] [udp port] [debug level]
where: serial port is the serial port the weather station is attached to. Under linux this has the form /dev/ttyS0. Under Windows, the serial port may also be specified using conventional DOS notation such as com1. If unspecified, defaults to the first serial port.
instance name is the xAP instance name assigned to this weather station. The default instance name is WS918.
network interface is the network interface used for outgoing xAP messages. On a Linux and Windows PC host these are named eth0, eth1. Under OSX they are named ne0 etc. By default, eth0 is used. On a Windows PC which has multiple adapters installed, even if they are not active, eth0 may not represent the active interface - some experimentation may be required!
udp port is the UDP port xAP broadcasts on. By default xAP uses its officially allocated port, 3639. Using an alternative port can be useful during isolated testing, however. Be aware that the use of ports below 1024 will fail unless the application is run by a user with administrative privileges. The use of ports below 1024 therefore has security implications and is not recommend.
debug level determines the verbosity of the output written to stdout. Verbose output can be useful for debugging unexpected behaviour. By default, the debug level is 0. Increasing levels of detail may be specified, up to a maximum of 4.
Download
Oregon Scientific Weather Station Project
Weather station connector source (requires xAP-lib) Weather station connector windows executable (requires cygwin dll)
Schema
Weather station schema
|