Is there a default minimum for the various DCPump modes or PWM SetDaylight / SetActinic? No matter what I do it seems to start at around 30 when I am setting 40 or higher. The new Jebao successor to the RW is the PP and it seems to stop working when it is at 30 for long. I've tried a few things but no matter what I do I'm always restarting at 30 so figured I would ask.
I've tried a couple things below for example. Right now I'm just running it on Long pulse with each switching on 30 seconds. Thanks.
ReefAngel.DCPump.SetMode( Lagoon, 40, 10);
ReefAngel.PWM.SetDaylight( TidalSwellMode(45,true));
ReefAngel.PWM.SetActinic( TidalSwellMode(45,false));
Question - default(?) for TidalSwellMode or Reefcrest
Re: Question - default(?) for TidalSwellMode or Reefcrest
Add this under setup. Change the 20 to whatever you want the bottom limit to be.
--Colin
Code: Select all
ReefAngel.DCPump.Threshold=20; // Set lower limits for Jebao pumps
Re: Question - default(?) for TidalSwellMode or Reefcrest
Thanks. Wasn't aware of that option but sure I missed it somewhere. Will give that a try tonight once I get back home.cosmith71 wrote:Add this under setup. Change the 20 to whatever you want the bottom limit to be.
--ColinCode: Select all
ReefAngel.DCPump.Threshold=20; // Set lower limits for Jebao pumps
Appreciate it!
Re: Question - default(?) for TidalSwellMode or Reefcrest
Wanted to say thanks, that did the trick.
I'm wondering if there are other tips or tricks I should find. I was testing some code last night with ReefCrest and I had it set to ReefCrest, 43, 2 thinking 43 was the base speed and it would go up or down by 2 points (40 - 45). Yet when I looked at the portal it was has high as 63 and 31 low. Didn't make any sense because the DC Pump showed the proper mode, Reef Crest, and speed of 43% and duration of 2.
Thanks again for that line of code.
I'm wondering if there are other tips or tricks I should find. I was testing some code last night with ReefCrest and I had it set to ReefCrest, 43, 2 thinking 43 was the base speed and it would go up or down by 2 points (40 - 45). Yet when I looked at the portal it was has high as 63 and 31 low. Didn't make any sense because the DC Pump showed the proper mode, Reef Crest, and speed of 43% and duration of 2.
Thanks again for that line of code.
Re: Question - default(?) for TidalSwellMode or Reefcrest
You're welcome!
I'm not sure about the portal weirdness. I do know that some of the DC Pump modes were kind of shoehorned in and while they work fine, the values look strange sometimes.
--Colin
I'm not sure about the portal weirdness. I do know that some of the DC Pump modes were kind of shoehorned in and while they work fine, the values look strange sometimes.
--Colin
Re: Question - default(?) for TidalSwellMode or Reefcrest
If you use the DCPump.SetMode, it is hard coded to be 20 offset on reefcrest and 10 offset on lagoon.
If you want to have fine control over the dimming completely, you will have to manually set the channels with ReefAngel.PWM.SetDaylight and ReefAngel.PWM.SetActinic functions.
This is the relevant code in the libraries:
If you want to have fine control over the dimming completely, you will have to manually set the channels with ReefAngel.PWM.SetDaylight and ReefAngel.PWM.SetActinic functions.
This is the relevant code in the libraries:
Code: Select all
case Lagoon:
{
SyncSpeed=ReefCrestMode(DCPump.Speed,10,true);
AntiSyncSpeed=ReefCrestMode(DCPump.Speed,10,false);
break;
}
case ReefCrest:
{
SyncSpeed=ReefCrestMode(DCPump.Speed,20,true);
AntiSyncSpeed=ReefCrestMode(DCPump.Speed,20,false);
break;
}
Roberto.