Jump to content

Wait command not working in a program


bcdavis75

Recommended Posts

Hi all.  Hoping to get some help on a program issue. The purpose of the program is to use the network resource module to announce a warning through my sonos system when motion is detected in my basement. However, despite the fact that I have a wait command after triggering the network resource, each time motion is detected, the announcement gets interrupted and starts over again. Screen shot of the program is attached. Thanks in advance for your help.

 

 

post-4526-0-85697700-1476818583_thumb.png

Link to comment

Hi all.  Hoping to get some help on a program issue. The purpose of the program is to use the network resource module to announce a warning through my sonos system when motion is detected in my basement. However, despite the fact that I have a wait command after triggering the network resource, each time motion is detected, the announcement gets interrupted and starts over again. Screen shot of the program is attached. Thanks in advance for your help.

Use two programs

 

Program1

If

... triggering units send

Then

...call Program2 (if)

Else --

 

Program2

If --

Then

...Disable Program1

...Do something

...Wait a few seconds

...Enable Program1

Else --

 

 

BTW; Your Wait waits for nothing that follows.

 

and Right click on your program in the program tree and select "copy to clipboard"

Edited by larryllix
Link to comment

However, despite the fact that I have a wait command after triggering the network resource, each time motion is detected, the announcement gets interrupted and starts over again.

That's the expected behaviour. ISY is an event driven system. Any change in the triggering conditions causes the program to abort running an reevaluate (starting again in your case).

 

You need two programs, as described above.

Edited by MWareman
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...