Wait Random - Never Cancel


#1

I am having trouble adding a second “Wait Random” as now that I have two, the timers will cancel and reset to something different. I am trying to have the timer remain the same even if the other timer goes off.

I have two pumps on my aquarium. The first one starts on Line 53 and the second one on Line 82. I am trying to have each pump randomly cycle on and off between 1 hour past sunrise and 3 hours after sunset. The problem is that when one runs, the other timer reset. I’m not sure where to make the change so each timer keeps its setting even if the other timer starts or finishes.


#2

Probably best to separate the control of the two pumps into separate pistons unless there is a reason they have to be in the same one. If there is shared data, you can use global variables.


#3

That’s exactly what I ended up doing. Work perfectly when they are separate pistons. Thx.