I keep getting alerts from our Apex on the salinity probe despite it not being below or above the thresholds. Even the alert shows it's in range, so not sure what's going on?
I keep getting alerts from our Apex on the salinity probe despite it not being below or above the thresholds. Even the alert shows it's in range, so not sure what's going on?
You may be getting a spike that is sending it out of range but by the time the alert message is built and ready to send the value is back in range. The value that is included in the alert is read at the time that the message is sent but the alert condition may have been a couple of seconds before that. You can add a defer statement to your code in order to prevent your apex on triggering an alert on a short spike condition.
Quick tip, always add a defer statement of 30 seconds to a minute on email alarms. Prevents you from getting erroneous emails from transient spikes.
Defer 000:30 Then ON
Sent from my SM-G935V using Tapatalk
you are having the same problem i had with temperature. If you still haven't solved it let me know, I fixed mine.
Bookmarks