Need help with RA+ and wifi attachment

Post Reply
bece13
Posts: 26
Joined: Wed Jan 16, 2013 7:44 am
Location: Kitchener, ON, Canada

Need help with RA+ and wifi attachment

Post by bece13 »

I've been out of the hobby for few years and I'm trying to revive my RA+ with WiFi attachment without success.
It looks like lots of things have changed. I tried to read posts on the forum but lots of them are old and not valid anymore.

Background: I have the RA+ with the WiFi attachment (no cloud wifi), expansion hub , 1 expansion relay box and dimming expansion.
I don't have any PC's or androids. I have only Macs and iPhones. I worked in IT for many years.

This is what I did so far:
I updated the WiFi attachment using CoolTerm. I'm getting slow green blink.
I updated RA+ using Uapp v4 wizard.
I can see the RA+ in my router.
Port 2000 is open in my router and forwarded to RA+IP
Going to "http://RA+IP" I get "Reef Angel Controller Web Server"
Going to "http://RA+IP/wifi" I get a blank page.
Going to Uapp -> I see Cloud Status: Connected, Last updated: Never, Current mode: Normal
Going to Uapp -> Relay I only see Main Box (no expansion relay box) and can't do anything.
Going to Uapp -> Setting I see Controllers: bece13 cloud active, Cloud modules not found (I don't have Cloud WiFi)

What am I doing wrong?
Should I still be able to access my RA+ on "http://RA+IP/wifi" instead of getting a blank page?
Can I still access RA+ directly on my local network?

Any help will be much appreciated.
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

So it looks like you did everything correctly, the issue was on my end. It set you as a Cloud User, which it shouldn't have. If you delete your Controller in the Uapp and resign in you should be able to see your data now.
Sincerely, Brennyn
bece13
Posts: 26
Joined: Wed Jan 16, 2013 7:44 am
Location: Kitchener, ON, Canada

Re: Need help with RA+ and wifi attachment

Post by bece13 »

Working now from my Mac. Thanks
Should I still be to acces my RA+ on my internal network without going to internet (like going to "http://RA+IP/wifi")
Do you accept multiple connections at the same time?
I tried to go from my iPhone using wireless date and trying to connect to Uapp from the forum page (logged in on forum) and asks me to add controller and when I do that it says failed login and noe I believe I have to many tries.
Am I doing something wrong?
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

Yes you can log into as many different devices there is no limit. If you enter your username and password wrong to many times wrong in a row withing 5 minutes it will block you from attempting to log in for 30 minutes I believe.

You can still use your Internal IP for http commands as well, its just not supported in the web version of the Uapp. Once the IOS and Android app versions are approved you will be able to do add the internal IP of your Reef Angel and communicate directly from the Uapp.
Sincerely, Brennyn
bece13
Posts: 26
Joined: Wed Jan 16, 2013 7:44 am
Location: Kitchener, ON, Canada

Re: Need help with RA+ and wifi attachment

Post by bece13 »

Thanks for your help. Much appreciated.
User avatar
akom6
Posts: 4
Joined: Tue May 31, 2011 2:33 pm

Re: Need help with RA+ and wifi attachment

Post by akom6 »

I have the same problem
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

Let me check, give me just a few minutes and I'll get it fixed.
Sincerely, Brennyn
User avatar
akom6
Posts: 4
Joined: Tue May 31, 2011 2:33 pm

Re: Need help with RA+ and wifi attachment

Post by akom6 »

Thank you
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

It should be fixed now, delete your controller from the Uapp, then readd it.
Sincerely, Brennyn
User avatar
akom6
Posts: 4
Joined: Tue May 31, 2011 2:33 pm

Re: Need help with RA+ and wifi attachment

Post by akom6 »

Yes, it started working, thank you very much
bece13
Posts: 26
Joined: Wed Jan 16, 2013 7:44 am
Location: Kitchener, ON, Canada

Re: Need help with RA+ and wifi attachment

Post by bece13 »

Can the Ra+ with wifi attachement be accessed directly from my internal network when there is no internet?
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

Not with the current webapp version of the Uapp. The Android and iOS version it's possible but they have not been approved for the app store just yet.
Sincerely, Brennyn
darragh
Posts: 4
Joined: Wed May 30, 2018 7:59 pm
Location: London Ontario Canada

Re: Need help with RA+ and wifi attachment

Post by darragh »

I seem to be getting the exact same issues. I have done all the updates to both the wifi attachment and RA+ as directed. Port forwarding has been confirmed. Yet, I am still unable to connect.
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

Can you paste your code, i don't see any data from your controller.
Sincerely, Brennyn
darragh
Posts: 4
Joined: Wed May 30, 2018 7:59 pm
Location: London Ontario Canada

Re: Need help with RA+ and wifi attachment

Post by darragh »

Thanks Brennyn for the quick reply.

I am using RA+ with an original WIFI attachment. The WIFI attachment has been updated using Tera Term 5 with the edited .ttl file (no space in ssid or pass). I am getting a slow green blinking and I can connect on local WIFI using the old RA status app. Also can connect to "Reef Angel Controller Web Server" on my browser using RA+ ip and port 2000. Confirmed in router that RA+ is connected status and port forwarded to 2000.

I have attached the updated code I uploaded to the RA+ via the Uapp Wizard.

In the Uapp I see: Cloud Status: Connected, Last Updated: Never, Current Mode: Normal

Code: Select all

#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 | Port3Bit | Port5Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port1Bit | Port3Bit | Port5Bit;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = Port1Bit;
    // 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( 830 );
    ////// Place additional initialization code below here

    ////// Place additional initialization code above here
}

void loop()
{

    ReefAngel.StandardHeater( T1_PROBE, Port1, 787, 797 );
    ReefAngel.StandardATO( Port3, 40 );
    ReefAngel.Relay.DelayedOn( Port5, 20 );

    ////// Place your custom code below here

    ////// Place your custom code above here
    ReefAngel.Portal( "darragh" );
    // This should always be the last line
    ReefAngel.ShowInterface();
}

////// Place your custom functions below here

////// Place your custom functions above here



// RA_STRING1=vdc/ZF8a77NtrnfhEVq/Zw==::NTdkYmJkMzM0ODdmMmE0NA==
// RA_STRING2=
// RA_STRING3=
// RA_LABEL LABEL_PORT1=Heater
// RA_LABEL LABEL_PORT3=ATO
// RA_LABEL LABEL_PORT5=skimmer

// WIZARD_CONFIG_JSON={"board":"plus","tempUnit":"fahrenheit","overHeatTemp":"83","overHeatTempProbe":"T1","wifiAttachment":true,"dimmingData":{"standardDimming":[{"number":1,"name":"Daylight","waveform":"none","settings":{"startTime":"","startPercent":"","duration":"","endTime":"","endPercent":""}},{"number":2,"name":"Actinic","waveform":"none","settings":{"startTime":"","startPercent":"","duration":"","endTime":"","endPercent":""}}]},"mainRelayPorts":[{"function":"heater","settings":{"dosingOffset":"0","heaterProbe":"T1","turnOn":"78.7","turnOff":"79.7","feedingOverride":true,"waterChangeOverride":true,"overHeatOverride":true}},{"function":"notused","settings":{"dosingOffset":"0"}},{"function":"topoff","settings":{"dosingOffset":"0","atoType":"standardato","timeout":"40","feedingOverride":true,"waterChangeOverride":true}},{"function":"notused","settings":{"dosingOffset":"0"}},{"function":"delayed","settings":{"dosingOffset":"0","delay":"20","feedingOverride":true,"waterChangeOverride":true}},{"function":"notused","settings":{"dosingOffset":"0"}},{"function":"notused","settings":{"dosingOffset":"0"}},{"function":"notused","settings":{"dosingOffset":"0"}}],"labels":{"LABEL_PORT1":"Heater","LABEL_PORT3":"ATO","LABEL_PORT5":"skimmer"}}
 
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

I think everything you have is working, but I wonder if you Wifi Attachment didn't update correctly and its sending the data to the old server. Can you try updating it again?
Wifi Attachement Firmware: /firmware/updatewifi.zip
Sincerely, Brennyn
darragh
Posts: 4
Joined: Wed May 30, 2018 7:59 pm
Location: London Ontario Canada

Re: Need help with RA+ and wifi attachment

Post by darragh »

You are right! I have been pulling out what remains of my hair.

Looks like I needed to change the baud rate. I ran it without and it seems to be loading and running through the update without changing the baud... I was wrong. All works PERFECT.
Cant thank you enough!!! In love with my RA again.
User avatar
brennyn21
Posts: 173
Joined: Mon Nov 23, 2020 5:40 pm

Re: Need help with RA+ and wifi attachment

Post by brennyn21 »

Awesome, I am glad you got it working!
Sincerely, Brennyn
Post Reply