Apex a little overboard on alarms

Carl C

Active Member
View Badges
Joined
Jan 11, 2018
Messages
323
Reaction score
213
Rating - 0%
0   0   0
Every minute

EAD03B29-6850-4C69-A62E-F55BC626F84B.png
 

Dine

Well-Known Member
View Badges
Joined
Jan 13, 2019
Messages
564
Reaction score
709
Rating - 0%
0   0   0
Not sure what that code is meant to tell you but if it’s not something you want to know about ASAP I’d change the conditions that trigger the alarm.
 

TheHarold

5000 Club Member
View Badges
Joined
Oct 3, 2015
Messages
5,145
Reaction score
8,759
Rating - 0%
0   0   0
Every minute

EAD03B29-6850-4C69-A62E-F55BC626F84B.png

The issue is that the switch is being triggered repeatedly, on and off. To avoid this you should put a defer statement before turning on- like “defer 5 then on”. That way the float switch needs to be in the triggered position for 5 solid minutes before it triggers the alarm.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
What is Swx3_4? As mentioned above, a Defer timer usually helps, though depending on what the switch is it may be more appropriate to only defer for a few seconds.

You might also want to monitor it via a virtual output with the defer, then alert on the status of the virtual output.

See my tutorial on Apex Alarm programming for examples: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-6-alarms.707/
 
OP
OP
Carl C

Carl C

Active Member
View Badges
Joined
Jan 11, 2018
Messages
323
Reaction score
213
Rating - 0%
0   0   0
The issue is that the switch is being triggered repeatedly, on and off. To avoid this you should put a defer statement before turning on- like “defer 5 then on”. That way the float switch needs to be in the triggered position for 5 solid minutes before it triggers the alarm.
thats great thanks for helping
 

Creating a strong bulwark: Did you consider floor support for your reef tank?

  • I put a major focus on floor support.

    Votes: 66 39.8%
  • I put minimal focus on floor support.

    Votes: 36 21.7%
  • I put no focus on floor support.

    Votes: 58 34.9%
  • Other.

    Votes: 6 3.6%
Back
Top