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: Re: Weather, and a new xAPplication coming on




------=_NextPart_000_008A_01C4AFE4.3C54C810
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This capture is for English units.  Each can be configured for metric or
en=
glish.  I did not see the need to send both sets of data in the same xap
me=
ssage since they are only numeric transformations between the two.  All
thr=
ee source feeds are designed for subsequent processing by a computer so it
=
is not likely they will change much.  I have seen MSNBC add a few
precipita=
tion probability fields about 2 years ago, but this is the only change
that=
I have experienced.  I had started with parsing a web page from Weather.co=
m before I knew to look for better sources.  It was a very slow download
an=
d it changed as the advertising layouts changed.  These three feeds are
onl=
y a few hundred bytes each with WeatherXML being the most verbose because
i=
t is in the XML format.



xap-header
{
v=3D12
hop=3D1
uid=3DFF006700
class=3DWeather.Report
source=3Dmcs.WeatherMSNBC.MCS5
}
Weather.Report
{
humidity=3D75
uvindex=3D0
localdate=3D2004-10-11
feelf=3D60
tempf=3D60
forecastday=3D30;30;34;28;28
icon=3D26
windm=3D6
forecastdate=3D10/12/2004;10/13/2004;10/14/2004;10/15/2004;10/16/2004
date=3D2004-10-12
localtime=3D22:53
visibilitym=3D10.00
cloud=3DCloudy
city=3DIssaquah
country=3DWA
utc=3D02:53
forecastlowtempf=3D51;51;48;48;48
forecastnight=3D29;33;29;27;29
winddirc=3DNW
forecastprecipitation=3D10;10;20;0;20
airpressurei=3D30.29
forecasthightempf=3D68;68;70;64;58
}


xap-header
{
v=3D12
hop=3D1
uid=3DFF001700
class=3DWeather.Report
source=3Dmcs.WeatherXML.MCS5
}
Weather.Report
{
humidity=3D84
uvindex=3D0
feelf=3D65
tempf=3D65
forecastday=3D30;39;12;30;30;11
icon=3D28
windm=3D4
forecastdate=3D2004-06-11 0:00;2004-06-12 0:00;2004-06-13 0:00;2004-06-=
14 0:00;2004-06-15 0:00;2004-06-16 0:00
date=3D
localtime=3D22:00
visibilitym=3D999
cloud=3DMostly Cloudy
city=3D
country=3D
utc=3D5:00
forecastlowtempf=3D66;58;56;56;58;58
forecastprecipitation=3D20;50;70;30;10;60
forecastnight=3D47;11;11;29;45;11
winddirc=3DSE
winddird=3DSE
airpressurei=3D29.53
forecasthightempf=3D81;75;68;73;78;76
}



xap-header
{
v=3D12
hop=3D1
uid=3DFF002700
class=3DWeather.Report
source=3Dmcs.WeatherAWS.MCS5
}
Weather.Report
{
humidity=3D88
localdate=3D2004-10-11
feelf=3D54
hightempf=3D68
tempf=3D54
dewf=3D51
windm=3D0
winddird=3DN
airpressuretrend=3Ds
date=3D2004-10-12
localtime=3D22:28
airpressurei=3D30.21
country=3DWA
utc=3D05:28
gustm=3D7
winddirc=3D8
lowtempf=3D44
city=3DKent
rainratei=3D0.00
raini=3D0.00
}

----- Original Message -----=20
From: David Buckley=20
To: xAP_developer@xxxxxxx=20
Sent: Monday, October 11, 2004 9:46 PM
Subject: [xAP_developer] Re: Weather, and a new xAPplication coming on



--- In xAP_developer@xxxxxxx, "Michael McSharry"
<mcs101main@a...> wrote:
> This schema was extended per a prior message to add fields that=20
> were not in James's base schema.=20=20

Ahh yes... http://www.ukha-archive.com/ml/xapdev/2004-aug/msg00007.html

Cool.  I'll pass these on.

You couln't post a capture of a packet with this lot in could you
please, or email it to me, that will make understanding somewhat
easier :-)







xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.