Oh, my current work around is to set the minute box to zero and just manually turn the pump back on once the macro is complete.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You should not specify * as minute right? If you do so, reef-pi will try to switch on the equipment every minute at 0, 2, 4, 6 hours (after two hours). This is likely to cause memory leak :-/ .@Ranjib I ran through several different tests this weekend and have narrowed it down to the minute dialog box in the timer that is the issue. I have the timer set to activate “At every minute past every 2nd hour.” then turn off after 3600 seconds. The Cron looks like this.
Day of Month: * Hour */2 Minute: * Second: 0
I have entered several different values int he minute field from 0/1 or 0/5 and just * it does not matter what value I put in whether to make it turn on every minute or every five minutes it always comes back on after one minute passes. This happens when the timer is both enabled and disabled.
You should not specify * as minute right? If you do so, reef-pi will try to switch on the equipment every minute at 0, 2, 4, 6 hours (after two hours). This is likely to cause memory leak :-/ .
@Ranjib there is actually a method to my madness. lol The timer, when setup this way actually works flawlessly and has so since the beginning with no memory issues. Since disabling the GUI my memory stays between 4 and 6.
So I have gyres on each side of my tank. The goal was to have them flip flop back and forth every hour. So left runs for an hour, then right runs for an hour, and back and forth. The issue is that since there are two working in an alternating schedule, for a feeding routine they both need to be turned off, but since either one could be running at any given time I cant specify which one needs to be turned back on in the timer. I can either turn them both off and wait an hour for the timer to resume or turn them both back on and wait an hour for one to turn off when the timer kicks back in. One way I get no flow for an hour the other way I get a sand storm. Thats why the every minute was added to the Cron rule. Since timers do not remember the last state they where in when turned off I set it to come on every minute. This way I can use a macro to turn of the gyre, turn off the timer, wait 3 minutes, turn the timer back on then the currently active (either left or right) gyre comes back on within one minute resuming where it left off.
The issue is, that if I delete and re create the timer I can disable it either manually or via a macro and it stays off like its supposed too. Once I turn the timer back on the gyre comes back on within one minute. Everything work perfect. When I come back later in the day it no longer works and I can not turn off my gyres without either deleting the timer or turning the power off. Disabling or running a macro against the timer turns them off initially and timer says disabled but the equipment reactivates within one minute. Removing the every command (*, 0/1, 0/whatever) from the minute box allows for the equipment to be turned off.
I got the idea from @Michael Lane where he explained Cron rules to me here. https://www.reef2reef.com/threads/r...-on-raspberry-pi.289256/page-345#post-5285964
You can duplicate the problem by creating the below rules to flip flop an outlet. Disable the timer, then go to the equipment tab and turn off the equipment it should stay off since the timer is disabled. Once the you enable the timer it should automatically come back on after a minute. Mine is sporadic and Generally when newly created works fine. But after an hour or two I can disable the timer, go to the equipment tab and turn off the currently running outlet and will come back on even if the timer is disabled.
I always have methods to my madness too. Problem is I either forget them or commingle different methods on different projects!
*/2
This is epicOk, so I said there was a method to my madness @crusso1993 lol @Ranjib I have done some more testing over several hours and it seems that the issue was the wild card statement for every second hour in the hour dialog boxI did double check and it is proper Cron syntax so I am not sure why this was causing issues with disabling the timer.Code:*/2
Putting in hard times like you suggested ie.. 1,2,3,4,5,6, etc. but leaving it at every minute seems to have fixed my issue of the timer not disabling when set to disable. I let the timer cycle a few times and so far it is working like it should turning the pump on every minute after each designated hour.
If I disable the timer the pump stays off when turned off.
Likewise when the timer is enabled the correct pump based on the time of the day comes back on after 1 minute when turned off in the equipment tab.
I tried keeping my 3600 second turn off interval in there first to avoid have to create 3 more turn off timers and it worked so I left it like it is. If it gives me issues I will try your other suggestion and create turn off timers. But right now its working so for now the timers look like this.
So I cannot have all of these power heads on at once without blasting my tank which is the reasoning behind having them on timers. The challenge was creating a feeding macro that disabled them and then turned them back on in the same state they where in before turning them off The lower left powerhead is a very low pulse that is really only in place to keep detritus from building up behind my rocks and getting flow to some of the dead spots. So here is a detailed run down of how my feeding macro should work.
Turn off return
Turn off Skimmer
Turn off All powerhead timers
Turn off all powerheads
3 minutes of no flow for slower moving fish to eat and generate feeding response in LPS
lower powerhead comes on (creates a gentle rocking motion in the water so LPS can catch food now that feeding response has happened)
3 minutes more minutes of fish and coral feeding
Turn on left and right power head timers (whichever powerhead timer is in its current cycle based on time of day comes on)
1 minute of high flow kicking up food for my fish that like to chase
Turn off lower powerhead
Turn on lower power head timer (it is in sync with the left power head so may or may not be on based on time of day)
Turn on return
Wait 120 seconds for water level in sump to stabalize
Turn on skimmer
It looks like this
Ok, so I said there was a method to my madness @crusso1993 lol @Ranjib I have done some more testing over several hours and it seems that the issue was the wild card statement for every second hour in the hour dialog boxI did double check and it is proper Cron syntax so I am not sure why this was causing issues with disabling the timer.Code:*/2
Putting in hard times like you suggested ie.. 1,2,3,4,5,6, etc. but leaving it at every minute seems to have fixed my issue of the timer not disabling when set to disable. I let the timer cycle a few times and so far it is working like it should turning the pump on every minute after each designated hour.
If I disable the timer the pump stays off when turned off.
Likewise when the timer is enabled the correct pump based on the time of the day comes back on after 1 minute when turned off in the equipment tab.
I tried keeping my 3600 second turn off interval in there first to avoid have to create 3 more turn off timers and it worked so I left it like it is. If it gives me issues I will try your other suggestion and create turn off timers. But right now its working so for now the timers look like this.
So I cannot have all of these power heads on at once without blasting my tank which is the reasoning behind having them on timers. The challenge was creating a feeding macro that disabled them and then turned them back on in the same state they where in before turning them off The lower left powerhead is a very low pulse that is really only in place to keep detritus from building up behind my rocks and getting flow to some of the dead spots. So here is a detailed run down of how my feeding macro should work.
Turn off return
Turn off Skimmer
Turn off All powerhead timers
Turn off all powerheads
3 minutes of no flow for slower moving fish to eat and generate feeding response in LPS
Lower powerhead comes on (creates a gentle rocking motion in the water so LPS can catch food now that feeding response has happened)
3 more minutes of fish and coral feeding
Turn on left and right power head timers (whichever powerhead is in its current cycle based on time of day comes on)
1 minute of high flow kicking up food for my fish that like to chase
Turn off lower powerhead
Turn on lower power head timer (it is in sync with the left power head so may or may not be on based on time of day)
Turn on return
Wait 120 seconds for water level in sump to stabalize
Turn on skimmer
It looks like this
w00tAnd it is working!
Moving on....
Time to tweak my lights. I did a ton of research yesterday on blackbox settings, recommended ramping, and light schedules. I have always ran my lights Blue 65% for 10 hours and whites 45% for 8 hours. This has always served me fairly well but the few that I had seemed to do fair at near the very top of the tank but never encrusted at the bottom and are always reaching towards the light. So with that said I feel like I may be a little low on the required PAR output. For the ocean revive lights it seems that there is a common agreement that the combined percentage of blue and white should be between 120-140. For instance if I am running 65/45 add the two together and I get 110. Some of the most successful SPS tanks with OR lights I have seen are running closer "30/100" or "40/90" or 130. It also seems that general consensus is that full intense lighting really is only needed for about 6 hours.
My initial ramping settings where pretty close to equal to an on off schedule in regards to amount of light received but corals where getting full intensity lighting for 8 hours.
I modeled my new lighting schedule after the recommended settings for the SBreef lights that just happen to have full light for 6 hours with 3 hour ramp up and down periods for blue and whites have more of a ramp to a peak then back down for 8 hours. They also have a recommended 40/75 white/blue ratio. Since they are a more powerful light that the OR lights I think I can adjust that to an eventual 45/85 for my purposes.
I just adjusted my lights with a ration of 40/60 and a shorter photoperiod. My lights technically turn on at 10% the red dots indicate where the relays are set to turn the lights on. I will leave it like this for about a week then start ramping up blue to an eventual 80-85% peak. @Diamond1 I would love your input or anyone else following for that matter. I am always nervous messing with lights! I dont "think" I should see much reaction from corals since I'm only reducing photo period and not reducing intensity. Thoughts?
If I understand this correctly' you were at 65/45 for 10h/8h and are now at 40/60 for less time. However, according to the timer schedule you provided, it appears that that your new light schedule is 40/60 at 12h/8h which is not less time. So, I am a little confused. I do like the idea of providing more blue for a longer period time and I believe you will see better coral growth as you ramp to the 80% power.
Although the DIY bug in my brain is screaming at me to swap some LED's around ;Wacky
Not gonna lie, I made a face looking at that break. Hope it's all sorted out now.So ****** right now lol it’s the outside bone on my right foot.