Portal
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Portal
I have been trying to get my email alerts to send me an email, but just can't get it to work. I have added the line of code you have stated in the other posts, but still no luck. Any suggestions?
Re: Portal
Looking at the log from your controller, it hasn't sent anything for the past couple hours.
Also, it seems you have the Client also sending data, which is probably interfering with data too.
Can you make sure that the Client is not sending data and you only have the controller itself sending data to the portal?
Also, it seems you have the Client also sending data, which is probably interfering with data too.
Can you make sure that the Client is not sending data and you only have the controller itself sending data to the portal?
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
The Client is now, not sending data to the Portal.
Re: Portal
There is still no activity from your controller.
Do you have this in your code?
Do you have this in your code?
Code: Select all
ReefAngel.Portal("rschneider77");
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
I do, but I also have the "keycode", it's in this form.
Should I change it to just this? If so, why?
Code: Select all
ReefAngel.Portal("rschneider77","xxxx");
Code: Select all
ReefAngel.Portal("rschneider77");
Re: Portal
Ok, if you have the security key in your code, you also need to set the security key on the Portal.
Please open the Portal and click on Portal Settings.
Enable the security key and enter the same key as shown in your code.
Click Save.
Please open the Portal and click on Portal Settings.
Enable the security key and enter the same key as shown in your code.
Click Save.
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
Yeah. The security key has been enabled in the Portal AND it has been in the code for the the entirety of this thread. I also noticed that in the Portal, all my relays display off. Could this all be something else maybe? Maybe my wireless?
Re: Portal
That was probably the Client messing with the data on the Portal.
Try disabling the key and remove from your code.
Try disabling the key and remove from your code.
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
Disabled the key, removed the key from code. Portal still does not show relay status. And no email alerts. Any ideas? Can the wifi module have code in it concerning the portal?
Code: Select all
// Autogenerated file by RAGen (v1.2.2.171), (06/04/2012 17:53)
// RA_060412_1753.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define wifi
#define SIMPLE_MENU
#define ENABLE_ATO_LOGGING
*/
#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 <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 = Port1Bit | Port6Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port6Bit | Port8Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit;
// Ports that are always on
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port8);
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.SingleATOLow(Port1);
////// Place your custom code below here
ReefAngel.StandardLights(Port2, 21, 30, 9, 30); //Refugium schedule 9:30pm - 9:30am
ReefAngel.StandardLights(Port3, 9, 30, 21, 30); //LED Actinic Front schedule 9:30am - 9:30pm
ReefAngel.StandardLights(Port4, 10, 30, 20, 30); //LED Daylight schedule 10:30am - 8:30pm
////// Place your custom code above here
// This sends all the data to the portal
// Do not add any custom code that changes any relay status after this line
// The only code after this line should be the ShowInterface function
ReefAngel.Portal("rschneider77");
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: Portal
I don't see any log of your controller sending data recently.
How long ago have you configured your wifi attachment?
How long ago have you configured your wifi attachment?
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
WiFi was reconfigured about two weeks ago.
Re: Portal
Are you able to connect to the controller through wifi?
Did you use the same wifi utility in this thread?
http://forum.reefangel.com/viewtopic.php?f=15&t=345
Did you use the same wifi utility in this thread?
http://forum.reefangel.com/viewtopic.php?f=15&t=345
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
i can connect through wifi and such. no i didnt use that app. i can only find the other one from github
Re: Portal
Ok. With Dave's utility, you have to make sure you also set the remote settings to reefangel.com
Can you do that and try again?
Can you do that and try again?
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
The software I am using doesn't look like that. I downloaded "davemolton-Graphical-Wifi-Utility-a45bcdf" from github. Is that the correct software?
Re: Portal
It's ok to use Dave's utility too. Just make sure to set the remote settings to reefangel.com if you use Dave's utility.
Roberto.
-
- Posts: 54
- Joined: Mon Oct 24, 2011 10:16 am
- Location: Gainesville, Florida
Re: Portal
What is the utility shown in that thread?