Page 1 of 1

My progress so far!!

Posted: Sun Mar 23, 2014 6:30 pm
by heatdissipation
My work schedule is killing me right now and I haven't got to play around as much as I would like with my reef angel. Right now I have it controlling mostly everything I need, I have it running two wp60's and two wp40's off the dimming expansion. I still haven't found the rock solid code I want for them though. They are all running in reefcrest and working as they should. I've found multiple code for random programs throughout the day and found the code for nutrient transport after feeding, but I need some help making the code work for my setup.

Dimming expansion 0- wp40 on left back side of my tank

Dimming expansion 1- wp60 left front.

Dimming expansion 2- wp40 right front

Dimming expansion 3- wp60 right back

I have channel 0 and 1 in sync and 2 and 3 in anti sync.

What is a good code for those to be random patterns through out the day with a night mode with say 30%.

And nutrient transport after feeding ends.

After I have all this worked out I have that 16 channel pwm expansion to work on for my lights. I haven't even got a chance to do anything with it yet.

Re: My progress so far!!

Posted: Sun Mar 23, 2014 6:32 pm
by heatdissipation
And it is killing me asking for help. I like to be able to figure this stuff out myself but I can't seem to get out of work lately.

Re: My progress so far!!

Posted: Tue Mar 25, 2014 5:54 pm
by heatdissipation
This is what I have done so far, I have decided to just stay with Reefcrest as my default setting and incorporate a night mode and a NTM mode after feeding
The night mode works that I have, but the NTM mode doesnt, am I really far off base from getting the NTM mode to work, or am I missing something simple?

Code: Select all

    ////// Place your custom code below here
    
    // Night mode. 30%
    
 if (hour()<6 || hour()>=22) {
 ReefAngel.DCPump.UseMemory=false; 
ReefAngel.DCPump.Mode=Constant; 
ReefAngel.DCPump.Speed=30;
 }
  //Nutrient transport mode after feeding
     static unsigned long feeding;
    if (ReefAngel.DisplayedMenu==FEEDING_MODE)
    {
    feeding = now();
    ReefAngel.DCPump.SetMode( Constant,30,10 ); 
    }
    else if (now()-feeding<=9000)
    { 
    ReefAngel.DCPump.SetMode( NutrientTransport,100,30 );
    
    } else {
ReefAngel.DCPump.Mode=ReefCrest;
}

Re: My progress so far!!

Posted: Tue Mar 25, 2014 6:53 pm
by lnevo
Make sure you are setting UseMemory=False when your overriding like you do in the night mode function