linkfalcon March 30, 2015 Author Share March 30, 2015 cool thanks man Link to comment Share on other sites More sharing options...
howaboutme March 30, 2015 Share March 30, 2015 If you want to dose during a specific amount of time, you have to add custom code like this: ////DoserAlk Schedule if ((hour() > 10) && (hour() < 22)) { // Between 10am and 10pm we will disable Port 6 ReefAngel.Relay.Off(Port6); } That was my code. You can see from the comments what it does. Then you set from the portal how much/often you dose between that time. Link to comment Share on other sites More sharing options...
AlanM March 30, 2015 Share March 30, 2015 Yep, that's a good way to do it. If you want to post up what you want to have on each outlet and what will be on the ATO ports and what will be on the dimmer ports and a description of what you want them to do we can probably post the code for doing it. Also, if you want to put custom stuff on the display we can help with that too. Do you have it talking on wifi with port forwarding working on the router so the portal sees your box? ReefAngel now has their own automatic dynamic DNS service that gets updated automatically, so you don't have to have a dyndns or no-ip.com account to get in. Link to comment Share on other sites More sharing options...
linkfalcon March 31, 2015 Author Share March 31, 2015 (edited) I need to buy a wifi adapter and pick up some other things also been using the wizard to do some programming Also can u setup two heater ports or just one Also what heater are u are runing I have about 400 gallons of water Sent from my iPhone using Tapatalk Edited March 31, 2015 by linkfalcon Link to comment Share on other sites More sharing options...
Matt LeBaron March 31, 2015 Share March 31, 2015 Yeah you can setup two heater ports. I use two because of past issues with a failed heater, which is actually the original reason I got my Reef Angel in the first place. Link to comment Share on other sites More sharing options...
AlanM March 31, 2015 Share March 31, 2015 For 400 gallons it seems like you will need a decent amount of heater. My guess would be 750 W or so depending on if the sump or display is in a cooler area. Also, since you probably know each outlet does 5A, and total power on one box is 1200W, you are considering two ports for heaters, possibly on two dirrerent strips. I was looking at the same issue and decided to put my two heaters on the other side of a small solid state relay which has the power plugged directly into the wall. The reef angel port controls the SSR which switches on heaters without adding the heater power load to the relay box. Link to comment Share on other sites More sharing options...
howaboutme March 31, 2015 Share March 31, 2015 Yes, Alan's point is very important. You have to understand the total power so you're not blowing the relay out. I'd get the wifi quickly. Without it, you're a bit strapped. PM Roscos reef (Russ). He was selling a bunch of RA stuff a month or so ago. I got my wifi module from him a while ago. Link to comment Share on other sites More sharing options...
linkfalcon April 25, 2015 Author Share April 25, 2015 #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.AddStandardMenu(); // Add Standard Menu ReefAngel.Use2014Screen(); // Let's use 2014 Screen // Ports toggled in Feeding Mode ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port3Bit; ReefAngel.FeedingModePortsE[0] = 0; // Ports toggled in Water Change Mode ReefAngel.WaterChangePorts = Port1Bit | Port3Bit | Port4Bit; ReefAngel.WaterChangePortsE[0] = Port1Bit; // Ports toggled when Lights On / Off menu entry selected ReefAngel.LightsOnPorts = 0; ReefAngel.LightsOnPortsE[0] = 0; // Ports turned off when Overheat temperature exceeded ReefAngel.OverheatShutoffPorts = Port4Bit; ReefAngel.OverheatShutoffPortsE[0] = Port1Bit; // Use T1 probe as temperature and overheat functions ReefAngel.TempProbe = T1_PROBE; ReefAngel.OverheatProbe = T1_PROBE; // Set the Overheat temperature setting InternalMemory.OverheatTemp_write( 826 ); // Ports that are always on ReefAngel.Relay.On( Port2 ); ReefAngel.Relay.On( Port8 ); ReefAngel.Relay.On( Box1_Port2 ); ReefAngel.Relay.On( Box1_Port3 ); ReefAngel.Relay.On( Box1_Port4 ); ////// Place additional initialization code below here ////// Place additional initialization code above here } void loop() { ReefAngel.SingleATO( true,Port1,60,0 ); ReefAngel.Relay.DelayedOn( Port3,6 ); ReefAngel.StandardHeater( Port4,775,780 ); ReefAngel.StandardLights( Port5,13,0,21,0 ); ReefAngel.DosingPumpRepeat( Port6,0,60,60 ); ReefAngel.DosingPumpRepeat( Port7,5,60,60 ); ReefAngel.StandardHeater( Box1_Port1,775,780 ); ////// Place your custom code below here ////// Place your custom code above here // This should always be the last line ReefAngel.ShowInterface(); } what yall think Link to comment Share on other sites More sharing options...
madweazl June 21, 2016 Share June 21, 2016 (edited) I wanted to incorporate the SunLocation feature and was a bit confused as to where/how the RA is getting the data (times) for sunrise/sunset. I saw GPS mentioned in the RA forums but didnt see anything linked to GPS (or web address) in the code I was looking at. Edited June 21, 2016 by madweazl Link to comment Share on other sites More sharing options...
madweazl June 21, 2016 Share June 21, 2016 I was able to find another thread that indicates the sunrise/sunset data is in the libraries (not at home so I cant investigate what I have right now) and then I stumbled across the lunar cycle too. How quickly things escalate with the RA. With all this capability, it makes me wonder why the community is so small. Link to comment Share on other sites More sharing options...
AlanM June 24, 2016 Share June 24, 2016 Heh. You can send a PM to lnevo who posts here on the WAMAS forums and answers PMs quickly. I think he may have added some of the sunrise and moon code. Link to comment Share on other sites More sharing options...
madweazl June 25, 2016 Share June 25, 2016 We've been talking over on the Reef Angel forums. Forgot I needed to add the offset to the controller too; and here I thought I was done with the lighting bit for a while LOL. Link to comment Share on other sites More sharing options...
lnevo June 30, 2016 Share June 30, 2016 The moon implementation is pretty easy. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now