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: Floorplan Scripts & Delay



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

hi,
First off there looks like a bug in fp 1.5 in that when you create a new
item in a script you don't get the option of selecting another device,
only 'use calling device'.  If you go back and edit the item you should
find it all filled in. Also as one script can call another script then
if you made two scripts. On that contains the logic and the timers to
operate the sprinklers and the second one that is the one triggered in
the firstplace and that simply contains the contitional item of if
raininlast24 =off then run script XYZ. That way you wouldn't need to add
conditional statements to each item of the script.

You delay from last item suggestion sounds very sensible, i'll get it
put it.


James

drodegeb wrote:
>
> Another question about the script, is it possible to have the entire
> script or timer only run if a device is in a certain status (ex. If
> device RainLast24Hours is on, don't run script.)?
>
> I see there is a check device for each line, but the dropdown only has
> "Calling device" in the dropdown, and I would like to be
able to check
> the device for the entire script or timer.
>
> Also, as for the delay, could you put in an option to choose if you
> want the delays to be from the start of the script or from the
> previous line (Default to from start of script for backwards
> compatibility)? If I want to increase how long a zone is turned on, I
> have to adjust each line following it.
>
> --- In xap_automation@xxxxxxx
> <mailto:xap_automation%40yahoogroups.com>,
James Traynor
> <james.traynor@...> wrote:
> >
> > drodegeb wrote:
> > >
> > > Thanks. Would it be easier to write a "RAW Script"
to do it? If so,
> > > what would it look like
> > >
> >
> >
> > http://www.xapautomation.org/index.php?title=Floorplan_Scripts4
> <http://www.xapautomation.org/index.php?title=Floorplan_Scripts4>
> > Is a good example of a raw script that creates timers to do other
> > things. Although for simple on/offs the way you are doing it is
> > probably easier. Another way is to separate things out a little
and
> use
> > the OnChange events for each sprinkler to trigger a timer to turn
the
> > device off.
> >
> > >
> > > Also, is it normal for it to always include a check device
parameter
> > > after editing? I always have to go back in and chose
"Delete" to get
> > > rid of it.
> > >
> >
> >
> >
> >
> >
> > No that's not normal. I'll get it fixed for the next release.
> >
> >
> > James
> >
>
>


--------------030903070707040308020407
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">
</head>
<body bgcolor="#ffffff" text="#000000">


hi,<br>
First off there looks like a bug in fp 1.5 in that when you create a
new item in a script you don't get the option of selecting another
device, only 'use calling device'.&nbsp; If you go back and edit the
item
you should find it all filled in. Also as one script can call another
script then if you made two scripts. On that contains the logic and the
timers to operate the sprinklers and the second one that is the one
triggered in the firstplace and that simply contains the contitional
item of if raininlast24 =off then run script XYZ. That way you wouldn't
need to add conditional statements to each item of the script.<br>
<br>
You delay from last item suggestion sounds very sensible, i'll get it
put it.<br>
<br>
<br>
James<br>
<br>
drodegeb wrote:
<blockquote cite="mid:g5o4i6+o79j@xxxxxxx"
type="cite">
<div id="ygrp-text">
<p>Another question about the script, is it possible to have the
entire<br>
script or timer only run if a device is in a certain status (ex.
If<br>
device RainLast24Hours is on, don't run script.)?<br>
<br>
I see there is a check device for each line, but the dropdown only
has<br>
"Calling device" in the dropdown, and I would like to be able to
check<br>
the device for the entire script or timer.<br>
<br>
Also, as for the delay, could you put in an option to choose if
you<br>
want the delays to be from the start of the script or from the<br>
previous line (Default to from start of script for backwards<br>
compatibility)<wbr>? If I want to increase how long a zone is turned
on, I<br>
have to adjust each line following it.<br>
<br>
--- In <a moz-do-not-send="true"
href="mailto:xap_automation%40yahoogroups.com";>xap_automation@<wbr>yahoogroups.<wbr>com</a>,
James Traynor<br>
&lt;james.traynor@<wbr>...&gt; wrote:<br>
&gt;<br>
&gt; drodegeb wrote:<br>
&gt; &gt;<br>
&gt; &gt; Thanks. Would it be easier to write a "RAW
Script" to do it?
If so,<br>
&gt; &gt; what would it look like<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; <a moz-do-not-send="true"
href="http://www.xapautomation.org/index.php?title=Floorplan_Scripts4";>http://www.xapautom<wbr>ation.org/<wbr>index.php?<wbr>title=Floorplan_<wbr>Scripts4</a><br>
&gt; Is a good example of a raw script that creates timers to do other
<br>
&gt; things. Although for simple on/offs the way you are doing it is
<br>
&gt; probably easier. Another way is to separate things out a little
and<br>
use <br>
&gt; the OnChange events for each sprinkler to trigger a timer to turn
the <br>
&gt; device off.<br>
&gt; <br>
&gt; &gt;<br>
&gt; &gt; Also, is it normal for it to always include a check
device
parameter<br>
&gt; &gt; after editing? I always have to go back in and chose
"Delete"
to get<br>
&gt; &gt; rid of it.<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; No that's not normal. I'll get it fixed for the next
release.<br>
&gt; <br>
&gt; <br>
&gt; James<br>
&gt;<br>
<br>
</p>
</div>
<!--End group email --> </blockquote>
<br>

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

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



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

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=4031/stime=1216465201";
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=X3oDMTJmNm0zbmk3BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTY0NjUyMDE-";>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=X3oDMTJkYmhndGc2BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE2NDY1MjAx";>
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** -->


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

--------------030903070707040308020407--


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.