Alarm Statement: If Power Apex Off 000 Then ON

cediss

Active member
I'm getting this e-mail alarm triggering but everything seems to be working properly. Anyone know why this statement would be on if the system is working or am I missing something?
 
I had this issue as well. It seems the display will reboot occasionally and would send me this alert. I since switched to
if power eb_3 off 000 then on

So if loose power will still get email but not everytime display reboots.
 
It's odd since I've had this up and running over a year and this is the first time this has happened. It just keeps triggering. So I deleted that program line leaving the EB 8 as you did.
Thanks, Chris
 
I'm getting this e-mail alarm triggering but everything seems to be working properly. Anyone know why this statement would be on if the system is working or am I missing something?

"If Power Apex Off 000 Then ON" indicates a loss of power to the controller. It is possible that the controller is rebooting, or there is a problem on the USB buss between the controller and the EB8. Do you have the controller powered by a 12v wall wart or through the EB8?
Lastly, you could change the 000 to 001, that way the off condition would have to exist for one minute before an email was generated.
 
I have it powered by the EB8. I also have a 5 min defer statement on the email alarm. So if I'm not mistaken, that means the off power condition is occurring for more than 5 min?
 
Chris and Leyton... you have a misconception about the time value in If Power statements... it is not a defer-type action; it works just like the time value in Feed statements.... it keeps the outlet on for the specified time value after the triggering condition is cleared.

This is why If Power Apex OFF 000 Then ON doesn't work to trigger an email in a basic Apex system. The Apex has no power when it loses power, so it can't send the email. Once power is restored and the Apex is back online, there is no power loss, so the Apex doesn't know to send an email. If Power Apex OFF 001 Then ON, however, will make the email outlet stay on for one minute after a reboot/power return, long enough to get that alert sent out, letting you know that there was a power loss or other cause of the Apex rebooting.


Chris, I bet that your email problem started shortly after you enabled the Power Monitor feature - which I can tell is turned on by looking at the Power Restored: None on your Apex status.

Power Monitor should only to be enabled in very specific circumstances as detailed in the Apex manual. Otherwise, leave it disabled. Having Power Monitor enabled when you do not have the required equipment setup makes the Apex think that it is in a constant state of power loss, hence the emails.
 
Last edited:
I had this issue as well. It seems the display will reboot occasionally and would send me this alert. I since switched to
if power eb_3 off 000 then on

So if loose power will still get email but not everytime display reboots.

Why wouldn't you want to know if your Apex is experiencing power blips or spurious reboots? Seems like an important thing to me...
 
Why wouldn't you want to know if your Apex is experiencing power blips or spurious reboots? Seems like an important thing to me...

I would like to know but when I had if power statement for apex display I would get emails very often. But I will change the 000 to 001 and see of thy works like you said in the last post.

Although I would think if display looses power since I am powered thru my EB8 isn't it redundant to have if power statements for display and EB8??
 
If you have only one EB8, then If Power Apex is the appropriate one to use. If Power EB8 is of most value when you have multiple EBs.

If you got emails frequently when using If Power Apex, then something is wrong, either with power stability or with the Apex, or with the Power Monitor setting being set incorrectly for your system configuration.
 
Chris and Leyton... you have a misconception about the time value in If Power statements... it is not a defer-type action; it works just like the time value in Feed statements.... it keeps the outlet on for the specified time value after the triggering condition is cleared.

Russ,

I have a misconception about this whole code! I think I could have this unit for a hundred years and still not fully understand it. Thank God I am good at what I do, because I SUCK at this. Thank you for the explanation.
 
This is why If Power Apex OFF 000 Then ON doesn't work to trigger an email in a basic Apex system. The Apex has no power when it loses power, so it can't send the email. Once power is restored and the Apex is back online, there is no power loss, so the Apex doesn't know to send an email. If Power Apex OFF 001 Then ON, however, will make the email outlet stay on for one minute after a reboot/power return, long enough to get that alert sent out, letting you know that there was a power loss or other cause of the Apex rebooting.

Well I guess I accidently got what I needed. I want to know if there is a power issue of any kind with the APEX.
 
If you have only one EB8, then If Power Apex is the appropriate one to use. If Power EB8 is of most value when you have multiple EBs.

If you got emails frequently when using If Power Apex, then something is wrong, either with power stability or with the Apex, or with the Power Monitor setting being set incorrectly for your system configuration.

I do have 2 EB8s. I just added back the if power statement to apex 001 and I got email shortly after. Not sure what it could be. I will check aqua bus connections. I also have if power statements to both of my energy bars on my email alert.

This is my email code. I just change apex power statement to 003 and still getting email alerts.

Set OFF
If Temp > 82.0 Then ON
If Temp < 75.0 Then ON
If Power Energy_Bar_3 Off 001 Then ON
If Power Energy_Bar_4 Off 001 Then ON
If Power Apex Off 003 Then ON
If Outlet Sump_2_Hi = ON Then ON
Defer 001:00 Then ON
If pH > 08.45 Then ON
Defer 000:30 Then ON
If Outlet Overflow = ON Then ON
If Outlet ATO_Jug = ON Then ON
If Outlet Water_Change = ON Then OFF
If FeedA 000 Then OFF
 
Mpfaff77 said:
I just change apex power statement to 003 and still getting email alerts.
I'm assuming that the email was triggered by the line If Power Apex Off 003 Then ON?

Changing from 001 to 003 just makes the outlet stay on longer... see what I said in the first part of post 10.

If you got the email almost immediately and your Apex status page shows Power Restored: None, then check your Power Monitor setting as I described in the second part of post #10 - if it's on, disable it. In a nutshell, Power Monitor should only be enabled if there is an auxiliary 12VDC power supply connected to the Apex base module AND one or more EnergyBars are fed by an UPS (uninterruptable power supply).
 
Yes apex power statement was triggered email alert. I will re read that post. Didn't under stand completely.

So if I disable the power monitor can I still receive email alert if lost power to tank room? My energy bars do have constant power they dedicated circuit to tank room
 
So if I disable the power monitor can I still receive email alert if lost power to tank room?
Yes. Power Monitor: Enabled merely changes the way power monitoring works for use in certain system configurations. Having that option disabled does not disable the basic power monitoring capability. The majority of Apex owners should have Power Monitor disabled.

Think of Power Monitor enabled as advanced power monitoring and Power Monitor Disabled as standard power monitoring.

There's a telltale that Power Monitor is enabled when it should not be for your system --- Power Restored: None will be showing at the bottom of the status page instead of with a date/time, like this: Power Restored: Jun 24 2012 03:47:28
 
If you don't have internet connectivity, there is no way for your devices including your Apex to send a message. You could put your router on a UPS, along with supplying power to your controller so messages can be sent as long as the battery is operational. That's what some of us have done.
 
Back
Top