thanks Curt for your help
I tried what you suggested and a few other things... I still have problems conecting to RA2 in the APP but I belive the issue coule be linked to the APP or to the code I am using ( using old libraries (1.06) as this is not an RA plus
conclusions are:
Wifi is working ok I think, Iam able to open
http://192.168.1.15:2000/ but for
http://192.168.1.15:2000/wifi i get "please wait while loading"
I trid switching RA1 and RA2 wifi adapters and issue is not the wifi.... I can always connect to RA1 in teh APP regardless of wifi adapter used
I created another user for RA2 in the portal and I can conect to my RA2 in the portal... I can also connect to my RA1 with my initial user
I pasted the code in case some one can find anything odd in it ....
#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
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit | Port6Bit | Port7Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 840 );
// Ports that are always on
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
ReefAngel.Relay.On( Box1_Port5 );
ReefAngel.Relay.On( Box1_Port6 );
ReefAngel.Relay.On( Box1_Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,5,0,17,0 );
ReefAngel.StandardLights( Port2,6,0,17,0 );
ReefAngel.StandardLights( Port3,9,0,14,0 );
ReefAngel.StandardLights( Port4,5,0,17,0 );
ReefAngel.StandardLights( Box1_Port1,8,0,18,0 );
ReefAngel.StandardLights( Box1_Port2,7,0,19,0 );
ReefAngel.StandardLights( Box1_Port3,10,0,15,30 );
ReefAngel.StandardLights( Box1_Port4,10,0,15,30 );
ReefAngel.PWM.SetDaylight( PWMSlope(5,0,17,0,20,90,180,20) );
ReefAngel.PWM.SetActinic( PWMSlope(5,0,17,0,0,0,180,0) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Acoca" );
ReefAngel.ShowInterface();
}