Apex ALK alarm?

Heres_doe_

Valuable Member
View Badges
Joined
May 29, 2021
Messages
1,275
Reaction score
647
Location
USA
Rating - 100%
1   0   0
Can I turn on an alarm for ALK if it falls under a certain amount or goes higher than a certain amount? If so how do I do this.
 
I’m assuming you’re asking about Trident test results. There are 2 ways to do this:

1. Go into your list of Inputs, click the Alkx# where # is the AquaBus address of your Trident. On this screen, click the Advanced tab. Here you can enable alarms and specify the upper and/or lower values.

While this method is the simplest, it has two drawbacks:

- you cannot prioritize the alarms, so the Alk alarm could prevent the Apex from alerting you about a more serious issue like high temperature or a leak.

- the Apex will send you a notification once per hour until the next Trident test result is back within the desired range.

2. Add this line of code to your EmailAlm program:

If Alkx# > 9.0 Then ON
If Alkx# < 8.0 Then ON

If you place this code above the conditions like temperature and leak sensors, those more critical conditions would have priority over the Alk alarm, so the Apex will alert you of the more serious issue.

However, this method still has the annoying side effect of sending you an hourly notification.

3. Use a virtual output to check the Alk reading, but once it detects a problem, only keep it activated long enough to send a single alarm notification, then turn it off so it doesn’t keep nagging you:

[Alert_Alk] — virtual output
Set OFF
If Alkx# > 9.0 Then ON
If Alkx# < 8.0 Then ON
When On > 001:00 Then OFF

[EmailAlm]
Set OFF
If Output Alert_Alk = ON Then ON

I explain all of these techniques in my tutorial on Apex Alarms:

https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-6-alarms.707/
 

TOP 10 Trending Threads

WHICH AREA OF REEFKEEPING MOST NEEDS A GENUINE BREAKTHROUGH?

  • Lighting

    Votes: 1 2.1%
  • Pumps and water flow

    Votes: 2 4.2%
  • Water testing and monitoring

    Votes: 17 35.4%
  • Controllers, apps, and device compatibility

    Votes: 7 14.6%
  • Filtration and nutrient export

    Votes: 1 2.1%
  • Automatic feeding

    Votes: 5 10.4%
  • Leak prevention and tank safety

    Votes: 6 12.5%
  • Equipment reliability and repairability

    Votes: 5 10.4%
  • Other (leave a comment in the thread)

    Votes: 4 8.3%

New Posts

Back
Top
Home
Post thread…
Market
What's new