portal not current?
Posted: Thu Mar 08, 2012 9:16 pm
Do I need to refresh it somehow each time I visit?
Community discussion about Reef Angel Controllers and reefing related subjects
https://forum.reefangel.com/
I did set it when I entered the code, but i do not think the "portal settings" is recognizing it. And when I enter it the password shows up. I think I am missing something. If there is a tutorial or link send me there and if I cant figure it out I will ask again.rimai wrote:No, no need to refresh.
If you setup the security, the server just ignores whever you try to send data without the key.
It's done automatically on the server.
An easy way to test is to setup your Portal() function on your INO code without the key.
You will see that the portal won't log anything on the webchart nor relay activity nor webbanners.
Code: Select all
ReefAngel.Portal("miked","securekey");
ReefAngel.Portal("miked","xxxx1111");rimai wrote:http://forum.reefangel.com/viewtopic.php?f=20&t=716
This doesn't show how to setup the security key, but all you need on your INO code is:Best to have the security key as a one word just to be same.Code: Select all
I'm not sure if it would work if you added a space in there.
Then you go to Portal Settings and add it there too. Same security key.
my biggest concern was someone using my reefangel.portal to change MY settings, so if this is not a concern I am ok. Also not sure how to fix the banner issue. I have the password entered into my RA code and into the portal at this time.rimai wrote:I doesn't ask for key to access the portal.
The key is only meant for sending data to the reefangel.com server to populate your banner and create the web chart and relay activity. It also populates the portal if you are not in live mode.
When the RA controller communicates with the server, it needs to send the key or the server will just not accept. If you disable the key, it would still work and no harm would be done to the controller or how it functions.
It just makes it possible for anyone to use ReefAngel.Portal("miked") and you would see weird readings from another controller in your screen.
None of the other apps will ask for the key as this is something that the server only is looking for.
It looks like the server is rejecting your data because I can see that the banner is not being updated.
ok, i think the code has an error it has a space after the comma. if I just disable the key on the portal page will everything work ok? I will need to reload the code to set up the ATO later this weekend anyway and can fix the key then. other question about the key. If i remove it completely from the code can others modify my RA settings and initiate feeding mode from outside the network just by using my RAwifiaddress:2000rimai wrote:I just pulled the log on the server and it looks like your controller is not sending the key.
Are you sure you uploaded the code with the new line you mentioned?
ReefAngel.Portal("miked","xxxx1111");