Page 1 of 1
Web chart is blanck
Posted: Mon Dec 16, 2013 3:02 am
by JHP
When I look on the web chart it is blank why?
Jan
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 9:28 am
by rimai
Your controller never sent data to the Portal.
Do you have the wifi attachment configured correctly?
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 11:25 am
by JHP
Hmm I think it is
I can see temp ph etc.
Is ther a guide on the to used when setting up wifi ?
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 11:27 am
by rimai
Can I see your code?
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 11:57 am
by JHP
I have just loaded standard code
dont know how to read code loaded in the reefangel
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:03 pm
by rimai
The standard code doesn't send data to the portal.
You will need to generate one with the wizard.
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:09 pm
by JHP
is it on the download page ?
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:14 pm
by rimai
Go to menu Tools->Reef Angel Wizard
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:27 pm
by JHP
thanks i found it

Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:43 pm
by JHP
#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 <Humidity.h>
#include <DCPump.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
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 320 );
// Ports that are always on
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,9,0,23,0 );
ReefAngel.StandardLights( Port2,11,0,22,30 );
ReefAngel.StandardLights( Port3,11,0,23,0 );
ReefAngel.StandardLights( Port4,11,0,23,0 );
ReefAngel.PWM.SetDaylight( PWMParabola(11,0,23,0,15,100,15) );
ReefAngel.PWM.SetActinic( PWMParabola(11,0,23,0,15,100,15) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "jhp" );
ReefAngel.ShowInterface();
}
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 12:56 pm
by rimai
Ok, upload it and it should start sending data to the server
Re: Web chart is blanck
Posted: Mon Dec 16, 2013 1:12 pm
by JHP
How often is the data send to the server it is still blank

Re: Web chart is blanck
Posted: Mon Dec 16, 2013 1:16 pm
by JHP
the dash board is ok
Re: Web chart is blanck
Posted: Wed Dec 18, 2013 8:56 am
by JHP
Still not working
you can see if I send data
Re: Web chart is blanck
Posted: Wed Dec 18, 2013 9:21 am
by rimai
No, I don't see any data.
Can you send me the dump from the "get e" command?
You will need to use tera term or putty to access the command mode on the module.
Check the manual for instructions.
Re: Web chart is blanck
Posted: Wed Dec 18, 2013 9:26 am
by JHP
ok I will do it the next days

Re: Web chart is blanck
Posted: Tue Sep 16, 2014 9:43 pm
by acabano
Hi Roberto,
I think i have the same issue.
my web banner is also blank, here's my wifi info, thanks.
<4.00> get e
wifly-GSX Ver 4.00, Mar 27 2013 13:52:34 on 131C11
Beacon=102
Reboot=0
IF=UP
DHCP=OFF
IP=172.16.1.39:2000
NM=255.255.0.0
GW=172.16.0.1
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
OPEN=
CLOSE=
REMOTE=
FlushSize=1524
MatchChar=0
FlushTimer=5
IdleTimer=3
CmdChar=$
DNS=0.0.0.0
Name=name.no-ip.biz
Backup=rn.microchip.com
Lease=86400
FTP=0.0.0.0:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=200
FTP_mode=0x0
SSID=XXXXXX
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=30
Linkmon-AP=3600
Passphrase=xxxxxxxxxx
EAP_Id=userid
EAP_User=peap-user
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
LaunchStr=web_app
TimeEna=0
TIMEADR=64.90.182.55:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x0
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=ReefAngelWifi
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Backup=0.0.0.0:0
Sensor=0x0
SensePwr=0x0
<4.00>
Re: Web chart is blanck
Posted: Wed Sep 17, 2014 8:16 am
by rimai
This is supposed to be
www.reefangel.com:
Name=name.no-ip.biz
Re: Web chart is blanck
Posted: Wed Sep 17, 2014 9:05 pm
by acabano
Hi Roberto,
I have change the dns name to
http://www.reefangel.com but that did not help.
looks like i am sending data.
<RA><ID>acabano</ID><T1>800</T1><T2>1211</T2><T3>800</T3><PH>754</PH><R>18</R><RON>64</RON><ROFF>223</ROFF><ATOLOW>0</ATOLOW><ATOHIGH>0</ATOHIGH><EM>0</EM><REM>0</REM><PWMA>70</PWMA><PWMD>70</PWMD></RA>
<4.00> get e
wifly-GSX Ver 4.00, Mar 27 2013 13:52:34 on 131C11
Beacon=102
Reboot=0
IF=UP
DHCP=OFF
IP=172.16.1.39:2000
NM=255.255.0.0
GW=172.16.0.1
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x7
TCPMODE=0x0
BACKUP=0.0.0.0
OPEN=
CLOSE=
REMOTE=
FlushSize=1524
MatchChar=0
FlushTimer=5
IdleTimer=3
CmdChar=$
DNS=0.0.0.0
Name=
www.reefangel.com
Backup=rn.microchip.com
Lease=86400
FTP=0.0.0.0:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=200
FTP_mode=0x0
SSID=xxxxxxxx
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=30
Linkmon-AP=3600
Passphrase=xxxxxxxxx
EAP_Id=userid
EAP_User=peap-user
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
LaunchStr=web_app
TimeEna=0
TIMEADR=64.90.182.55:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x0
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=ReefAngelWifi
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Backup=0.0.0.0:0
Sensor=0x0
SensePwr=0x0
<4.00>
Re: Web chart is blanck
Posted: Wed Sep 17, 2014 10:02 pm
by rimai
You are setting the ip manually, right?
These are the differences I noticed:
FLAGS=0x6
DNS is not setup. It must be setup. Ask your ISP which DNS server they use.
I think when you set the DNS, you should be able to connect.
Re: Web chart is blanck
Posted: Fri Sep 19, 2014 9:47 pm
by acabano
Yes, ip is static. i have found the primary dns on my router "u verse" 3801HGV
<4.00> get e
wifly-GSX Ver 4.00, Mar 27 2013 13:52:34 on 131C11
Beacon=102
Reboot=0
IF=UP
DHCP=OFF
IP=172.16.1.39:2000
NM=255.255.0.0
GW=172.16.0.1
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x6
TCPMODE=0x0
BACKUP=0.0.0.0
OPEN=
CLOSE=
REMOTE=
FlushSize=1524
MatchChar=0
FlushTimer=5
IdleTimer=3
CmdChar=$
DNS=x8.9x.1x6.x
Name=
www.reefangel.com
Backup=rn.microchip.com
Lease=86400
FTP=0.0.0.0:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=200
FTP_mode=0x0
SSID=xxxxxx
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=30
Linkmon-AP=3600
Passphrase=xxxxxxxxxx
EAP_Id=userid
EAP_User=peap-user
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
LaunchStr=web_app
TimeEna=0
TIMEADR=64.90.182.55:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x0
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=ReefAngelWifi
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Backup=0.0.0.0:0
Sensor=0x0
SensePwr=0x0
<4.00>
Re: Web chart is blanck
Posted: Sat Sep 20, 2014 8:46 am
by rimai
I kind of feel that you are using the wrong ip address.
Are you able to connect to your controller?
Did you try letting the wifi attachment just get the ip from DHCP?
Re: Web chart is blanck
Posted: Sat Sep 20, 2014 10:27 am
by acabano
I was able to control/see update on my iPhone 5s, but the graph does not work, same with portal web chart.
I can ping my controller, port 2000 is open. I'm not sure the DNS ip i have tried both the dns ip from my router GUI
Thanks for looking.
Re: Web chart is blanck
Posted: Mon Sep 22, 2014 8:41 am
by rimai
Does it work if you simply let it work with DHCP?
Re: Web chart is blanck
Posted: Mon Sep 22, 2014 9:36 pm
by acabano
Hey Roberto,
Thanks a bunch, once DHCP is enabled web chart works.