| Home |Contact| e3value.com| cs.vu.nl|
e3value
Jaap Gordijn's website
18-07-2008 | The latest available version of the CM11XPL gateway is version 0.4

Welcome back!

  
home
personal
homeautomation
CM11ASimulator
CM11AXPL
WS2300XPL
about

New article

Technical Challenges in Market-Driven Automated Service Provisioning

>> more info | 5735 views

New article

Aligning Information System Design and Business strategy - A Starting Internet Company

>> more info | 6331 views

New article

Designing Value-based Inter-organizational Controls Using Patterns

>> more info | 6416 views

New article

A Model-based Approach to Aid the Development of e-Government Projects in Real-life Setting Focusing on Stakeholder Value

>> more info | 6537 views

New article

Business strategy-IT alignment in a multi-actor setting: A mobile e-service case

>> more info | 13084 views

New article

Consistency Checking Between Value Models and Process Models: A Best-of-Breed Approach

>> more info | 12995 views

New article

Value-driven coordination process design using physical delivery models

>> more info | 13162 views

New article

Value-Driven Service Matching

>> more info | 13133 views


Next >>>

Gordijn.org >> Personal >> Homeautomation >> WS2300XPLGateway >> Index

Print page    E-mail page    
 A Gateway between the XPL sensor scheme and the WS2300 weather station.

Rationale

The WS2300 is a weather station, which can monitor temperature, humidity, wind speed, wind direction, and rainfall (amongst others). The device has also a RS 232 interface. I want to connect this device to my XPL network. There, I developed a gateway.

Functionality

The gateway has the following functionality:

  • Support for XPL trigger messages for many of the WS2300 sensors, using the sensor.basic scheme.
  • Support for XPL commands to retrieve the status of the WS2300 sensors.
  • The gateway keeps track of the minimum and maximum values of the sensors.
  • These min/max values can be reset hourly, daily, weekly, monthly, or yearly by the gateway (the min / max values do not survive a power failure).
  • The following sensors are supported by the gateway:
  • Measure Sensor name
    Internal temperature WS2300_InternalTemperature_0
    Internal humidity WS2300_InternalHumidity_0
    External temperature WS2300_ExternalTemperature_0
    External humidity WS2300_ExternalHumidity_0
    Relative air pressure WS2300_RelativePressure_0
    Absolute air pressure WS2300_AbsolutePressure_0
    Wind speed WS2300_WindSpeed_0
    Wind direction WS2300_WindDirection_0
    Rain of the last hour WS2300_Rain1Hour_0
    Rain of the last 24 hours WS2300_Rain24Hour_0
    Total rainfall WS2300_RainTotal_0
    DewPoint WS2300_DewPoint_0
    Windchill WS2300_Windchill_0
    Weather tendency WS2300_Tendency_0
    Weather forecast WS2300_Forecast_0

Installation

The distribution below is a jar with the gateway. Additionally you need (in your classpath):

  • log4j (I used version 1.2.13).
  • RXTX (serial API for Java). You have to install the runtime files of RXTX (in short putting rxtxParallel.dll and rxtxSerial.dll in the bin directory of your Java distribution, see the RXTX documentation for more information), and have the jar in your classpath.
  • XPL4Java the jar with a programming framework for XPL

Furthermore, you need xpl-ws2300-gateway.jar, and xpl-sensor-actuator-gateway.jar which you need to start (see xpl-ws2300-gateway.cmd for an example).

The gateway can also be used in combination with Gerry Duprey's xpl4java server. Then you need to drop the jars in the jar folder of the xpl java server

There are two parameters to configure: the serial port your WS2300 is connected to (COM1,...) and the frequency of resetting the min/max values of the measures (hourly, daily, weekly, monthly, yearly).

At www.gordijn.org/gordijn.xml you find a plug-in for use with XPLHal tools.

Limitations

  • This is version 0.1. Meaning: experimental, not stable, using at your own risk, and so on. But you may give it a try
 Files and links
09/29/08
58.52 KB
09/29/08
152.77 KB
09/29/08
274 Bytes
09/29/08
28.57 KB
09/29/08
48.23 KB
Sort by name,date,type
Quick links
Publication list
Publications of Jaap Gordijn can be found here
Publications
CM11A XPL gateway
A Java-based gateway between XPL (Lighting scheme) and the X10 CM11A
>> more info
CM11A simulator
A Java-based simulator for the X10 CM11A device
>> more info
MSc. assignments
Interested in a MSc assignment?
>> more info
HBO graduates in Information Sciences
HBO (HEAO-BI, HIO, HTS-TC, IandI, IE) graduates who want to start a master Information Sciences at Vrije Universiteit (VU) Amsterdam, please read on.
>> more info