Page 1 of 1
cloud wifi
Posted: Sat Nov 03, 2018 12:36 pm
by yellowtang
hi just wondering if the cloud wifi works with a reef angel plus controller.
Re: cloud wifi
Posted: Sat Nov 03, 2018 4:35 pm
by rimai
Yes. That is what intended for, since RA* already has ethernet with cloud capability.
Re: cloud wifi
Posted: Sun Nov 04, 2018 12:49 pm
by yellowtang
ok for the reef angel + controller how do you get access from outside your home network just not receiving anything when i leave the house.
Re: cloud wifi
Posted: Sun Nov 04, 2018 3:03 pm
by rimai
Are you using web based uapp?
Link:
http://forum.reefangel.com/uapp
Re: cloud wifi
Posted: Sun Nov 04, 2018 4:11 pm
by yellowtang
yes but no data
Re: cloud wifi
Posted: Sun Nov 04, 2018 4:16 pm
by rimai
Did you setup with no IP address and port? Just username and password?
Re: cloud wifi
Posted: Sun Nov 04, 2018 5:37 pm
by rimai
I don't even see data sent to the server under this username.
Are you sure you are using the cloud wifi attachment and it is connected to the internet?
Re: cloud wifi
Posted: Sun Nov 04, 2018 5:47 pm
by yellowtang
yes cloud WiFi attachment on my router hub it is showing connected? use to have old WiFi attachment worked like a charm, but eventually broke wife got a new router and everything gone down hill from there.
Re: cloud wifi
Posted: Sun Nov 04, 2018 7:27 pm
by rimai
Can I see the code you loaded on your controller?
Re: cloud wifi
Posted: Mon Nov 05, 2018 2:22 am
by yellowtang
#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
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 270 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardFan( T1_PROBE,Port4,256,261 );
ReefAngel.StandardHeater( T1_PROBE,Port5,245,252 );
ReefAngel.PWM.SetDaylight( PWMSlope( 9,0,17,0,15,70,60,0 ) );
ReefAngel.PWM.SetActinic( PWMSlope( 9,0,17,0,15,70,60,0 ) );
////// Place your custom code below here
////// Place your custom code above here
ReefAngel.CloudPortal();
// This should always be the last line
ReefAngel.ShowInterface();
}
// RA_STRING1=U2FsdGVkX1+Yt5FRRs7SPB8gt9oLTN55xtYBbF871xw=
// RA_STRING2=U2FsdGVkX1/bqOD7CNdeldRn+yiy3J1BLxZeEI7g2S8=
// RA_STRING3=SKY5AAFE
// RA_LABEL LABEL_ACTINIC=Actinic
// RA_LABEL LABEL_DAYLIGHT=Daylight
Re: cloud wifi
Posted: Mon Nov 05, 2018 10:29 am
by rimai
That code looks good.
What is the color of the led on the cloud wifi attachment?
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:10 pm
by yellowtang
magenta
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:14 pm
by rimai
Blink magenta= Connecting to cloud server
That indicates that the username and/or password is most likely wrong.
Make sure you enter the the username and password correctly when setting up the unit. Both fields are case sensitive.
You should get a solid cyan when it is connected to the cloud server.
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:35 pm
by yellowtang
is it the user name and password for the reef angel forum
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:39 pm
by rimai
yes
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:48 pm
by yellowtang
done that nothing happens just says connecting and when you refresh says disconnected. just don't think its going to work some how, filled top three lines in on uapp and get data but soon as you go outside nothing.
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:49 pm
by yellowtang
if i fill just cloud server lines in get nothing only connecting
Re: cloud wifi
Posted: Mon Nov 05, 2018 12:58 pm
by rimai
I am talking about the cloud wifi attachment setup and not the uapp setup.
Re: cloud wifi
Posted: Mon Nov 05, 2018 1:30 pm
by yellowtang
is there anyway of re doing it
Re: cloud wifi
Posted: Mon Nov 05, 2018 1:33 pm
by rimai
Yes.
https://www.dropbox.com/s/zpifv3to1fc5w ... 1.pdf?dl=0
Please check the reset to factory on the manual.
Re: cloud wifi
Posted: Mon Nov 05, 2018 2:13 pm
by yellowtang
did the factory re-set went green like it said the led gone off altogether? great.
Re: cloud wifi
Posted: Mon Nov 05, 2018 2:32 pm
by rimai
Hummm.
Not sure what happened.
Can you connect it to your USB-TTL cable, open Arduino and go to Tools->Serial Monitor.
Make sure you have set at 57600 baud.
Then, open the unit and locate the debug and master button.
Press debug and hold. Then press master and release both.
You should get something on the monitor.
Re: cloud wifi
Posted: Mon Nov 05, 2018 4:50 pm
by yellowtang
yes got some thing on screen
Re: cloud wifi
Posted: Mon Nov 05, 2018 4:51 pm
by rimai
What do you mean?
Did it work?
Re: cloud wifi
Posted: Mon Nov 05, 2018 4:54 pm
by yellowtang
the led is very faint looks red
Re: cloud wifi
Posted: Mon Nov 05, 2018 5:28 pm
by rimai
What does the serial monitor say?