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,293
Reaction score
2,797
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.
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 46 76.7%
  • Free or reduced shipping

    Votes: 9 15.0%
  • A useful bundle of gear or supplies

    Votes: 2 3.3%
  • A good price on livestock I’ve already researched

    Votes: 13 21.7%
  • A rare chance to get something hard to find

    Votes: 11 18.3%
  • A seller or brand I trust

    Votes: 11 18.3%
  • I buy when I need something, sale or not

    Votes: 12 20.0%
  • Other (Post in the comments)

    Votes: 1 1.7%
Back
Top
Home
Post thread…
Market
What's new