cloud wifi

Post Reply
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

cloud wifi

Post by yellowtang »

hi just wondering if the cloud wifi works with a reef angel plus controller.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

Yes. That is what intended for, since RA* already has ethernet with cloud capability.
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post 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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

Are you using web based uapp?
Link: http://forum.reefangel.com/uapp
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

yes but no data
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

Did you setup with no IP address and port? Just username and password?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post 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?
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post 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.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

Can I see the code you loaded on your controller?
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

That code looks good.
What is the color of the led on the cloud wifi attachment?
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

magenta
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post 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.
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

is it the user name and password for the reef angel forum
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

yes
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post 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.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

if i fill just cloud server lines in get nothing only connecting
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

I am talking about the cloud wifi attachment setup and not the uapp setup.
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

is there anyway of re doing it
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

Yes.
https://www.dropbox.com/s/zpifv3to1fc5w ... 1.pdf?dl=0
Please check the reset to factory on the manual.
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

did the factory re-set went green like it said the led gone off altogether? great.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post 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.
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

yes got some thing on screen
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

What do you mean?
Did it work?
Roberto.
yellowtang
Posts: 15
Joined: Tue Apr 29, 2014 4:47 am

Re: cloud wifi

Post by yellowtang »

the led is very faint looks red
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: cloud wifi

Post by rimai »

What does the serial monitor say?
Roberto.
Post Reply