Topics...

Comfort

Introduction

Comfort is primarily a security  system; it can also perform some limited home automation tasks. By connecting  Comfort to the xAP network, it's possible to monitor the state of the security  system, detect and react to movement around the house when it is occupied, and  react to events such as the phone ringing or the front gate opening. Comfort is  supplied by www.comfort.org.uk. To use the Comfort connector, you need both the main comfort CPU and a serial interface, called a "UCM" in Comfort speak.

Command Line Options

xap-comfort <pin number> [serial port] [instance name] [network interface] [udp port] [debug level]

 where:
pin number is the (mandatory) login code for a valid Comfort user.

serial port is the serial port the UCM 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 comfort system. In the unlike event that you have more than one UCM or Comfort, you might want to change this. The default instance name is Comfort.

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

Comfort Project

Comfort connector source (requires xAP-lib)
Comfort connector windows executable (requires cygwin dll)

Schema

Security schema

Related...

 

Copyright (c) 2002-2006 Patrick Lidstone unless otherwise stated.
All rights reserved.