Reef Portal connection

Related to the Portal
Post Reply
grafspee1217
Posts: 84
Joined: Sun Mar 11, 2012 10:38 am

Reef Portal connection

Post by grafspee1217 »

To use the Reef Portal I will assume you need the wifi adapter. Do you require a computer to always be on or does the controller update the portal?
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Reef Portal connection

Post by binder »

The controller can update the controller for you automatically.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

It's TCP port 2000
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

Did you setup port forwarding on your router?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

Make sure you use the same ports for external and internal.
It's best to open just port 2000, so you should have 2000-2000 on both external and internal
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

Hi, I cant get the portal running. This is what I did:

- Configured the .ino file vía RAgen with line ReefAngel.Portal("danielsn","xxx")
- Set the Reef Angel Wifi Address: BLANK
- Try (I´m not sure if this part is OK) to "port forward" my router as in the pic:


Any help will be appreciated


Thanks!!
Attachments
Router.jpg
Router.jpg (62.22 KiB) Viewed 8042 times
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

I've seen before where the server failed to collect the ip address for some reason and I was unable to find out why. I actually didn't have time to investigaste further.
Does the Portal show up your Reef Angel wifi address correctly? It should be at the top right corner and it should show your wan ip address.
You can find your wan ip address at www.whatismyip.com
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

Hi Roberto,

The portal shows:
Reef Angel wifi address: (update)
My reefangelid: danielsn
Connection Status: Unreachable Address
Last Update: viernes, 06 de abril de 2012 16:35:42
Displaying data from: Webbanner database

The IP is different every time: 190.30.50.156 ... 181.1.173.108 ... etc
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

I can't see any data coming from you on the server.
Can you make sure you did upload a code with the Portal() function in your code?
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

Hi Roberto, this is what I haveat the end:

// The only code after this line should be the ShowInterface function
ReefAngel.Portal("danielsn", "xxx");

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

Thanks for your help
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

If you have that, it can only be the wifi attachment missing some setting.
When you setup your wifi attachment, did you use the same application on this thread?
http://forum.reefangel.com/viewtopic.php?f=15&t=345
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

Yes, I used that , but the the wifi only works if the Security Mode on the router is disabled . Do you think that this could be related?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Portal connection

Post by rimai »

Does the utility give you an ip address?
What happens when you browse to that ip address?
It should be something like this:
http://192.168.0.100:2000
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

Hi Roberto, which utility are you talking about?

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

Re: Reef Portal connection

Post by rimai »

http://forum.reefangel.com/viewtopic.php?f=15&t=345
It should have given you an ip address.
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

The IP given is 192.168.2.3:2000
When I put it on the browser it shows the "Reef Angel Controller Web Server" legend, and adding /wifi I get the parameter readings. This is working ok, and also the Client, I can see the graphs and the paramaters.
The only thing that is not working is the Portal (and teh fact thta the Security Mode of the router has to be "disabled" to make this things work)

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

Re: Reef Portal connection

Post by rimai »

I'm curious to know what mode it says on the utility.
Can you find that out?
It's the line just above the ip address.
Roberto.
danielsn
Posts: 26
Joined: Tue Apr 03, 2012 11:49 am

Re: Reef Portal connection

Post by danielsn »

The Mode is not shown:
Attachments
WIFI6-4-12.jpg
WIFI6-4-12.jpg (41.49 KiB) Viewed 3057 times
Post Reply