Help With Apex Code for Avast Plank Feeder

rowdyreefing

Active Member
View Badges
Joined
May 28, 2020
Messages
219
Reaction score
91
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

Valuable Member
View Badges
Joined
Jan 6, 2019
Messages
1,294
Reaction score
1,014
Location
MD
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
91
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

Valuable Member
View Badges
Joined
Jan 6, 2019
Messages
1,294
Reaction score
1,014
Location
MD
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,901
Reaction score
3,666
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

Valuable Member
View Badges
Joined
Jan 6, 2019
Messages
1,294
Reaction score
1,014
Location
MD
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
238
Reaction score
403
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
322
Reaction score
244
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
 

Akhval

Active Member
View Badges
Joined
Aug 8, 2019
Messages
255
Reaction score
97
Rating - 0%
0   0   0
Hey guys,

Just wanted to hop and ask if what I’m doing is right.

According to the below code, I’m trying to feed for 1 minute each time for 3 times a day between 10am-10pm. Does the code below look like it does that?

Thanks for the input
 

Attachments

  • IMG_1528.png
    IMG_1528.png
    137.6 KB · Views: 22

TOP 10 Trending Threads

Back
Top