OSC Code for Kalk Stirrer

CoralNerd

Valuable Member
View Badges
Joined
Aug 19, 2014
Messages
1,470
Reaction score
1,034
Location
SoCal
Rating - 100%
1   0   0
I have the stirrer set to stir 30 seconds every 3 hours.
I'm trying to avoid the stirrer noise from midnight till 7am but I want to slip in a 30 sec 7am stir and I can't figure this out.

Kalk stirrer program I have now
Fallback OFF
Set OFF
If Time 03:00 to 06:05 Then OFF
OSC 000:00/000:30/179:30 Then ON
If Output KalkOSC = ON Then ON

I created a virtual outlet trying figure this out
Virtual outlet called KalkOSC
Set OFF
Fallback OFF
If Time 01:00 to 06:58 Then OFF
OSC 000:00/000:30/059:30 Then ON
If Time 07:05 to 24:00 Then OFF
 

Reefing Madness

Carbon Doser
View Badges
Joined
Oct 27, 2012
Messages
19,714
Reaction score
6,876
Location
Peoria, AZ.
Rating - 0%
0   0   0
1708620301462.png
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
990
Reaction score
785
Location
WV
Rating - 0%
0   0   0
I can't directly offer help, but it may be easier to let it stir for a minute using
If time 07:00 to 07:01 then on.
 
OP
OP
CoralNerd

CoralNerd

Valuable Member
View Badges
Joined
Aug 19, 2014
Messages
1,470
Reaction score
1,034
Location
SoCal
Rating - 100%
1   0   0
I got the answer on neptune
Screenshot_20240222_090653_Chrome.jpg
Fallback OFF
OSC 000:00/000:30/179:30 Then ON
If Time 000:00 to 06:59 Then OFF
If Output KalkOSC = ON Then ON


Now for the virtual outlet to get the extra stir at 7am. I would do it this way.

Set OFF
If Time 06:59 to 07:00 Then ON
Defer 001:30 Then ON
 

Sisterlimonpot

Effortless Perfection
View Badges
Joined
Jul 15, 2009
Messages
3,978
Reaction score
8,075
Location
Litchfield Park
Rating - 0%
0   0   0
I got the answer on neptune
Screenshot_20240222_090653_Chrome.jpg
Fallback OFF
OSC 000:00/000:30/179:30 Then ON
If Time 000:00 to 06:59 Then OFF
If Output KalkOSC = ON Then ON


Now for the virtual outlet to get the extra stir at 7am. I would do it this way.

Set OFF
If Time 06:59 to 07:00 Then ON
Defer 001:30 Then ON
That's a clever way to get 30 seconds at 0700.

I don't think you'll need a VO because the 1st section of the OSC sets the time of the hour for it to start. Having it all zeros means that it will start at X:00. And the way you have the TIME OFF statement means that it will start at 0700.

if you use his example of code with the times in the TIME OFF statement you will need a VO.

EDIT: looking closer at his code, you don't need a VO either.

The only thing you had wrong was the order, and not needing the SET OFF line.
 

Building with glass and silicone: Have you ever built a tank or had a custom tank built?

  • I have built an aquarium.

    Votes: 28 14.9%
  • I have had a custom tank built.

    Votes: 43 22.9%
  • I have never built a tank or had a custom tank built.

    Votes: 109 58.0%
  • Other.

    Votes: 8 4.3%
Back
Top