Ignore Power Usage During Certain Times? - Apex

Averhoeven

Active Member
View Badges
Joined
Jun 8, 2018
Messages
394
Reaction score
193
Location
Morgantown
What state or country do you live in
West Virginia
Rating - 0%
0   0   0
I currently have power monitoring set up for all my devices. However, my Vortechs go into a mode where their power usage is apparently different than the rest of the modes only at a certain time of day. I want to monitor them, but perhaps just ignore them for the 2 hours every evening that they do this. I assume this would have to be through a Virtual Output? Would I simply program for the wattage to trigger the virtual output to on if outside the parameters I want, but then put an If time is between certain hours then off at the end? Or is there a better way to do this?

Thanks
 
Yes, a virtual output would be the way to go. Here’s an example:

[Power_Alert] — virtual output
Set OFF
If Output Vortech Watts > 50 Then ON
If Time 18:00 To 20:00 Then OFF

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

See my Apex Programming Tutorial series for more details and examples. I have topics on Virtual Outputs, Power Monitoring, and Alarms. https://www.reef2reef.com/threads/neptune-apex-programming-tutorials.700483/
 
Thanks, I was actually using your tutorials the other day to update my code. I had never realized the alert priority etc and realized that my leak sensors were not my highest priority (oh, but they are!) So thanks for those and thanks for the input.

Here's the code I wrote:
Virtual Output VortechPower
Set OFF
If Output VortechL Watts > 40 Then ON
If Output VortechL Watts < 3 Then ON
If Output VortechR Watts > 40 Then ON
If Output VortechR Watts < 3 Then ON
If Time 18:55 to 21:35 Then OFF

And then a simple If Outlet VortechPower = On then On in the alarm email.

Thanks
 

WHAT KIND OF SUBSTRATE ARE YOU RUNNING ON YOUR TANK?

  • Bare bottom

    Votes: 5 20.8%
  • A shallow bed of fine sand

    Votes: 6 25.0%
  • A shallow bed of coarser sand

    Votes: 5 20.8%
  • A deep sand bed

    Votes: 3 12.5%
  • Mixed substrate or varying sand depth

    Votes: 5 20.8%
  • Some other substrate (posted in the comments)

    Votes: 0 0.0%
  • I don’t have a reef tank yet

    Votes: 0 0.0%
Back
Top
Home
Post thread…
Market
What's new