Possible? Alert if power has not been drawn in X

  • Thread starter Thread starter LadyTang2
  • Start date Start date
  • Tagged users Tagged users None

LadyTang2

Well-Known Member
View Badges
Joined
Aug 21, 2019
Messages
743
Reaction score
341
What state or country do you live in
New Hampshire
Rating - 0%
0   0   0
Regarding something that does NOT continuously draw power, like an ATO that comes of from time to time, is it possible with the apex to be notified/turn off an outlet if power has not been drawn in say 24 hours? I looked in other threads and it looked like you could be alerted if power goes out on something thats always supposed to be on but this is a little different in that its only on once and a while and I just want something like - send alert if not drawn any power (0 power) in 24 hours. Possible?
 
This will require the device to be powered by an EB832 output since only the EB832 provides per-output power monitoring.

The big difficulty is that the longest possible timer on the Apex is 999:59 minutes (16 hours, 39 minutes, 59 seconds), so in order to get an alert after 24 hours, you'd need to link multiple virtual outputs and could be challenging.

Here's how to do it with the 999:59 timer, assuming the ATO is plugged into an EB832 output named ATO. I used the threshold of 2 watts in case the device still draws a tiny bit of power when not running.

[ATO_OFF] -- virtual output for timer
Set OFF
If Output ATO Watts < 2 Then ON
Defer 999:59 Then ON

[EmailAlm]
Set OFF
If Output ATO_OFF = ON Then ON

See my tutorials for more details on the techniques used in this example:

Apex Timers: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
Power Monitoring: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-4-power-monitoring.698/
Virtual Outputs: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-5-virtual-outputs.703/
Apex Alarms: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-6-alarms.707/
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 53 75.7%
  • Free or reduced shipping

    Votes: 13 18.6%
  • A useful bundle of gear or supplies

    Votes: 3 4.3%
  • A good price on livestock I’ve already researched

    Votes: 16 22.9%
  • A rare chance to get something hard to find

    Votes: 15 21.4%
  • A seller or brand I trust

    Votes: 14 20.0%
  • I buy when I need something, sale or not

    Votes: 13 18.6%
  • Other (Post in the comments)

    Votes: 2 2.9%
Back
Top
Home
Post thread…
Market
What's new