Avast Plank not running at consistent times with OSC commnand

eb2292

Active Member
View Badges
Joined
Nov 29, 2014
Messages
199
Reaction score
44
Location
Florida
What state or country do you live in
Florida
Rating - 0%
0   0   0
Hey all,
I just got an Avast Plank and am struggling to get the oscillation programming correct. I would like 2 feedings, 15 seconds each, 150ish minutes apart within the hours of 9am and 2pm. This is my code:

1733408341432.png



I have had this code running for over a week now and the feeder seemingly decides to turn on at random times and sometimes more times than others. Here are my time settings and a few days of logs:

1733408486286.png

1733408558931.png

1733408601678.png

1733408636104.png


Today as of 10:05am, it has not run at all yet.

Why won't it run starting at 9:00 or 9:01? Where is it getting this random offset of start time from?
 
Last edited:
You just need to change your second line so it’s turning on in increments of 60 minutes, so if you want it to run every 2 hours for 15 seconds it would be

Fallback OFF
OSC 000:00/000:15/119:45 Then ON

Every 3 hours would be
Fallback OFF
OSC 000:00/000:15/179:45 Then ON

The number of seconds it is on (15)+ the number of seconds it is off (179:45) must equal multiples of 60
In this case
15 sec + 179 minutes and 45 sec =180 minutes (3X60 minutes)

Here is my program. It feeds twice a day for 30 seconds at 12 noon and 6 PM. It turns off between 7 PM and 11:59 AM

Fallback OFF
OSC 000:00/000:30/359:30 Then ON
If Time 19:00 to 11:59 Then OFF

Does that make sense?
 
Last edited:
You just need to change your second line so it’s turning on in increments of 60 minutes, so if you want it to run every 2 hours for 15 seconds it would be

Fallback OFF
OSC 000:00/000:15/119:45 Then ON

Every 3 hours would be
Fallback OFF
OSC 000:00/000:15/179:45 Then ON

The number of seconds it is on (15)+ the number of seconds it is off (179:45) must equal multiples of 60
In this case
15 sec + 179 minutes and 45 sec =180 minutes (3X60 minutes)

Here is my program. It feeds twice a day for 30 seconds at 12 noon and 6 PM. It turns off between 7 PM and 11:59 AM

Fallback OFF
OSC 000:00/000:30/359:30 Then ON
If Time 19:00 to 11:59 Then OFF

Does that make sense?
Thanks so much for your response.

Do you mean changing

OSC 000:00/000:15/149:30 Then ON
to
OSC 000:00/000:15/149:45 Then ON ?

If so, I have tried that and it still behaves erratically running at random times and refuses to run at 9AM.

I have also tried playing with the If Time xxx Then Off commands adjusting them a few minutes each way, but same behavior.

This OSC command is a ridiculous implementation... The If Time command should just accept seconds versus only whole minutes....
 
Last edited:
No. It’s not really acting erratically. It’s a problem with what you are telling it to do.

Your original command is OSC 000:00/000:15/149:30 This will appear as erratic but in reality you are telling it to make the next feeding 2 hours 29 minutes and 45 seconds after the previous feeding forever. I think the schedule would be different each day for months! :rolling-on-the-floor-laughing:

Changing it to OSC 000:00/000:15/149:45 Then ON, helps a little but it looks like day 1 would be 1/2 hour off from day two.
So Day 1 and 3 would have the same feeding times,
Day 2 and 4 would be 1/2 hour off from days 1 and 3.

If you were to change the programming so that your feeding times were either 1 hour apart, 2 hours apart, 3 hours apart, 4 hours apart, 6 hours apart, 8 hours apart, or 12 hours apart, (they are all multiples of 24, the hours in the day) every day would be identical.

If you could tell me what you are trying to accomplish I could help you program it.
 
Last edited:

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 46 76.7%
  • Free or reduced shipping

    Votes: 9 15.0%
  • A useful bundle of gear or supplies

    Votes: 2 3.3%
  • A good price on livestock I’ve already researched

    Votes: 13 21.7%
  • A rare chance to get something hard to find

    Votes: 11 18.3%
  • A seller or brand I trust

    Votes: 11 18.3%
  • I buy when I need something, sale or not

    Votes: 12 20.0%
  • Other (Post in the comments)

    Votes: 1 1.7%
Back
Top
Home
Post thread…
Market
What's new