Issues with my Apex Programming (Avast Plank)

cdw79

Well-Known Member
View Badges
Joined
Sep 6, 2021
Messages
656
Reaction score
404
Location
Houston, TX
Rating - 0%
0   0   0
Trying to set one of my outlets on my apex control board to go on for 1 minute, three times a day, at 2:00 pm, 6:00 pm, and 10:00 pm. I used the OSC command to try to do this and thought I got it right, but the plank didn't start turning at 10 like it was supposed to. Any issues with the code below?

Fallback OFF
OSC 000:00/01:00/239:00 Then ON
If Time 22:01 to 13:59 Then OFF
 

Matty Ice

Active Member
View Badges
Joined
Jan 30, 2022
Messages
181
Reaction score
254
Location
Bucks County
Rating - 0%
0   0   0
I’m still fairly new at this too but maybe:

Fallback OFF
OSC 780:00/001:00/239:00 Then ON
If Time 22:01 to 13:59 Then OFF

OSC timers in this example are
  • 780:00 = 780 minutes from midnight until the first run
  • 001:00 = one minute of actual run time
  • 239:00 = 3 hours & 59 minute to delay until the next run
I took this example from:
Thread 'Neptune Apex Programming Tutorials, Part 2: Timers'
https://www.reef2reef.com/threads/neptune-apex-programming-tutorials-part-2-timers.614038/
 

aaron186

Well-Known Member
View Badges
Joined
Dec 31, 2015
Messages
621
Reaction score
207
Rating - 0%
0   0   0
Fallback OFF
OSC 000:00/002:00/118:00 Then ON
If Time 20:01 to 07:59 Then OFF

That’s my code and it works perfectly. I’m feeding more than you though.

If it’s just the 10pm feeding maybe have it go off at 10:02 instead of 10:01 and see if that fixes it? Also double check you apex clock and make sure your times are correct and synced to your actual time zone
 
Back
Top