PDA

View Full Version : Problem with email/alarm...sending a false alarm


nightOwl
08/04/2011, 01:50 PM
I am having an issue that is starting to become annoying with my email/text alarm. I recently had some temperature issues due to a heater failing and so whenever I see the text I think something is wrong. Today I was looking at my status and I received the text. I could see the temp was 78.4. I have received the text/email twice today so far.

I have looked through the datalogs and the graphs and I can not find the temp being over 79.0 today. The datalog is pulling information every 10 minutes. SndAlm_I6 - (base Alarm) and SndWrn_I7 - (base Warn) are both set to Set OFF with no other lines in the programming.

I see where some people suggest creating a virtual outlet to check temperature and things like when the power is off. Is this something that I should use instead? Will adding the defer statement help? Would I need to create two virtual outlets and then have a defer statement for each?

EmailAlm_I5 - (base email)
Set OFF
If Temp > 82.0 Then ON
If Temp < 75.0 Then ON


Email looks like this...
Alarm Statement: If Temp > 82.0 Then ON

Aug 04 2011 15:07:10
Temp pH ORP
78.4 7.97 0
VarSpd1_I1 is Tunze_1 Auto
VarSpd2_I2 is Tunze_2 Auto
VarSpd3_I3 is Pulse_S Auto
VarSpd4_I4 is PF4 Auto
SndAlm_I6 is OFF Auto
SndWrn_I7 is OFF Auto
EmailAlm_I5 is OFF Auto
Skimmer is ON Auto
VHO_Front is OFF Manual
VHO_Back is OFF Manual
R4 is ON Auto
Tunze_6105_1 is ON Auto
Tunze_6055 is ON Auto
Tunze_6105_2 is ON Auto
Tunze_6055_2 is ON Auto
Top-Off is ON Auto
Refugium is ON Auto
KalkStirrer is ON Auto
AquaLifter is OFF Auto
Fans is ON Auto
L6 is ON Auto
L7 is ON Auto
L8 is ON Auto
MH_1_Center is OFF Auto
MH_2_Right is OFF Auto
MH_3_Left is OFF Auto
Moon_lights is OFF Auto
Heater_1 is OFF Auto
Return is ON Auto
Heater_2 is ON Auto
Chiller is OFF Auto
Frag_VHO is OFF Auto
Heater_3 is OFF Auto
Frag_Tank_3 is ON Auto
Frag_Tank_4 is OFF Manual
Frag_Tank_5 is OFF Auto
Frag_Tank_6 is ON Manual
CO2_7_7 is OFF Auto
Ozone_7_8 is ON Auto
Power Failed: Aug 02 2011 20:37:47
Power Restored: None
Power OK: Bottom (1 Days 18:28 - 1.5 Amps)
Power OK: Left_Outlets (1 Days 18:28 - 0.3 Amps)
Power OK: MH_And_MoonL (1 Days 18:28 - 0.0 Amps)
Power OK: Right_Outlet (1 Days 18:28 - 1.6 Amps)
Power OK: EB8_7 (1 Days 18:28 - 0.4 Amps)

Thanks in advance for the help

swearint
08/04/2011, 02:14 PM
Since the code executes much faster than the polling interval, it is common to have a discrepancy between the email and datalog. The usual approach is to add a short Defer duration within the email code to buffer out minor fluctuations. Try adding 'Defer 01:00 Then ON' to the end of your email code. This will require that the temp be out of range for at least a minute before the outlet can change to ON.

Todd

nightOwl
08/04/2011, 02:44 PM
Since the code executes much faster than the polling interval, it is common to have a discrepancy between the email and datalog. The usual approach is to add a short Defer duration within the email code to buffer out minor fluctuations. Try adding 'Defer 01:00 Then ON' to the end of your email code. This will require that the temp be out of range for at least a minute before the outlet can change to ON.

Todd

Todd,
Thanks for the fast reply. Will adding the defer statement handle both of ranges before changing to ON?

If Temp > 82.0 Then ON
If Temp < 75.0 Then ON

RussM
08/04/2011, 02:57 PM
Yes; a defer statement will apply to both.

nightOwl
08/04/2011, 05:16 PM
Thanks again To both of you!