I am not finding the option for "Remove Delayed Execution of Event" that you show in your event sample in the guide. I am using HS3. Is this an option in HS4? I am using "Run Event Monitored Device Full List" instead. It seems to me that it should work.
Announcement
Collapse
No announcement yet.
Event question about Remove Delayed Execution of Event
Collapse
X
-
Originally posted by noopara View PostI am not finding the option for "Remove Delayed Execution of Event" that you show in your event sample in the guide. I am using HS3. Is this an option in HS4? I am using "Run Event Monitored Device Full List" instead. It seems to me that it should work.
Steve
-
Originally posted by noopara View PostWhat I don't understand is what event is the delayed event? The event Monitored Device Full List is a manually triggered event. I have always used Run Another Event. I'm missing something here.
Comment
-
I think I see what you mean. If the event "Monitored Devices Alert" was running and then it was triggered again a second time while it was already running, it would have to wait (delayed) until the first event was done. So by using "Remove Delayed Execution of event it is preventing the report event from repeating shortly after it already ran. Is that correct?
If I were to combine the two events into one event and set Cannot Re-Run For: 5 minutes wouldn't that take care of it?
Comment
-
Originally posted by noopara View PostI think I see what you mean. If the event "Monitored Devices Alert" was running and then it was triggered again a second time while it was already running, it would have to wait (delayed) until the first event was done. So by using "Remove Delayed Execution of event it is preventing the report event from repeating shortly after it already ran. Is that correct?
If I were to combine the two events into one event and set Cannot Re-Run For: 5 minutes wouldn't that take care of it?
If I remember correctly it is to cover a situation where several battery devices alert at the same time. This can occur if for example HS was shut down for a day. The pi staggers the alerts, and therefore triggers, by a preconfigurable interval of 2 seconds by default, I think.
With the event configured as my example you will get the series of pushover notifications showing each device that alerts in turn at 2 sec intervals, followed by one full report by email 1 min after the final alert. If you rearranged into one event with a not rerun for 5 minutes then you would only get the first pushover alert and one full report that was incomplete because of the staggered alerts.
Steve
Comment
-
OK. That makes sense. I have it configured with the two events per your example using the Then action Remove Delayed Execution of Event Device Monitor Full List. I still don't see what triggers the event Device Monitor Full List to run. Does your plug-in do this? Oops....I see it now. It's at the bottom of the event. I had to zoom in to see it.
Comment
-
Originally posted by noopara View PostOK. That makes sense. I have it configured with the two events per your example using the Then action Remove Delayed Execution of Event Device Monitor Full List. I still don't see what triggers the event Device Monitor Full List to run. Does your plug-in do this? Oops....I see it now. It's at the bottom of the event. I had to zoom in to see it.
Take a look at Randy’s links as he explains these methods in much more detail.
Steve
Comment
Comment