- Joined
- Apr 12, 2020
- Messages
- 266
- Reaction score
- 79
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
www.reef2reef.com
ThxI dont know why you aren't using the 'built in alarm settings' for your temp, ph and salinity. You only need to set the parameters - and if they are outslde those, you will get an alert. Here is a nice article describing how to do it. I do not think you need all the code in your email alert settings?
![]()
Neptune Apex Programming Tutorials, Part 6: Alarms
Neptune Apex Programming Part 6 of our series: Alarms.www.reef2reef.com
On my Neptune, I have alarms turned 'on'. I go, for example to the TMP probe, click the settings - and I set the parameters. There is no programming for pH in the Email alert settings necessary.
This is interesting - I did not know this (but I suppose it makes sense according to the programming) - I think this is a huge issue. For example (lets say) the ORP alarm went off (who cares) - but the temp was 95 in the tank - I would like to know the temp - as compared to the other.I’m the author of the tutorial article linked above.
It’s best not to mix methods for alarms. Either use the code on the EmailAlm output, or use the Alarm settings on the Inputs.
As for your EmailAlm code not working:
1. Is your EmailAlm output slider set to AUTO on your dashboard?
2. Is there an active alarm (such as your salt or pH) at the time you’re expecting to receive a notification for some other alarm condition? The Apex can only report on a single alarm condition at a time, so you’d need to clear the 1st alarm before you will receive the 2nd alarm notification.
3. As I mention in my tutorial, be sure to sequence your code so the most important conditions are listed last.

