Let's try the wizard code and see what happens.
You can change the time to end in something like 10 minutes from now to see what you get.
This way we don't need to wait until the end of the day.
Like this:
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.AddStandardMenu(); // Add Standard Menu
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 869 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.PWM.SetDaylight( PWMParabola(9,0,20,0,12,100,12) );
ReefAngel.PWM.SetActinic( PWMParabola(9,0,13,15,12,100,12) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Btw, where did the 12 come from...have you tried putting 0 instead? The 12 is the min dim if your drivers flicker at lower percent..i dont know if that would be an issue with the kessil
Roberto, It was pleasure talking to you this evening and thank you for trying to figure this controller out. Unfortunately, I have discouraging news. AP: 0 DP: 0 and the lights are still on, all be it, very dim.
What next? should I plug them back into my timer for the night.
I think we will need to do what others do too.
We need to turn the ports on the relay box off so you get no power on the Kessils.
You are using it on port1 and port2 correct?
Use this in your code: