WaveMaker not functioning
WaveMaker not functioning
I generated code using RAGen and added my moonlights and a 2 minute delay on port 3. Ports 5 and 6 are for Wavemaker1 and Wavemaker 2. I fired up ReefAngel Client (v2.2) and changed wavemaker 1 & 2 from 0 to 10, but ports 5 & 6 are still always on.
_____
Jim
Jim
Re: WaveMaker not functioning
My pde:
// Autogenerated file by RAGen (v1.1.0.126), (10/29/2011 06:54)
// RA_102911_Final.pde
// 02 Nov 2011: Incorporated my manual changes into the generated version
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this PDE File:
#define DisplayLEDPWM
#define wifi
#define WDT
#define SIMPLE_MENU
*/
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Authentication does not work with ReefAngel Client at the moment
// WifiAuthentication("xxx:YYYYYY");
ReefAngel.FeedingModePorts = B11111100;
ReefAngel.WaterChangePorts = B11111111;
ReefAngel.OverheatShutoffPorts = B00000011;
ReefAngel.LightsOnPorts = B00000011;
// Set Actinic and Daylight (moonlight ports) off by default
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
// Ports that are always on
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.MHLights(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.Relay.DelayedOn(Port3, 2); // Tunze here - wait 2 min before pwr on
ReefAngel.StandardFan(Port4);
ReefAngel.Wavemaker1(Port5);
ReefAngel.Wavemaker2(Port6);
ReefAngel.StandardHeater(Port7);
if ( hour() <= 5 || hour () >= 20 ) // Moonlights on from 8PM to 6AM
{
ReefAngel.PWM.SetActinic(MoonPhase());
ReefAngel.PWM.SetDaylight(MoonPhase());
}
else
{
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
}
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.1.0.126), (10/29/2011 06:54)
// RA_102911_Final.pde
// 02 Nov 2011: Incorporated my manual changes into the generated version
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this PDE File:
#define DisplayLEDPWM
#define wifi
#define WDT
#define SIMPLE_MENU
*/
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Authentication does not work with ReefAngel Client at the moment
// WifiAuthentication("xxx:YYYYYY");
ReefAngel.FeedingModePorts = B11111100;
ReefAngel.WaterChangePorts = B11111111;
ReefAngel.OverheatShutoffPorts = B00000011;
ReefAngel.LightsOnPorts = B00000011;
// Set Actinic and Daylight (moonlight ports) off by default
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
// Ports that are always on
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.MHLights(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.Relay.DelayedOn(Port3, 2); // Tunze here - wait 2 min before pwr on
ReefAngel.StandardFan(Port4);
ReefAngel.Wavemaker1(Port5);
ReefAngel.Wavemaker2(Port6);
ReefAngel.StandardHeater(Port7);
if ( hour() <= 5 || hour () >= 20 ) // Moonlights on from 8PM to 6AM
{
ReefAngel.PWM.SetActinic(MoonPhase());
ReefAngel.PWM.SetDaylight(MoonPhase());
}
else
{
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
}
ReefAngel.ShowInterface();
}
_____
Jim
Jim
Re: WaveMaker not functioning
I just loaded the code and it works fine for me...
I had to reboot the controller after I made the changes with Client though.
I had to reboot the controller after I made the changes with Client though.
Roberto.
Re: WaveMaker not functioning
After power cycling the controller, it also works for me. Does this mean that all changes made to memory using ReafAngel Client require a power cycle of the controller?rimai wrote:I just loaded the code and it works fine for me...
I had to reboot the controller after I made the changes with Client though.
_____
Jim
Jim
Re: WaveMaker not functioning
no they shouldn't. they get loaded immediately however with your cases of them being 0 to start with may have required a reboot. i'm not exactly sure though without testing it or looking more at the code.jemw wrote:After power cycling the controller, it also works for me. Does this mean that all changes made to memory using ReafAngel Client require a power cycle of the controller?rimai wrote:I just loaded the code and it works fine for me...
I had to reboot the controller after I made the changes with Client though.
curt
Re: WaveMaker not functioning
After setting to 10 seconds and testing for timing, I went back and adjusted to 20 seconds. Allowed two minutes after making the change to observe the change did not happen. Again for the change to take place required a power cycle.binder wrote:no they shouldn't. they get loaded immediately however with your cases of them being 0 to start with may have required a reboot. i'm not exactly sure though without testing it or looking more at the code.jemw wrote:After power cycling the controller, it also works for me. Does this mean that all changes made to memory using ReafAngel Client require a power cycle of the controller?rimai wrote:I just loaded the code and it works fine for me...
I had to reboot the controller after I made the changes with Client though.
curt
_____
Jim
Jim
Re: WaveMaker not functioning
What version of the libraries are you running?
curt
curt
Re: WaveMaker not functioning
Dev Lib Version: 0.8.5.19binder wrote:What version of the libraries are you running?
curt
_____
Jim
Jim