The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: New Schema for discussion


  • Subject: RE: New Schema for discussion
  • From: Tony Tofts
  • Date: Sat, 26 Jul 2003 17:29:00 +0000

Have finished the xPL wm-918 weather station app :-)

Several errors in the only published protocol I could find didn't help
much.

It uses the schema below.

Although it fully supports the alarms (doing it's own checking of the
values
set in the station) it may be better (definetely quieter, as the station
beeps make a racket) to check for low/hi temps, rainfall etc via xPLHal
scripts.

Regards
Tony

xpl-stat
weather.current (every 60 seconds and on demand)
{
datetime=yyyymmddhhmmss
humidityin=0%
humidityout=0%
tempin=0.0C
tempout=0.0C
dewptin=0C
dewptout=0C
windgustspeed=0.0mph
windgustdir=0
windavgspeed=0.0mph
windavgdir=0
windchill=0C
rainrate=0mm
barometer=0mb
baromtrend=rising or steady or falling
barompredict=sunny or cloudy or partly or rain
}


xpl-cmnd
weather.status
{
command=hi or low or rain or current
}


xpl-stat
weather.hi (on demand)
{
humidityin=0%
humidityinat=mmddhhmm
humidityout=0%
humidityoutat=mmddhhmm
tempin=0.0C
tempinat=mmddhhmm
tempout=0.0C
tempoutat=mmddhhmm
dewptin=0C
dewptinat=mmddhhmm
dewptout=0C
dewptoutat=mmddhhmm
windspeed=0.0mph
winddir=0
windat=mmddhhmm
}


xpl-stat
weather.lo (on demand)
{
humidityin=0%
humidityinat=mmddhhmm
humidityout=0%
humidityoutat=mmddhhmm
tempin=0.0C
tempinat=mmddhhmm
tempout=0.0C
tempoutat=mmddhhmm
dewptin=0C
dewptinat=mmddhhmm
dewptout=0C
dewptoutat=mmddhhmm
windchill=0C
windchillat=mmddhhmm
}


xpl-stat
weather.rain (on demand)
{
rainrate=0mm
rainyesterday=0mm
raintotal=0mm
rainreset=mmddhhmm
}


xpl-trig
weather.alarm (sent at 60 sec intervals, while state exists)
{
alarm=<alarm>
}

Alarms:
TIME
HUMIDITY_IN_HI
HUMIDITY_IN_LO
HUMIDITY_OUT_HI
HUMIDITY_OUT_LO
TEMP_IN_HI
TEMP_IN_LOW
TEMP_OUT_HI
TEMP_OUT_LOW
DEWPOINT_IN
DEWPOINT_OUT
RAINRATE
WIND
WINDCHILL
BAROMETER
ON_BATTERY
LOW_BATTERY






xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.