*new user* Setup to control Jebao wavemaker remotely
Posted: Thu Dec 18, 2014 6:44 pm
Just received my reef angel controller this week, have it all setup, except for being able to control my jebao wavemaker with the app. I can control the speed via the dimming port. But on the IOS app, it has the option to change different settings, speeds and duration, which do not allow me to change them.
Can someone please tell me what I need to do to enable this. I apologize if this is such a newbie question.
I have read on the forum as much as I could make out, but unable to determine exactly what I need to do. Good news is this is the only thing I have left to have the controller the way I want it.... for now at least.
Thanks for any help you guys can offer.
Can someone please tell me what I need to do to enable this. I apologize if this is such a newbie question.
I have read on the forum as much as I could make out, but unable to determine exactly what I need to do. Good news is this is the only thing I have left to have the controller the way I want it.... for now at least.
Thanks for any help you guys can offer.
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <PAR.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port3Bit | Port4Bit | Port6Bit | Port7Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 850 );
// Feeeding and Water Change mode speed
ReefAngel.DCPump.FeedingSpeed=0;
ReefAngel.DCPump.WaterChangeSpeed=0;
// Ports that are always on
ReefAngel.Relay.On( Port3 );
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
// Define labels for 2014 LCD screen
ReefAngel.CustomLabels[0]="Metal Halide";
ReefAngel.CustomLabels[1]="Heater";
ReefAngel.CustomLabels[2]="Return";
ReefAngel.CustomLabels[3]="BP Reactor";
ReefAngel.CustomLabels[4]="Skimmer";
ReefAngel.CustomLabels[5]="JBJ ATO";
ReefAngel.CustomLabels[6]="Wavemaker";
ReefAngel.CustomLabels[7]="Moon Light";
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.MHLights( Port1,15,0,0,0,10 );
ReefAngel.StandardHeater( Port2,780,785 );
ReefAngel.Relay.Set( Port8, !ReefAngel.Relay.Status( Port1 ) );
ReefAngel.PWM.SetDaylight( PWMSlope(8,0,1,0,15,100,120,15) );
ReefAngel.DCPump.UseMemory = true;
ReefAngel.DCPump.SetMode( Else,50,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = None;
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "SlimyEel" );
ReefAngel.ShowInterface();
}