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]

New Schema for discussion


  • Subject: New Schema for discussion
  • From: Tony Tofts
  • Date: Fri, 25 Jul 2003 12:17:00 +0000

Hi all,

Below is a proposed schema for weather stations.

Any opinions/thoughts/suggestions please?

Many thanks
Tony

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


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


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


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


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


xpl-trig
weather.alarm (on alarm)
{
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
DEWPT_IN
DEWPT_OUT
RAINRATE
WIND
WINDCHILL
BAROMETER
ONBATTERY
LOWBATTERY






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.