Portal Connection Status Unreachable Address

Related to the Portal
Post Reply
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Portal Connection Status Unreachable Address

Post by Sacohen »

Ok. I got the wireless setup and after trying another USB port on my PC I was able to upload the code that the wizard created for me.

I can access the WiFi server at IPaddress:2000/wifi and it will give me control to turn on and off the relays.

My problem is when I go to the portal it shows the following....

Reef Angel wifi address: 74.161.xxx.xxx:2000
My reefangelid: Sacohen
Connection Status: Unreachable Address

Last Update: 5/16/2013 11:08:19 PM
Displaying data from: Webbanner database

The only thing that I can think of and I'm not sure how to change it was when I went thru the wizard I did not add a Portal() security key, but I did turn it on in the Portal.

The thing is if I turn it off in the portal it doesn't make a difference. It is still unreachable.

Here is my code...
#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 <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 = Port4Bit | Port5Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port4Bit | Port5Bit;
    // Ports toggled when Lights On / Off menu entry selected
    ReefAngel.LightsOnPorts = Port1Bit | Port2Bit;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit;
    // Use T1 probe as temperature and overheat functions
    ReefAngel.TempProbe = T1_PROBE;
    ReefAngel.OverheatProbe = T1_PROBE;
    // Set the Overheat temperature setting
    InternalMemory.OverheatTemp_write( 825 );


    // Ports that are always on
    ReefAngel.Relay.On( Port4 );

    ////// Place additional initialization code below here
    

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

void loop()
{
    ReefAngel.StandardLights( Port1,12,0,22,0 );
    ReefAngel.StandardLights( Port2,13,0,21,0 );
    ReefAngel.Relay.Set( Port3, !ReefAngel.Relay.Status( Port1 ) );
    ReefAngel.Relay.DelayedOn( Port5,10 );
    ////// Place your custom code below here
    

    ////// Place your custom code above here

    // This should always be the last line
    ReefAngel.Portal( "Sacohen" );
    ReefAngel.ShowInterface();
}


mudcat1
Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm

Re: Portal Connection Status Unreachable Address

Post by mudcat1 »

Steve,
Has it ever connected successfully to the portal? If so, try to unplug the Wifi cable from the bottom of the Reef Angel head unit and reconnect it. Or you can unplug the Reef Angel power cable if that is easier. I just want to cause the Wifi to restart itself.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal Connection Status Unreachable Address

Post by rimai »

Looks like port forwarding..
Did you setup port forwarding?
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Portal Connection Status Unreachable Address

Post by Sacohen »

No it has not ever connected to the portal. I just set it up tonight.
It has been restarted because I was setting up the wifi by the tank and then I gave up and unplugged everything because I don't have it all mounted and plugged in yet.

Tried to go to sleep and remembered something that I may have not done so I came back out hooked it up again and tried again.

Port forwarding is set .
I went to http://www.yougetsignal.com/tools/open-ports/ and it says port 2000 is open
pft.png
pft.png (24.37 KiB) Viewed 6062 times
and my router is set to have port 2000 go to the IP address of the RA.
router.png
router.png (52 KiB) Viewed 6059 times
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Portal Connection Status Unreachable Address

Post by Sacohen »

It seems to be working now.

Thanks for everything.

One step done.
Last edited by Sacohen on Fri May 17, 2013 5:47 pm, edited 1 time in total.
paulvisco
Posts: 53
Joined: Fri May 17, 2013 2:27 am

Re: Portal Connection Status Unreachable Address

Post by paulvisco »

I have been seeing this same thing. I have powercycled the RA and i have verified the portal settings

At first i thought it might be due to the sapce in my username so i created this account to test againt and that does not seem to be the problem..

when i clcik on the address that it presents i do get my RA web page...

so the host is in deed reachable
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal Connection Status Unreachable Address

Post by rimai »

Does you banner update correctly?
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Portal Connection Status Unreachable Address

Post by Sacohen »

I'm still having problems with mine.
The portal says ready, but it is not showing the Sump Temp some times.
Also my banner has not updated since around 11:30 this morning.

Look at the banner below. It still says last updated 5/17/2013 11:27:59 AM and the sump temp is not showing up which I just connected when I got home tonight.
paulvisco
Posts: 53
Joined: Fri May 17, 2013 2:27 am

Re: Portal Connection Status Unreachable Address

Post by paulvisco »

i can not insert the link in this account (low post count i assume) but when looking at the portal and web banners it updates only every now and again..

it has been over an hour since the last update
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal Connection Status Unreachable Address

Post by rimai »

Sacohen wrote:I'm still having problems with mine.
The portal says ready, but it is not showing the Sump Temp some times.
Also my banner has not updated since around 11:30 this morning.

Look at the banner below. It still says last updated 5/17/2013 11:27:59 AM and the sump temp is not showing up which I just connected when I got home tonight.
I think it is because you setup a portal key. Did you also change your code to match the portal key?
If not, try disabling the key.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal Connection Status Unreachable Address

Post by rimai »

paulvisco wrote:i can not insert the link in this account (low post count i assume) but when looking at the portal and web banners it updates only every now and again..

it has been over an hour since the last update
I'm looking at the log and it seems to be updating fine since yesterday night... Did you do anything different?
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Portal Connection Status Unreachable Address

Post by Sacohen »

Yeah that did it.
I need to update the code to have the security key in it.

I thought I tried that, but maybe I didn't give it enough time to update.
paulvisco
Posts: 53
Joined: Fri May 17, 2013 2:27 am

Re: Portal Connection Status Unreachable Address

Post by paulvisco »

rimai wrote:
paulvisco wrote:i can not insert the link in this account (low post count i assume) but when looking at the portal and web banners it updates only every now and again..

it has been over an hour since the last update
I'm looking at the log and it seems to be updating fine since yesterday night... Did you do anything different?
nope, but it looks like it is updating.. although i still can not get the live data just the webbanner data


Reef Angel wifi address: XXX.XXX.XXX.41:2000
My reefangelid: paulvisco
Connection Status: Unreachable Address
Last Update: Saturday, May 18, 2013 7:45:00 PM
Displaying data from: Webbanner database

Connection status has not changed but like i said when i click on the IP address it takes me to my RA web..
Image
Post Reply