Code check, please: Apex auto feeder script

chaostactics

Valuable Member
View Badges
Joined
Jul 5, 2010
Messages
1,155
Reaction score
677
Location
Maryland
Rating - 0%
0   0   0
I want to run an Avast Plank auto feeder for 4 x 30 second feed cycles between 1200 and 2000.

Proposed code

" Fallback OFF

OSC 000:00/00:30/119:30 Then ON

If Time 20:01 to 11:59 Then OFF "


Then I should get a 30 sec feeding period at 1200, 1400, 1600, 2000 ?
 
Your 30 seconds every 2 hours is correct, but your If Time actually allows it to run 5 times:

12:00
14:00
16:00
18:00
20:00
 
I'm looking to have the Plank run for one minute every 4 hours starting at 10AM. Will this code do the trick?

Fallback OFF
OSC 000:00/001:00/119:00 Then ON
If Time 10:01 to 13:59 Then Off
If Time 14:01 to 17:59 Then OFF
If Time 18:01 to 09:59 Then OFF
 
Last edited:

TOP 10 Trending Threads

IF YOU WERE CHOOSING YOUR MAIN REEF TANK TODAY, WHAT SIZE WOULD YOU PICK COMPARED WITH YOUR CURRENT

  • Much smaller

    Votes: 1 2.1%
  • A little smaller

    Votes: 0 0.0%
  • About the same

    Votes: 1 2.1%
  • A little larger

    Votes: 16 34.0%
  • Much larger

    Votes: 19 40.4%
  • About the same volume, but different dimensions

    Votes: 5 10.6%
  • I’d keep this one and add a second tank

    Votes: 2 4.3%
  • I don’t have a reef tank yet

    Votes: 0 0.0%
  • Other (Post in the comments)

    Votes: 3 6.4%
Back
Top
Home
Post thread…
Market
What's new