Jump to content

program to run once every 15 minutes


Fatty

Recommended Posts

Posted

I have my vista 20p panel set up to send x10 when motion is detected, works perfectly. Isy994IRpro programmed to notify via EMAIL when afore mentioned x-10 command is received, works perfectly.

 

Problem is when someone is moving around I get hundred of e-mails, every 15 minutes or so would be plenty.

 

I set the program to on x10 wait 15 min then notify and that works. I'm too lazy to do the math and want to know at time of occurrence. If I program notify and wait 15 I get hundreds of e-mails what am I doing wrong. I also tried notify, wait 15 then send X-10 off ( to a house code and address not used) that didn't work either, their must be a way.....

Posted

I suspect you may need to refine your requirements a bit. Let me see if I can restate:

 

a) you want a notification when motion is sensed.

B) after any notification you want a 15 minute wait period before any subsequent notifications, regardless of whether motion is sensed.

c) Once a 15 minute wait is over, you would like notifications to be enabled again.

 

without thinking too hard, my initial temptation would be to break this into two programs

 

program 1:

 

if

motion is sensed (in your case, if X-10 command is recieved)

and if program 2 is false

then

send notification

run program 2 (then path)

else

nothing

 

program 2:

 

if

nothing

then

wait 15 minutes

run program 2 (else path)

else

nothing

 

see if something like this works for you. Let me know if you have questions about any of the concepts behind this approach.

Posted

From a program, one may initiate another program. There are three parts of a program: if, then, else. When one invokes a second program from the first, one must specify which, of the three parts, is being invoked. In this, case I proposed invoking the "then path". In this case, in the second program, notice that there are NO commands in the IF or ELSE paths...only in the THEN path.

 

I am always unsure of how familiar people are with programming the ISY, so I don't take a lot of time in early responses worrying about exact phrases. Beware, my proposed program wording is VERY approximate. The ISY will create the proper syntax for you. You must simply select the commands from various drop-down boxes.

 

I takes a little practice, but you will get good at it soon enough.

Guest
This topic is now closed to further replies.

×
×
  • Create New...