[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Time event xap msg generation
--------------070709020503000002040003
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I do this on my setup at home too. Assuming xAP Weather is setup with
your correct lat long.
In Floorplan>config?>scripts>addnew and call it sunset and enter
the
below adjusted as needed:
Sub Main()
x=xap.getvalue("Time Of Day")
if lcase(x)="night" then
x=xap.sendbscstate("ersp.x10.server:hall.lights","on")
x=xap.sendbscstate("ersp.x10.server:dining.lights","on")
x=xap.sendbscstate("ersp.x10.server:sitting.lights","on")
end if
End Sub
In Floorplan >config >Raw xAP > add new
Alias=Time of Day
Source=mi4.weather.XXXX (where XXX is the feed in xAP Weather)
Class=weather.report
Section=time
Item=tod
Script to run on change=Sunset
That's it!
hth
james
Jon Whiten wrote:
>I hadn't noticed that. Will check it out!
>;oj
>
>
>On 8/8/05, Kevin Hawkins <lists@xxxxxxx> wrote:
>
><SNIP>... James' xAP weather application already sends the
sunrise/sunset
>
>
>>times (for your specific location) if you want to get at them in
xAP....
>>you could test the value in say Floorplan and then issue a specific
dusk
>>or dawn message too.
>>
>>
>>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
--------------070709020503000002040003
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I do this on my setup at home too. Assuming xAP Weather is setup with
your correct lat long.<br>
In Floorplan>config?>scripts>addnew and call
it sunset and
enter the below adjusted as needed:<br>
<br>
Sub Main()<br>
x=xap.getvalue("Time Of Day")<br>
if lcase(x)="night" then<br>
x=xap.sendbscstate("ersp.x10.server:hall.lights","on")<br>
x=xap.sendbscstate("ersp.x10.server:dining.lights","on")<br>
x=xap.sendbscstate("ersp.x10.server:sitting.lights","on")<br>
end if<br>
End Sub<br>
<br>
<br>
<br>
In Floorplan >config >Raw xAP > add new<br>
Alias=Time of Day<br>
Source=mi4.weather.XXXX (where XXX
is the feed in xAP Weather)<br>
Class=weather.report<br>
Section=time<br>
Item=tod<br>
Script to run on change=Sunset<br>
<br>
That's it!<br>
<br>
hth<br>
<br>
james<br>
Jon Whiten wrote:
<blockquote cite="middaf1e09b0508080719752bd86@xxxxxxx"
type="cite">
<pre wrap="">I hadn't noticed that. Will check it out!
;oj
On 8/8/05, Kevin Hawkins <a class="moz-txt-link-rfc2396E"
href="mailto:lists@xxxxxxx";><lists@xxxxxxx></a>
wrote:
<SNIP>... James' xAP weather application already sends the
sunrise/sunset
</pre>
<blockquote type="cite">
<pre wrap="">times (for your specific location) if you want
to get at them in xAP....
you could test the value in say Floorplan and then issue a specific dusk
or dawn message too.
</pre>
</blockquote>
<pre wrap=""><!---->
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|