sorry for jump in.
My relay activity on the portal shows "no data" and the dashboard doesnt show any activity too. unless i change to auto.
as far as i understood i have to set the RA to send data to it ,right??? or the client suit?. Once my client suit is not working properly by the expansion relay communication version (waiting the new 3.0), i may have to set the controller to send it.
this is my banner :
http://forum.reefangel.com/status/banne ... ?id=Junior Dabul&t=10 this is my banner code
how should be and where to place the code to send the data???
I will try this one below but its something wrong. its doesnt verify on Arduino. i havent upload yet.
#include <avr/pgmspace.h>
prog_char id_label[] PROGMEM = "junior";
prog_char probe1_label[] PROGMEM = "Water";
prog_char probe2_label[] PROGMEM = "Room";
prog_char probe3_label[] PROGMEM = "light";
prog_char relay1_label[] PROGMEM = "ATO";
prog_char relay2_label[] PROGMEM = "Actinic & Daylight";
prog_char relay3_label[] PROGMEM = "Moonlight";
prog_char relay4_label[] PROGMEM = "Chiller";
prog_char relay5_label[] PROGMEM = "Wavemaker 1";
prog_char relay6_label[] PROGMEM = "Wavemaker 1";
prog_char relay7_label[] PROGMEM = "Heater";
prog_char relay8_label[] PROGMEM = "Return";
#ifdef RelayExp
#if InstalledRelayExpansionModules >= 1
prog_char relay11_label[] PROGMEM = "Sump Light";
prog_char relay12_label[] PROGMEM = "UV light";
prog_char relay13_label[] PROGMEM = "Skimmer";
prog_char relay14_label[] PROGMEM = "Wavemaker 3";
prog_char relay15_label[] PROGMEM = "Phos Reactor";
prog_char relay16_label[] PROGMEM = "Carbon Reactor";
prog_char relay17_label[] PROGMEM = "Dosing Pump";
prog_char relay18_label[] PROGMEM = "Always On";
#endif // InstalledRelayExpansionModules >= 1
#endif // RelayExp
PROGMEM const char *webbanner_items[] = {
id_label, probe1_label, probe2_label, probe3_label,
relay1_label, relay2_label, relay3_label, relay4_label,
relay5_label, relay6_label, relay7_label, relay8_label,
#ifdef RelayExp
#if InstalledRelayExpansionModules >= 1
relay11_label, relay12_label, relay13_label, relay14_label,
relay15_label, relay16_label, relay17_label, relay18_label,
#endif // InstalledRelayExpansionModules >= 1
#endif // RelayExp
};
void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.LoadWebBanner(pgm_read_word(&(webbanner_items[0])), SIZE(webbanner_items));
// Initialize and start the timer
ReefAngel.Timer[4].SetInterval(120); // set interval to 180 seconds
ReefAngel.Timer[4].Start();
ReefAngel.SetTemperatureUnit(1); // set to Celsius Temperature
// Ports that are always on
ReefAngel.Relay.On(Port8);
ReefAngel.Relay.On(Box1_Port2);
ReefAngel.Relay.On(Box1_Port1); //UV Lights
ReefAngel.Relay.On(Box1_Port3); //Skimmer
ReefAngel.Relay.On(Box1_Port4); //GFO Reactor
ReefAngel.Relay.On(Box1_Port5); //Carbon Reactor
ReefAngel.Relay.On(Box1_Port8); //Always On
}
void loop()
{
// Specific functions
ReefAngel.StandardATO(Port1,60); //Setup Port1 as Auto Top-Off function with 60s timeout
ReefAngel.StandardLights(Port2,9,00,17,00); //Actinic and Daylights schedule 9:00am - 5:00pm
ReefAngel.StandardLights(Port3,22,30,5,0); //Moonlight schedule 10:30pm - 5:00am
ReefAngel.StandardFan(Port4,250,246); // Setup Chiller to turn on at 25.0C and off at 24.6C
ReefAngel.Wavemaker(Port5,300);
ReefAngel.Wavemaker(Port6,300);
ReefAngel.StandardHeater(Port7,242,250); // Setup Heater to turn on at 24.2C and off at 25.0C
ReefAngel.StandardLights(Box1_Port2,22,30,14,30); //Refugium schedule 10:30pm - 2:30pm
ReefAngel.Wavemaker(Box1_Port6,60); //Wavemaker on 60sec cycle
ReefAngel.DosingPump1(Box1_Port7); //DosingPump1
ReefAngel.Portal("juniordabul", "XXXXXXX");
ReefAngel.ShowInterface();
if ( ReefAngel.Timer[4].IsTriggered() )
{
ReefAngel.Timer[4].Start();
ReefAngel.WebBanner();
}
}
that is the error:
alteracoes_17apr.cpp.o: In function `loop':
C:\Users\JUNIOR~1\AppData\Local\Temp\build9090624217643483980.tmp/alteracoes_17apr.cpp:114: undefined reference to `ReefAngelClass::WebBanner()'