PDA

View Full Version : AQP3 spamming me


kb27973
05/10/2009, 03:14 PM
Does anyone know of a way to tell what is causing the alarm? Every once in awhile I will get a rash of emails from alarms and can't figure out why. Usually it stops after a day or two but I have had to set the ALM manually off for the past week because when I turn it on it just keeps sending and sending and sending text to my cell. I have went through my code and compared with the status of my devices and can't find anything that would be causing the alarm to go off.

Here is a sample email from just a second ago:
May 10 2009 12:06:44
Temp pH ORP Cond
81.8 8.15 422 00.0
TmpG pHG1 pHG2
81.4 8.23 7.99
MH2 is ON Auto
MH1 is ON Auto
KLK is OFF Auto
DOS is OFF Auto
HET is OFF Auto
COL is OFF Auto
ALM is ON Auto
T05 is ON Auto
SKM is ON Auto
PMP is ON Auto
FAN is OFF Auto
SKF is OFF Auto
SPL is OFF Manual
SPH is OFF Auto
WTB is OFF Auto
WV1 is PF1 Auto
WV2 is PF5 Auto
WV3 is PF6 Auto
WV4 is PF1 Auto
TM1 is ON Auto
TM2 is OFF Auto
TM3 is OFF Auto
TM4 is ON Auto
CHS is ON Auto

And here is my code.

If Time > 00:00 Then ALM OFF
If Time > 09:25 Then ALM OFF
If Time > 09:30 Then ALM ON
If Time > 09:35 Then ALM OFF
If TmpG < 80.6 Then HET ON
If TmpG > 81.0 Then HET OFF
Max Change 010 M Then HET OFF
If Temp > 83.0 Then COL ON
If Temp < 80.0 Then COL OFF
If TmpG > 81.6 Then COL ON
If TmpG < 81.0 Then COL OFF
Max Change 010 M Then COL OFF
If Temp < 78.6 Then HET ON
If Temp > 82.0 Then HET OFF
If Time > 10:00 Then MH1 ON
If Time > 11:00 Then MH2 ON
If Time > 17:00 Then MH1 OFF
If Time > 16:00 Then MH2 OFF
If TmpG > 83.0 Then MH1 OFF
If TmpG > 83.0 Then MH2 OFF
If TmpG > 83.0 Then T05 OFF
Max Change 010 M Then MH1 OFF
Max Change 020 M Then MH2 OFF
If Time > 07:00 Then T05 ON
If Time > 19:00 Then T05 OFF
If TmpG < 78.0 Then ALM ON
If TmpG > 83.0 Then ALM ON
If Temp < 78.0 Then ALM ON
If Temp > 83.0 Then ALM ON
If ORP < 300 Then ALM ON
If ORP > 470 Then ALM ON
If pHG1 < 07.70 Then ALM ON
If pHG1 > 08.60 Then ALM ON
If TmpG < 50.0 Then HET OFF
If Time > 19:50 Then KLK ON
If Time > 19:51 Then KLK OFF
If Time > 20:00 Then DOS ON
If Time > 11:00 Then DOS OFF
If pHG1 > 08.60 Then DOS OFF
Max Change 010 M Then DOS OFF
If Power 000 Then ALM ON
If Power 010 Then MH1 OFF
If Power 015 Then MH2 OFF
If Time > 00:00 Then SKM ON
If Time > 00:00 Then PMP ON
If TmpG > 81.4 Then FAN ON
If TmpG < 81.0 Then FAN OFF
Max Change 030 M Then FAN OFF
If SwitchG2 OPEN Then ALM ON
If SwitchG2 OPEN Then SKM OFF
If SwitchG2 CLOSED Then SKF OFF
If SwitchG2 OPEN Then SKF ON
Max Change 010 M Then PMP OFF
Max Change 015 M Then SKM OFF
If SwitchG4 CLOSED Then SPH OFF
If SwitchG4 OPEN Then SPH ON
If SwitchG4 OPEN Then ALM ON
If SwitchG1 CLOSED Then WTB ON
If SwitchG1 OPEN Then WTB OFF
If SwitchG1 CLOSED Then ALM ON
If SwitchG3 CLOSED Then SPL ON
If SwitchG3 OPEN Then SPL OFF
If SwitchG3 CLOSED Then ALM ON
Pmp MODE sD for PF1
Pmp MODE sD for PF2
Pmp MODE sD for PF3
Pmp MODE SD for PF4
Pmp MODE sD for PF5
Pmp MODE SD for PF6
Pmp Int 030/100 for PF1
Pmp Int 030/100 for PF2
Pmp Int 030/075 for PF3
Pmp Int 030/075 for PF4
Pmp Int 030/090 for PF5
Pmp Int 030/090 for PF6
Pmp OSC 04/08/00 for PF1
Pmp OSC 00/08/04 for PF2
Pmp OSC 04/08/00 for PF3
Pmp OSC 00/08/04 for PF4
Pmp OSC 04/08/00 for PF5
Pmp OSC 00/08/04 for PF6
If Timer T05 = OFF Then WV1 PF3
If Timer T05 = OFF Then WV2 PF3
If Timer T05 = OFF Then WV3 PF4
If Timer T05 = OFF Then WV4 PF4
If Timer T05 = ON Then WV1 PF5
If Timer T05 = ON Then WV2 PF5
If Timer T05 = ON Then WV3 PF6
If Timer T05 = ON Then WV4 PF6
If Time > 12:00 Then CHS ON
If Time > 15:00 Then CHS OFF
RND 015/010 ON/OFF Then TM1 ON
RND 020/010 ON/OFF Then TM2 ON
RND 010/010 ON/OFF Then TM3 ON
RND 020/010 ON/OFF Then TM4 ON
If Timer MH1 = ON Then WV1 PF5
If Timer MH1 = ON Then WV2 PF5
If Timer MH1 = ON Then WV3 PF6
If Timer MH1 = ON Then WV4 PF6
If Timer CHS = OFF Then TM1 OFF
If Timer CHS = OFF Then TM2 OFF
If Timer CHS = OFF Then TM3 OFF
If Timer CHS = OFF Then TM4 OFF
If Timer TM1 = ON Then WV1 PF1
If Timer TM2 = ON Then WV2 PF1
If Timer TM3 = ON Then WV3 PF1
If Timer TM4 = ON Then WV4 PF1
If FeedA 000 Then WV1 OFF
If FeedA 000 Then WV2 OFF
If FeedA 000 Then WV3 OFF
If FeedA 000 Then WV4 OFF

Thanks.

Ken

kenargo
05/10/2009, 06:57 PM
What are the switches; I see they also turn on ALM? Alarm email should be sent every "Repeat Alarm" time (in minutes); defaults tp 60. How often are you getting emails? If it is more oftwn then 1 per hour then I am guessing something is bouncing around the alarm condition.

kb27973
05/11/2009, 07:07 AM
Hi Ken,
Thanks for the response. The switches are:
SKF&-G02 = Skimmer full float switch
SPL&-G03 = Sump low float switch
SPH&-G04 = Sump high float switch
WTB&-G01 = Waterbug water sensor

I just turned ALM back on and I got emails at 6:22,24,29,31,32,33,35,36,37,38,38. I checked devices hooked to the switches and don't see anything that would cause the alarms. I just got an alarm and I looked at the status web page - It showed ALM on but all switches were off. So I just set all the switches to manual off and the alarms are still coming. Here are the alarm statements stripped out of my code:

If Time > 00:00 Then ALM OFF
If Time > 09:25 Then ALM OFF
If Time > 09:30 Then ALM ON
If Time > 09:35 Then ALM OFF
If TmpG < 78.0 Then ALM ON
If TmpG > 83.0 Then ALM ON
If Temp < 78.0 Then ALM ON
If Temp > 83.0 Then ALM ON
If ORP < 300 Then ALM ON
If ORP > 470 Then ALM ON
If pHG1 < 07.70 Then ALM ON
If pHG1 > 08.60 Then ALM ON
If Power 000 Then ALM ON
If SwitchG2 OPEN Then ALM ON
If SwitchG4 OPEN Then ALM ON
If SwitchG1 CLOSED Then ALM ON
If SwitchG3 CLOSED Then ALM ON

I just cut this status from the web page and you can see alm on, SKF, SPL, SPH, WTB switches off and temp, ph and orp at top are within range.

May 11 2009 04:02:14
Temp pH ORP Cond
80.5 8.37 393 00.0
TmpG pHG1 pHG2
79.7 8.44 8.27

MH2 OFF
MH1 OFF
KLK OFF
DOS ON
HET ON
COL OFF
ALM ON
T05 OFF
SKM ON
PMP ON
FAN OFF
SKF OFF
SPL OFF
SPH OFF
WTB OFF
WV1 PF3
WV2 PF3
WV3 PF4
WV4 PF4
TM1 OFF
TM2 OFF
TM3 OFF
TM4 OFF
CHS OFF
Power Failed: Mar 08 2009 15:42:40
Power Restored: Mar 08 2009 15:43:12

Thanks again for the help Ken.

Ken

kb27973
05/11/2009, 09:10 AM
I found it Ken. I just started deleting all the alarm statements until I found the one. It was the sump low float switch. This statement was causing my grief:
If SwitchG3 CLOSED Then ALM ON

I just put it back in and now it seems to be working correctly. What I don't understand is that by setting the switches to manual off it should have disabled the alarm for that device right? You can see in my last update that all the switches were manual off but the alarm was still on. Confusing!

Ken

kenargo
05/11/2009, 11:22 AM
Glad you found the issue.

I just put it back in and now it seems to be working correctly. What I don't understand is that by setting the switches to manual off it should have disabled the alarm for that device right? You can see in my last update that all the switches were manual off but the alarm was still on. Confusing!

YOu can't set a switch to manual off, only devices, maybe I didn't understand what you set to manual off???

lakee911
05/11/2009, 12:18 PM
Try this:


If SwitchG4 CLOSED Then SPH OFF
If SwitchG4 OPEN Then SPH ON
If Timer SPH = ON Then ALM ON


This way you can turn on and off the alarm condition.

kenargo
05/11/2009, 12:23 PM
If this is an AC3 then you have the same issue as me; only 24 timers are supported and you have 24 timers already so no room to add the new one.

It would work (lakee911), except for that small issue.

kb27973
05/11/2009, 01:08 PM
My unit is the AC3P. Here is my code for the float switch:

If SwitchG3 CLOSED Then SPL ON
If SwitchG3 OPEN Then SPL OFF
If SwitchG3 CLOSED Then ALM ON

The switch is hooked up to be normally open = good = alm off.

SPL is defined as SPL&-G03.

Setting SPL maually ON or OFF doesn't seem to have an effect on ALM.

I'm not so sure I fixed my problem because now I'm not getting any emails.

This is what just happened with no email being sent (cut and paste from status web page). At 9:47:23 ALM is ON and SPL is ON. With me changing nothing at 9:49:05 ALM OFF and SPL OFF. I just took out the SPL code. Maybe the float switch is bad. Now my problem seems to be NO emails when ALM is ON. I went through the setup screens and verified the email info as well as rebooting the controller. Nada. I remember there was some code floating around a long time ago of commands you run in a telnet window to check email status. Anyone have that handy?

May 11 2009 09:47:23
Temp pH ORP Cond
80.2 8.19 404 00.0
TmpG pHG1 pHG2
79.6 8.27 8.08
MH2 OFF
MH1 OFF
KLK OFF
DOS ON
HET ON
COL OFF
ALM ON
T05 ON
SKM ON
PMP ON
FAN OFF
SKF OFF
SPL ON
SPH OFF
WTB OFF
WV1 PF5
WV2 PF5
WV3 PF6
WV4 PF6
TM1 OFF
TM2 OFF
TM3 OFF
TM4 OFF
CHS OFF
Power Failed: None
Power Restored: None

May 11 2009 09:49:05
Temp pH ORP Cond
80.2 8.19 406 00.0
TmpG pHG1 pHG2
79.6 8.27 8.08
MH2 OFF
MH1 OFF
KLK OFF
DOS ON
HET ON
COL OFF
ALM OFF
T05 ON
SKM ON
PMP ON
FAN OFF
SKF OFF
SPL OFF
SPH OFF
WTB OFF
WV1 PF5
WV2 PF5
WV3 PF6
WV4 PF6
TM1 OFF
TM2 OFF
TM3 OFF
TM4 OFF
CHS OFF
Power Failed: None
Power Restored: None

kenargo
05/11/2009, 01:52 PM
If SwitchG3 CLOSED Then SPL ON
If SwitchG3 OPEN Then SPL OFF
If SwitchG3 CLOSED Then ALM ON


Do this instead...


If SwitchG3 CLOSED Then SPL ON
If SwitchG3 OPEN Then SPL OFF
If Timer SPL = ON Then ON ALM ON

That way your manual control of SPL will also affect ALM.

kb27973
05/11/2009, 03:28 PM
Ahhh. I didn't see the difference when lakee911 posted it before. I see it now and I'll change it.

I figured out my mail problem:

AquaController> cons
AquaController> 1 maild
AquaController> mail
AquaController> SMTP: server = 696080d1
SMTP: fdopen OK

SMTP: mailhost <--
SMTP: HELO neptunesys.com

SMTP: mailhost --> 220 mail.bortnet.com ESMTP Postfix

SMTP: mailhost --> 250 mail.bortnet.com

SMTP: mailhost <--
SMTP: MAIL FROM: <[email protected]>

SMTP: mailhost --> 250 Ok

SMTP: mailhost <--
SMTP: RCPT TO: <[email protected]>

SMTP: mailhost --> 550 you have exceeded your daily plan email limit

SMTP: unexp reply: 550 you have exceeded your daily plan email limit


Told you it was spamming me! :)

Thanks for the help both of you,
Ken