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 schedule (was X10)


  • Subject: RE: xAP schedule (was X10)
  • From: "Patrick Lidstone \(Personal e-mail\)" <patrick@xxxxxxxxxxxx>
  • Date: Sat, 12 Jun 2004 15:21:22 +0100

------=_NextPart_000_000A_01C45090.EB7CE4C0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit

xAP schedule info. xAP schedule is available from
patrick.lidstone.net/ha, and requires the cygwin dll if you are running
under windows.

Patrick

xAP Schedule is a simple application which sends a pre-programmed xAP
message at an appointed time. It can operate in two modes - it can
either send a generic alert message or it can send a message from a flat
file.

Steps to set up a xap-schedule:

1) Install and run the xap-schedule application on your chosen platform
(Windows or Linux).

2) To set an alarm which generates a generic xAP alert message, send a
message in this format to the scheduler, using the xap-send tool.

xap-header
{
v=12
hop=1
uid=FF123400
class=schedule.request
source=acme.my.controller
target=rocket.schedule.bigben
}
set.once
{
time=15:30:00
date=22-12-2002
event="Get up you lazy bastard"
}


When the alarm fires, it will send a message:

xAP-header
{
v=12
hop=1
uid=FF001E00
class=schedule.notify
source=Rocket.Schedule.bigben
}
schedule.event
{
Event="Get up you lazy bastard"
Time=15:30:00
Date=22-12-2002
}

3) To send a message which sends a canned message when it fires, send a
message in this format to the scheduler, using the xap-send tool.
xap-header
{
v=12
hop=1
uid=FF123400
class=schedule.request
source=acme.my.controller
target=rocket.schedule.bigben
}
set.once
{
time=15:30:00
date=22-12-2002
event="Get up you lazy bastard"
file=../send/docs/L1_ON.xap
}

where the file... line specifies the full path to the canned message
that you wish to send when the alarm fires.

Patrick


------=_NextPart_000_000A_01C45090.EB7CE4C0
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400"
name=GENERATOR></HEAD>
<BODY>


<DIV><SPAN class=474252014-12062004><FONT face=Arial
color=#0000ff size=2>xAP
schedule info. xAP schedule is available from patrick.lidstone.net/ha, and
requires the cygwin dll if you are running under
windows.</FONT></SPAN></DIV>
<DIV><SPAN class=474252014-12062004><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=474252014-12062004><FONT face=Arial
color=#0000ff
size=2>Patrick</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2></FONT>&nbsp;</DIV>
<DIV>xAP Schedule is a simple application which sends a
pre-programmed xAP
message at an appointed time. It can operate in two modes - it can either
send a
generic alert message or it can send a message from a flat file.
<BR><BR>Steps
to set up a xap-schedule: <BR><BR>1) Install and run the
xap-schedule
application on your chosen platform (Windows or Linux).
<BR><BR>2) To set an
alarm which generates a generic xAP alert message, send a message in this
format
to the scheduler, using the xap-send tool. <BR><BR>xap-header
<BR>{ <BR>v=12
<BR>hop=1 <BR>uid=FF123400 <BR>class=schedule.request
<BR>source=acme.my.controller <BR>target=rocket.schedule.bigben
<BR>}
<BR>set.once <BR>{ <BR>time=15:30:00
<BR>date=22-12-2002 <BR>event="Get up you
lazy bastard" <BR>} <BR><BR><FONT
face=courier>&nbsp;&nbsp; </FONT><BR>When the
alarm fires, it will send a message: <BR><FONT
face=courier>&nbsp;&nbsp;
</FONT><BR>xAP-header <BR>{ <BR>v=12
<BR>hop=1 <BR>uid=FF001E00
<BR>class=schedule.notify <BR>source=Rocket.Schedule.bigben
<BR>}
<BR>schedule.event <BR>{ <BR>Event="Get up you lazy
bastard" <BR>Time=15:30:00
<BR>Date=22-12-2002 <BR>} <BR><BR>3) To send a
message which sends a canned
message when it fires, send a message in this format to the scheduler,
using the
xap-send tool. <BR>xap-header <BR>{ <BR>v=12
<BR>hop=1 <BR>uid=FF123400
<BR>class=schedule.request <BR>source=acme.my.controller
<BR>target=rocket.schedule.bigben <BR>} <BR>set.once
<BR>{ <BR>time=15:30:00
<BR>date=22-12-2002 <BR>event="Get up you lazy
bastard"
<BR>file=../send/docs/L1_ON.xap <BR>} <BR><BR>where
the file... line specifies
the full path to the canned message that you wish to send when the alarm
fires.
<BR><BR>Patrick<BR></DIV><!-- **end egp html
banner** -->

<br>

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

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1"
color=#003399><b>Yahoo! Groups
Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0
cellspacing=0> <tr> <td align=center><font face=arial
size=-2>ADVERTISEMENT</font><br><a href="http://us.ard.yahoo.com/SIG=1294thmb2/M=298184.5022502.6152625.3001176/D=groups/S=1705007709:HM/EXP=1087136511/A=2164339/R=0/SIG=11e2d64in/*http://www.netflix.com/Default?mqso=60183348";
alt=""><img src="http://us.a1.yimg.com/us.yimg.com/a/ne/netflix/yhoo0504_a_300250a052604.gif";
alt="click here" width="300" height="250"
border="0"></a></td></tr></table>
</td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S=:HM/A=2164339/rand=780223474";></td></tr>
</table>

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



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

<br>
<tt><hr width="500">
<b>Yahoo! Groups Links</b><br>
<ul>
<li>To visit your group on the web, go to:<br><a
href="http://groups.yahoo.com/group/xap_automation/";>http://groups.yahoo.com/group/xap_automation/</a><br>&nbsp;
<li>To unsubscribe from this group, send an email to:<br><a
href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;
<li>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.
</ul>
</tt>
</br>

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


</BODY></HTML>

------=_NextPart_000_000A_01C45090.EB7CE4C0--


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.