Page 1 of 1
Internal memory in portal isnt updating my system.
Posted: Sun Oct 20, 2013 12:06 pm
by Dctrojan
The internal memory control on portal seems to be not working. Ive been trying to change the light setting through portal and it doesnt give a error, just a few windows pop up. They say on the top just the url to reef angel and under that it says:
mb263,64
then when you click ok it all goes away and nothing changes.
Portal does allow me to change turn off and on my relays though, im very confused.
Re: Internal memory in portal isnt updating my system.
Posted: Sun Oct 20, 2013 12:23 pm
by Dctrojan
This is the code the wizard generates except for the WavemakerRandom1 which I added to randomize the circulation pumps I have. It seems to make them work even though the wizard didn't have the option to select this under wave makers
Re: Internal memory in portal isnt updating my system.
Posted: Sun Oct 20, 2013 1:28 pm
by rimai
I don't see the code
Re: Internal memory in portal isnt updating my system.
Posted: Sun Oct 20, 2013 1:46 pm
by Dctrojan
#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 <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
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit | Port6Bit | Port7Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port5Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | Port4Bit | Port7Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Ports that are always on
ReefAngel.Relay.On( Port1 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.MoonLights( Port2 );
ReefAngel.DayLights( Port3 );
ReefAngel.ActinicLights( Port4 );
ReefAngel.WavemakerRandom1( Port5,20,60 );
ReefAngel.WavemakerRandom2( Port6,25,65 );
ReefAngel.Relay.Set( Port7, !ReefAngel.Relay.Status( Port3 ) );
ReefAngel.StandardHeater( Port8 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Dctrojan" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 11, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 11, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// pH Expansion
ReefAngel.LCD.DrawText( COLOR_MEDIUMSEAGREEN,DefaultBGColor,15,48, "PHE:" );
ReefAngel.LCD.DrawSingleMonitor( ReefAngel.Params.PHExp,COLOR_MEDIUMSEAGREEN,39,48, 100 );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 65, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
}
Re: Internal memory in portal isnt updating my system.
Posted: Sun Oct 20, 2013 3:26 pm
by rimai
Refresh the page to reload the js file and try again.
Re: Internal memory in portal isnt updating my system.
Posted: Mon Oct 21, 2013 2:28 pm
by New2novas
i'm having the same problem, say the portal is displaying tidal swell but i had requested long pulse in the wizard and it is in fact doing the long pulse routine, nothing i change in the portal has effect
Re: Internal memory in portal isnt updating my system.
Posted: Mon Oct 21, 2013 2:37 pm
by rimai
@new2novas:
Did you go with the internal memory settings?
Re: Internal memory in portal isnt updating my system.
Posted: Mon Oct 21, 2013 2:42 pm
by Dctrojan
All i did was refresh the code and reapply it to the controller and its working now.
Re: Internal memory in portal isnt updating my system.
Posted: Mon Oct 21, 2013 8:12 pm
by New2novas
Sorry to hijack but....im not sure what you mean, are you referring to where it asks if I want to store the code? What's weird is it worked a couple days ago but not the past few
Re: Internal memory in portal isnt updating my system.
Posted: Mon Oct 21, 2013 8:32 pm
by rimai
When you generate your code with the wizard, you can choose to save setting in the code, which is recommended for beginners until you are more familiar with the controller and internal memory, which is what the Portal will use to change settings.
You must choose internal memory settings choice if you want to change setting with the Portal.
Re: Internal memory in portal isnt updating my system.
Posted: Wed Oct 23, 2013 2:42 pm
by New2novas
That did it....as always thanks