Apex programming run pump together then speratly possible?

Superlightman

Valuable Member
View Badges
Joined
Apr 9, 2020
Messages
1,002
Reaction score
244
Rating - 0%
0   0   0
Hello,
On my aquarium I have all my 4 pumps on one aquarium side . 2 are in the front and two are in the back.
I have two on 1 apex outlet, two on another.
I wanted to run the back and the front side alternatively, to create a circle flow first from the left and then from the right.
I was able to do this and every five minutes the back stop and the front side pumps starts. That is great!

But a few times per day I would like that they work all same time together to great a more strong chaotic flow a few times. How can I incorporat that in my program, is this even possible for exempe from 8 to 9 alternate flow right left every 5 minutes, then a 9, 10 minutes all pumps on then go back to the alternate program?
I hope I express myself good enough to be unterstand.
 

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
1,895
Reaction score
1,850
Location
CT
Rating - 0%
0   0   0
can you give me an example, i'm not so good in Apex programming
No expert myself but I think I'd try something like this..

Fallback ON
Set ON
IF Time 00:00 Then OFF
Defer 010:00 Then ON
If Time 00:00 Then OFF
Defer 005:00 Then ON

Edit the if times to when you want it off and the defer time amount would be the amount of time it is off. After the defer it should fall back to on. Repeat these lines for 24 hour period (add up the minutes)
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
955
Reaction score
770
Location
WV
Rating - 0%
0   0   0
I would use the osc command and have the on/off cycles set differently so they will randomly sync up for a more random flow.

 
OP
OP
Superlightman

Superlightman

Valuable Member
View Badges
Joined
Apr 9, 2020
Messages
1,002
Reaction score
244
Rating - 0%
0   0   0
I would use the osc command and have the on/off cycles set differently so they will randomly sync up for a more random flow.

the problem is not to start and turn them off but to synchronize them
 

SpyC

Well-Known Member
View Badges
Joined
Jan 6, 2019
Messages
955
Reaction score
770
Location
WV
Rating - 0%
0   0   0
the problem is not to start and turn them off but to synchronize them
They will randomly synchronize if you have the on/off periods for each pair set to different periods. Say 5 mins on then five minutes off for one pair. Then the other is 7 minutes on and 7 minutes off. They will randomly synchronize and randomly desynch.
 

Stuck to your aquarium: Do you put reef-related stickers on or around your reef system?

  • I have reef-related stickers everywhere!

    Votes: 5 2.8%
  • I have some reef-related stickers on or around my reef system.

    Votes: 51 28.5%
  • I have some reef-related stickers, but not on my reef system.

    Votes: 38 21.2%
  • I don’t have reef-related stickers, but I am interested in getting some.

    Votes: 21 11.7%
  • I have no interest in reef-related stickers.

    Votes: 62 34.6%
  • Other.

    Votes: 2 1.1%
Back
Top