What is the Reef Angel Portal?

Related to the Portal

Posts: 12188
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Feb 12, 2012 8:17 pm
The Reef Angel Portal is a web portal where you can check the latest parameters of your tank, turn relays on/off, initiate feeding or water change mode, set email alerts and generate charts and relay activity charts.
On one simple to use and easy to read webpage, you will have your controller at your figertips evern if you are away from home on a vacation!!

Requirements:
  • Wifi attachment
  • Development libraries v0.9.0 or higher
  • Port forwarding on your router (optional if you want to turn relays on/off or initiate commands)

How to access the Portal?

To access it, simply be a member of this forum and click on the Portal link.
portal.jpg
portal.jpg (13.04 KiB) Viewed 7070 times


If you are not logged in, you will get a generic portal that is meant as a demo for all anonymous users. Once you are logged in, you will start seeing your own data.

How to send your data to the Portal?

With the release of the new RAGen, you will have an option to enable sending data to the Portal.
RAGen-Portal.jpg
RAGen-Portal.jpg (22.36 KiB) Viewed 7054 times


To configure, click the button "Configure" and type your forum username on the username field.
Click the "Ok" button.
RAGen-Portal-Configuration.jpg
RAGen-Portal-Configuration.jpg (31.15 KiB) Viewed 7054 times


When your code is generated, it will have the necessary code to start sending data to the Reef Angel Portal.

If you prefer to manually add the code, simply add this line to the loop() section of your code:
Code: Select all
ReefAngel.Portal("username");

Just replace the username with your forum username.

Database vs Live mode:
There are 2 modes the portal can work on.
  • Database
  • Live

Database Mode
In Database mode, you don't need to change anything. This is the default mode of the Portal.
The data showed on your dashboard is coming from the server database.
Database-Mode.jpg
Database-Mode.jpg (20.36 KiB) Viewed 7044 times


Live Mode
In Live Mode, the data showed on your dashboard is live data coming from your controller and is updated frequently.
Live-Mode.jpg
Live-Mode.jpg (21.38 KiB) Viewed 7044 times


You will need to update the Reef Angel Wifi Address on your user control panel by clicking the update link.
The Reef Angel Wifi Address can be an IP address or a domain name.
Reef-Angel-Wifi-Address.jpg
Reef-Angel-Wifi-Address.jpg (16.1 KiB) Viewed 7044 times

The IP address needs to be your external IP address. For more information on your external IP address, please visit http://www.whatismyip.com
The domain name can be any dynamic domain name. For more information on dynamic domain, please visit http://www.dyndns.info
You will also need to setup your router with port forwarding. For more information on port forwarding, please visit http://portforward.com/
Roberto.

Posts: 12188
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Apr 07, 2012 11:37 am
I'd like to add that I've changed the server to automatically pick up your external IP address everytime your controller sends data to the server.
What does it mean?
It means you no longer need to find out which external ip address you are using and you no longer need a dynamic domain name service.
If you update the Reef Angel Wifi Address to a blank field (delete everything in the field), the server will automatically populate it next time your Reef Angel controller sends data.
Roberto.
User avatar
Posts: 2721
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sat Apr 07, 2012 12:29 pm
rimai wrote:I'd like to add that I've changed the server to automatically pick up your external IP address everytime your controller sends data to the server.
What does it mean?
It means you no longer need to find out which external ip address you are using and you no longer need a dynamic domain name service.
If you update the Reef Angel Wifi Address to a blank field (delete everything in the field), the server will automatically populate it next time your Reef Angel controller sends data.

That's pretty slick. :)

Return to Portal

Who is online

Users browsing this forum: No registered users and 1 guest

cron