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,148
Reaction score
8,760
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,226
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
 

Form or function: Do you consider your rock work to be art or the platform for your coral?

  • Primarily art focused.

    Votes: 20 7.8%
  • Primarily a platform for coral.

    Votes: 45 17.4%
  • A bit of each - both art and a platform.

    Votes: 175 67.8%
  • Neither.

    Votes: 12 4.7%
  • Other.

    Votes: 6 2.3%
Back
Top