[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Floorplan Scripts & Delay
- Subject: Re: Floorplan Scripts & Delay
- From: "drodegeb" <drodegeb@xxxxxxxxx>
- Date: Sat, 19 Jul 2008 20:35:35 -0000
That was easy to setup, I will do some testing tonight. Another thing
I just noticed. The xap message for my security system sends out
zones as Normal with a device value of 0 or Faulted with a value of
100, no On/Off. In the device config there are many states such as
On/Off, Open/Closed. Is there a way to add my state? All devices
look like they are always closed when set to Open/Closed.
--- In xap_automation@xxxxxxx, James Traynor
<james.traynor@...> wrote:
>
> 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
> > >
> >
> >
>
------------------------------------
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|