COUPLE QUICK QUESTIONS
Posted: Wed Dec 12, 2012 1:33 pm
I have just a few questions for anyone who may know the answer or can help. thanks in advance
1. Can I do an overheat clear from the portal online or from my phone app while im away from home to get my
halides to come back on without having to manually clear it at home on the controller itself?
2. Im currently not using my 2 float switchs that came with my RA but would like to use them just as a means to monitor my water level if it get to low and that the water level is staying put. So I would like to utlize them as monitors is all. Anyhow can somone give me the code that I need to input into mine and weres about to place the code. thanks
my current code example:
void DrawCustomGraph()
{
}
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port6Bit;
// 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 = Port1Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 825 );
ReefAngel.Init();
ReefAngel.AddWifi();
// Ports that are always on
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.MHLights( Port1,13,0,19,0,15 );
if ( hour() >=20 || hour() < 5)
ReefAngel.DosingPumpRepeat( Port2,0,60,240 );
else
ReefAngel.Relay.Off( Port2 );
if ( hour() >=9 && hour() <18)
ReefAngel.DosingPumpRepeat( Port3,0,60,240 );
else
ReefAngel.Relay.Off( Port3 );
ReefAngel.StandardFan( Port4,785,789 );
ReefAngel.StandardHeater( Port5,780,783 );
if (( hour()==10 && minute()<15) || (hour()==13 && minute()<15))
ReefAngel.Relay.Off (Port6);
else
ReefAngel.Relay.On (Port6);
ReefAngel.StandardLights( Port7,17,0,10,0 );
ReefAngel.MHLights( Port8,13,0,19,0,15 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "iceman330824" );
ReefAngel.ShowInterface();
}
1. Can I do an overheat clear from the portal online or from my phone app while im away from home to get my
halides to come back on without having to manually clear it at home on the controller itself?
2. Im currently not using my 2 float switchs that came with my RA but would like to use them just as a means to monitor my water level if it get to low and that the water level is staying put. So I would like to utlize them as monitors is all. Anyhow can somone give me the code that I need to input into mine and weres about to place the code. thanks
my current code example:
void DrawCustomGraph()
{
}
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port6Bit;
// 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 = Port1Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 825 );
ReefAngel.Init();
ReefAngel.AddWifi();
// Ports that are always on
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.MHLights( Port1,13,0,19,0,15 );
if ( hour() >=20 || hour() < 5)
ReefAngel.DosingPumpRepeat( Port2,0,60,240 );
else
ReefAngel.Relay.Off( Port2 );
if ( hour() >=9 && hour() <18)
ReefAngel.DosingPumpRepeat( Port3,0,60,240 );
else
ReefAngel.Relay.Off( Port3 );
ReefAngel.StandardFan( Port4,785,789 );
ReefAngel.StandardHeater( Port5,780,783 );
if (( hour()==10 && minute()<15) || (hour()==13 && minute()<15))
ReefAngel.Relay.Off (Port6);
else
ReefAngel.Relay.On (Port6);
ReefAngel.StandardLights( Port7,17,0,10,0 );
ReefAngel.MHLights( Port8,13,0,19,0,15 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "iceman330824" );
ReefAngel.ShowInterface();
}