bcdavis75 Posted October 18, 2016 Share Posted October 18, 2016 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. Link to comment
larryllix Posted October 18, 2016 Share Posted October 18, 2016 (edited) 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 October 18, 2016 by larryllix Link to comment
MWareman Posted October 18, 2016 Share Posted October 18, 2016 (edited) 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 October 18, 2016 by MWareman Link to comment
bcdavis75 Posted October 18, 2016 Author Share Posted October 18, 2016 Ah. Got. Thanks! Link to comment
Recommended Posts