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: xAP Weather little data broadcast



--------------050408060304010404000301
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I personally  don't use Girder or xAP Weather at the moment but I'm
guessing this is due to yet another change with the BBC weather website
from which the application is retrieving it's data - it keeps changing
format which makes it fail. I'll  leave it to James to reply more
conclusively however...

K

On 23/02/2011 22:35, John wrote:
>
> Hi new to xAP
>
> I have loaded xFx express hub and xAPweather.
>
> If I set to NOAA weather station ie station ID EGPF. Run a script in
> Girder. I get the all the weater details.
>
> If I set to BBC xAPweater shows collecting data. In the xAP weater
> there a four files created
> current.txt
> forecast.txt
> errorcurret.txt
> errorforecast.txt
>
> The xAP listener script recieve very little data. If print the data
> from xAP listener I get the following data
>
> { -- #0
> ["Name"] = "xap-header",
> ["Header"] = { -- #1
> ["uid"] = "FF400100",
> ["source"] = "mi4.weather.2318",
> ["hop"] = "1",
> ["class"] = "Weather.Report",
> ["v"] = "12",
> } -- #1,
> ["Body"] = { -- #2
> [1] = { -- #3
> ["Data"] = { -- #4
> ["error"] = "StationNotFound",
> } -- #4,
> ["Name"] = "Weather.Report",
> } -- #3,
> [2] = { -- #5
> ["Data"] = { -- #6
> ["tod"] = "Night",
> ["sunrise"] = "07:23",
> ["sunset"] = "17:37",
> ["time"] = "20:50:01",
> } -- #6,
> ["Name"] = "Time",
> } -- #5,
> } -- #2,
> } -- #0
>
> if I checked inside current.txt it appears to hold valid data
> eg temp, wind direction etc.
>
> Any ideas on what the problems is greatly appreciated.
>
>
>


--------------050408060304010404000301
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->



I personally&nbsp; don't use Girder or xAP Weather at the moment but
I'm
guessing this is due to yet another change with the BBC weather
website from which the application is retrieving it's data - it
keeps changing format which makes it fail. I'll&nbsp; leave it to James
to reply more conclusively however...<br>
<br>
&nbsp; K<br>
<br>
On 23/02/2011 22:35, John wrote:
<blockquote cite="mid:ik4234+s6ni@xxxxxxx"
type="cite">
<span style="display: none;">&nbsp;</span>

<div id="ygrp-text">
<p>Hi new to xAP<br>
<br>
I have loaded xFx express hub and xAPweather.<br>
<br>
If I set to NOAA weather station ie station ID EGPF. Run a
script in Girder. I get the all the weater details.<br>
<br>
If I set to BBC xAPweater shows collecting data. In the
xAP weater there a four files created<br>
current.txt<br>
forecast.txt<br>
errorcurret.txt<br>
errorforecast.txt<br>
<br>
The xAP listener script recieve very little data. If print
the data from xAP listener I get the following data<br>
<br>
{ -- #0<br>
["Name"] = "xap-header",<br>
["Header"] = { -- #1<br>
["uid"] = "FF400100",<br>
["source"] = "mi4.weather.2318",<br>
["hop"] = "1",<br>
["class"] = "Weather.Report",<br>
["v"] = "12",<br>
} -- #1,<br>
["Body"] = { -- #2<br>
[1] = { -- #3<br>
["Data"] = { -- #4<br>
["error"] = "StationNotFound",<br>
} -- #4,<br>
["Name"] = "Weather.Report",<br>
} -- #3,<br>
[2] = { -- #5<br>
["Data"] = { -- #6<br>
["tod"] = "Night",<br>
["sunrise"] = "07:23",<br>
["sunset"] = "17:37",<br>
["time"] = "20:50:01",<br>
} -- #6,<br>
["Name"] = "Time",<br>
} -- #5,<br>
} -- #2,<br>
} -- #0<br>
<br>
if I checked inside current.txt it appears to hold valid
data<br>
eg temp, wind direction etc.<br>
<br>
Any ideas on what the problems is greatly appreciated.<br>
<br>
<br>
</p>
</div>


<!-- end group email -->
</blockquote>
<br>




<!-- **begin egp html banner** -->

<br>



<br>

<!-- **end egp html banner** -->


<div width="1" style="color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=4720/stime=1298549816";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmcWVwdDc0BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyOTg1NDk4MTY-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkaWxyZWFzBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjk4NTQ5ODE2";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style="color: white; clear:
both;"/>__,_._,___</div>
</body>
</html>

--------------050408060304010404000301--

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