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"

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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...