Naughty Apex Code?

spsick

Valuable Member
View Badges
Joined
Feb 17, 2018
Messages
2,263
Reaction score
2,738
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
 

shwareefer

Valuable Member
View Badges
Joined
Jun 29, 2020
Messages
1,196
Reaction score
1,254
Location
The Shwa of course!
Rating - 0%
0   0   0
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.
 

Zayne

Community Member
View Badges
Joined
Mar 20, 2020
Messages
42
Reaction score
15
Rating - 0%
0   0   0
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
 
OP
OP
spsick

spsick

Valuable Member
View Badges
Joined
Feb 17, 2018
Messages
2,263
Reaction score
2,738
Location
Mpls, MN
Rating - 100%
2   0   0
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

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

    Votes: 7 6.7%
  • Increase white light/hours in tank to spur algae growth to feed CUC

    Votes: 6 5.7%
  • Feed nori to support CUC

    Votes: 36 34.3%
  • Feed herbivore pellets to support CUC

    Votes: 36 34.3%
  • Allow attrition to balance CUC and algae

    Votes: 45 42.9%
  • Provide macro algae to feed CUC

    Votes: 6 5.7%
  • Introduce CUC predators

    Votes: 1 1.0%
  • Other (please explain)

    Votes: 11 10.5%
Back
Top