how do i do timed osc commands? thanks!

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Reefpharmer

Active Member
View Badges
Joined
Dec 19, 2013
Messages
265
Reaction score
163
Location
Los angeles
Rating - 0%
0   0   0
hey guys, basically im trying to run my kalk pump for 2 mins every hour from 00:00 to 12:00 and 1 minute every hour from 12:01 to 23:59...
would this work?

fallback off
if time 00:00 to 12:00 then on
osc 000/002/059
if time 12:00 to 23:59 then on
osc 000/001/059
if pH > 8.4 then off
 
That won't work properly. The OSC command is only used once per set of instructions.

See next post to solve this with virtual outlets.
 
Last edited:
Set up two virtual outlets. First one would be:


Fallback OFF
OSC 000/002/058 Then ON
If Time 12:00 to 23:59 Then OFF

And the second:

Fallback OFF
OSC 000/001/059 Then ON
If Time 00:00 to 11:59 Then OFF

Then the pump code would be:

Fallback OFF
Set OFF
If Output VOutlet1 = ON Then ON
If Output VOutlet2 = ON Then ON
If pH > 8.4 Then OFF
 
Last edited:
Totally makes sense except when I go to profiles to make a new profile, the pump profiles are in seconds and I cannot make the off timer more thank 255 seconds (trying to enter 59(mins)*60 seconds or 3540 seconds...

Am I missing something ?

5F1C4FDA-1E08-4285-AA4A-966230903BE3.jpeg
 
Yeah my mistake, I forgot those were in seconds. The second method I posted is the correct way. Going to remove that first post now!
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top