Email from alarm event


NHL

Recommended Posts

Hi, sorry if this has been covered before but i'm looking to send an email notification based an alarm being fired once. 

I've got the emails working just fine.

If I use the fired tab of the alarms as they update that just triggers another email to be sent, as you can imagine if you've got the cycle time set low then lots of emails are triggered. Is their a way to only send one email based from the first trigger and not send any more until the acknowledgment has occurred?  

 

Thanks 

Link to comment
Share on other sites

First, I would look to changing your alarm settings so they don't constantly refire.  This is called hysteresis and is why there is a separate Reset expression.  For example, if you want the alarm to trigger when temperature > 100, you would set the Reset condition to temperature < 90 say, so that noise in the temperature reading doesn't cause it to constantly fire and reset.

To keep it from firing a separate email until acknowledgement you would have to create a flag (a variable) that gets set when the email is sent, and reset in the Acknowledge event.  The email would only send when this flag is clear.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.