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,272
Reaction score
2,752
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.
 

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 50 54.9%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 41 45.1%
Back
Top
Home
Post thread…
Market
What's new