Help With Apex Code for Avast Plank Feeder

rowdyreefing

Active Member
View Badges
Joined
May 28, 2020
Messages
219
Reaction score
90
Location
Kentucky!\
Rating - 0%
0   0   0
Hi Guys,

I have read several of the tutorials and cannot figure out how to translate into what I am wanting to do. WIll you please advise:

I am trying to set up my feeder portion of the Avast Plank Feeder to the Apex. I set up 7:29-7:31pm just to test.
I would like 2 min feedings at 8:58am, 11:58am, and 5:58pm.
Any suggestions why the test did not work?

Fallback OFF
Set OFF
If Time 08:58 to 09:00 Then ON
If Time 11:58 to 12:00 Then ON
If Time 17:58 to 18:00 Then ON
If Time 19:29 to 19:31 Then ON
Defer 001:00 Then ON

Screenshot 2024-04-03 at 7.30.45 PM.png
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
953
Reaction score
761
Location
WV
Rating - 0%
0   0   0
Why donyou have the defer in there? Does it work with a different apex outlet? I had to move mine because the power draw wasn't enough to trip that plug.
 
OP
OP
R

rowdyreefing

Active Member
View Badges
Joined
May 28, 2020
Messages
219
Reaction score
90
Location
Kentucky!\
Rating - 0%
0   0   0
Why donyou have the defer in there? Does it work with a different apex outlet? I had to move mine because the power draw wasn't enough to trip that plug.
My Mobius turns my MP Powerhears off at the above times, so I wanted to program that way.

The sicce pump on the Avast is plugged in directly to the outlet. The feeder is plugged into the Apex.

I cannot figure out how to use the defer.
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
953
Reaction score
761
Location
WV
Rating - 0%
0   0   0
My Mobius turns my MP Powerhears off at the above times, so I wanted to program that way.

The sicce pump on the Avast is plugged in directly to the outlet. The feeder is plugged into the Apex.

I cannot figure out how to use the defer.
Defer means to wait a minute to turn on remove it. On the apex. Does the feeder turn on if you switch the outlet to on?
 

Js.Aqua.Project

Reef Addict
View Badges
Joined
Apr 29, 2016
Messages
1,785
Reaction score
3,596
Location
Ocala, FL
Rating - 0%
0   0   0
Like @SpyC is saying, the Defer command for the apex is like saying "wait for this/these condition(s) to be true for X amount of time then turn on/off".

I don't use the Avast feeder but if it takes two minutes to kick on and run it's cycle and you're trying to line up the feedings with your powerheads, then either remove the Defer command or start the cycle for the feeder one minute sooner.
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
953
Reaction score
761
Location
WV
Rating - 0%
0   0   0
If it still doesn't turn on after removing the defer, try using another outlet on the apex. I had to switch mine to outlet 4 due to such a low power draw on the feeder/hopper. Once I did this, it would start turning on at the specified times.
 

Useful_Idiot

Artificially Intelligent
View Badges
Joined
Jan 21, 2014
Messages
234
Reaction score
398
Location
Farmington CT
Rating - 0%
0   0   0
I used this from Avast's website and it works for me for 30 second feedings. I want to adjust to 60 second feedings. I think I need to change the 30 to 60 and the 119:30 to 119:00. Also I set the times to feed from 10 am to 10 pm.


Use the OSC command to create a recurring on/off cycle. If the total number of minutes:seconds is divisible by 1440 (the number of minutes in a day), the cycle will automatically repeat at midnight, and the feeder will activate at the same times each day. For example:

Fallback OFF

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

If Time 20:01 to 07:59 Then OFF


This code causes the feeder outlet to activate for 30 seconds every 120 minutes (30 seconds on, 119:30 off) between the hours of 8am and 8pm. You will get (7) 30 second feeding periods at 8am, 10am, … 8pm.


This could be modified to:


OSC 000:00/00:20/119:40 Then ON


For a 20 second feed time. The key is that the minutes:seconds adds up to a round number (120 min in this case) that evenly divides into 1440.
 

David_CO

Active Member
View Badges
Joined
Feb 15, 2022
Messages
265
Reaction score
180
Location
Colorado
Rating - 0%
0   0   0
I use 2 Apex outlets with OSC commands. My pump turns on 3 mins after the plank drops food, I noticed depending on what you have in the barrel it would get blown down then pop back up if I didnt give it a soak period.

This code runs 4x a day for 25 seconds each. pump runs for 5 mins per interval.

Plank

Fallback OFF
OSC 000:00/000:25/119:35 Then ON
If Time 19:59 to 10:59 Then OFF

Pump

Fallback OFF
OSC 003:00/005:00/112:00 Then ON
If Time 19:59 to 10:59 Then OFF
 

Keeping it clean: Have you used a filter roller?

  • I currently use a filter roller.

    Votes: 63 34.4%
  • I don’t currently use a filter roller, but I have in the past.

    Votes: 6 3.3%
  • I have never used a filter roller, but I plan to in the future.

    Votes: 48 26.2%
  • I have never used a filter roller and have no plans to in the future.

    Votes: 58 31.7%
  • Other.

    Votes: 8 4.4%
Back
Top