Naughty Apex Code?

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

spsick

Valuable Member
View Badges
Joined
Feb 17, 2018
Messages
2,283
Reaction score
2,786
Location
Mpls, MN
Rating - 100%
2   0   0
Ok not sure what I’m doing wrong here but set some code to drip Kalk overnight and the outlet stays on past 1. This is on a confirmed working outlet that I’m repurposing. It is #4 on a EB8.

Set OFF
Fallback OFF
IF TIME 21:00 to 01:00 then ON
If pH >8.5 then OFF
 
I think it should work as is but maybe try:

Set OFF
Fallback OFF
IF TIME 21:00 to 23:59 then ON
IF TIME 0:00 to 1:00 then ON
If pH >8.5 then OFF

Also make sure your hardware time is correct (on the dashboard not fusion). Mine slowly goes out of sync and I have to fix it randomly. For instance my lights go off at 10pm but really 10:10 because the hardware time is incorrect even though fusion has the correct time.
 
The above should work - it doesn't like to span midnight. You could also do to the oppoiste:

Set ON
Fallback OFF
IF TIME 1:00 to 21:00 then OFF
If pH >8.5 then OFF
 
I think it should work as is but maybe try:

Set OFF
Fallback OFF
IF TIME 21:00 to 23:59 then ON
IF TIME 0:00 to 1:00 then ON
If pH >8.5 then OFF

Also make sure your hardware time is correct (on the dashboard not fusion). Mine slowly goes out of sync and I have to fix it randomly. For instance my lights go off at 10pm but really 10:10 because the hardware time is incorrect even though fusion has the correct time.

DOH! Good shout on the time!

Apex time is an hour behind local time (daylight saving time) and I found it on at 1:30 local time and shut it off manually thinking my code was bad.
 

TOP 10 Trending Threads

IF YOU WERE CHOOSING YOUR MAIN REEF TANK TODAY, WHAT SIZE WOULD YOU PICK COMPARED WITH YOUR CURRENT

  • Much smaller

    Votes: 2 2.6%
  • A little smaller

    Votes: 0 0.0%
  • About the same

    Votes: 6 7.9%
  • A little larger

    Votes: 23 30.3%
  • Much larger

    Votes: 25 32.9%
  • About the same volume, but different dimensions

    Votes: 9 11.8%
  • I’d keep this one and add a second tank

    Votes: 8 10.5%
  • I don’t have a reef tank yet

    Votes: 0 0.0%
  • Other (Post in the comments)

    Votes: 3 3.9%
Back
Top
Home
Post thread…
Market
What's new