OSC Code for Kalk Stirrer

CoralNerd

Valuable Member
View Badges
Joined
Aug 19, 2014
Messages
1,475
Reaction score
1,039
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,928
Reaction score
7,130
Location
Peoria, AZ.
Rating - 0%
0   0   0
1708620301462.png
 

SpyC

Valuable Member
View Badges
Joined
Jan 6, 2019
Messages
1,294
Reaction score
1,014
Location
MD
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,475
Reaction score
1,039
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
4,297
Reaction score
8,677
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.
 

TOP 10 Trending Threads

WHICH OF THESE CREEPY REEF CRITTERS IS MOST LIKELY TO GIVE YOU NIGHTMARES? (PICTURED IN THE THREAD)

  • The Bobbit Worm

    Votes: 47 65.3%
  • The Goblin Shark

    Votes: 4 5.6%
  • The Sea Wolf

    Votes: 0 0.0%
  • Giant Spider Crabs

    Votes: 1 1.4%
  • The Stargazer Fish

    Votes: 5 6.9%
  • The Giant Isopod

    Votes: 9 12.5%
  • The Giant Squid

    Votes: 1 1.4%
  • Other (Please explain!)

    Votes: 5 6.9%
Back
Top