No data anywhere :(
No data anywhere :(
So, I got my pH probe calibrated yesterday and when I go to the portal I used to see a pH graph, now I see nothing. It never showed my temp graph either for the record. I also noticed I get "No Data" under relay activity. Same thing from the iPhone app, I always get No data available. What am I missing to get some history?
Thanks
Thanks
Re: No data anywhere :(
Do you have this in your code?
I see that the last time your controller sent data was 9 days ago.
Code: Select all
ReefAngel.Portal("lnevo");
Roberto.
No data anywhere :(
I do...
My code is in the Got My Controller! thread...
When i go to the portal it updates and shows the correct/current info...
My code is in the Got My Controller! thread...
When i go to the portal it updates and shows the correct/current info...
Re: No data anywhere :(
That's because you are getting data straight from the controller on live mode.
I'd like you to try something. This is already changed on my dev branch of the libraries and will be included in the next release.
I have noticed some timeouts using the script on the server page and I changed it to use a different script.
Open the file RA_Wifi.h located at "Documents\Arduino\libraries\RA_Wifi".
Replace this line:
With this:
I'm curious to know if this is the cause.
To find out when the last time the server received data, use this: http://forum.reefangel.com/status/params.aspx?id=lnevo
The logdate is in GMT+0
I'd like you to try something. This is already changed on my dev branch of the libraries and will be included in the next release.
I have noticed some timeouts using the script on the server page and I changed it to use a different script.
Open the file RA_Wifi.h located at "Documents\Arduino\libraries\RA_Wifi".
Replace this line:
Code: Select all
const prog_char BannerGET[] PROGMEM = "GET /status/submitp.asp?t1=";
Code: Select all
const prog_char BannerGET[] PROGMEM = "GET /status/submitp.aspx?t1=";
To find out when the last time the server received data, use this: http://forum.reefangel.com/status/params.aspx?id=lnevo
The logdate is in GMT+0
Roberto.
Re: No data anywhere :(
still no good. I've changed the header file to point to status.aspx and still no updates to the page... I also tested submitting a parameter manually http://forum.reefangel.com/status/submitp.aspx?t1=788 which responds done, but I get no update on the status/params.aspx?id=lnevo page. I also moved ReefAngel.portal() to the top of my loop() to see if something in my code was causing it.
Re: No data anywhere :(
Sorry, tagging along as I have similar problem to be able to post data onto portal via ReefAngel.portal().
How do you manually test the code?
How do you manually test the code?
Re: No data anywhere :(
To send it manually, you have to send your id along with it.
http://forum.reefangel.com/status/submi ... 8&id=lnevo
Which wifi utility did you use?
Did you use the Java app that came with RA installer or the windows app that Dave created?
http://forum.reefangel.com/status/submi ... 8&id=lnevo
Which wifi utility did you use?
Did you use the Java app that came with RA installer or the windows app that Dave created?
Roberto.
No data anywhere :(
Roberto maybe thats the problem...when i added id=lnevo i was getting an Internal Server Error with a bunch of sql complaints...
I configured through Serial. I was having issues with the wifi utility on the mac...no windows ever popped up.
I configured through Serial. I was having issues with the wifi utility on the mac...no windows ever popped up.
Re: No data anywhere :(
Ahh.
the wifi app will only launch if you copy to your computer.
It won't launch if it is still inside the disk image.
But I just looked at the manual and indeed, there are missing commands
I'll revise it.
You need this:
the wifi app will only launch if you copy to your computer.
It won't launch if it is still inside the disk image.
But I just looked at the manual and indeed, there are missing commands
I'll revise it.
You need this:
Code: Select all
set dns name www.reefangel.com
set i h 198.171.134.6
set c s 1420
Roberto.
No data anywhere :(
Had the wifi app copied out of the disk image... I will add the dns setting, most likely thats the problem !
Will keep you posted.
Will keep you posted.
Re: No data anywhere :(
Nope,still no good. I also hooked it back up to serial and used the java app. It config'd it great and I'm back on network. One thing I noted after the commands you gave me it was defaulting to HOST=198.171.134.6:2000 after I used the java app it's now at HOST=198.171.134.6:80
I can give you a dump of any configs if you let me know which you need, but still the only way to get it updating so far has been manually through the URL...
I can give you a dump of any configs if you let me know which you need, but still the only way to get it updating so far has been manually through the URL...
Re: No data anywhere :(
host port 80 is correct. host port 2000 is incorrect.
your localport is 2000.
The reefangel.com server is listening on port 80, so this is the right one: 198.171.134.6:80
your localport is 2000.
The reefangel.com server is listening on port 80, so this is the right one: 198.171.134.6:80
Roberto.
Re: No data anywhere :(
Code: Select all
get e
WiFly Ver 2.35, 06-12-2012 on RN-131
Beacon=100
Probe=5
Reboot=0
OPEN=
CLOSE=
REMOTE=
FlushSize=1420
MatchChar=0
FlushTimer=10
IdleTimer=3
CmdChar=$
IF=UP
DHCP=ON
IP=10.109.9.125:2000
NM=255.255.255.0
GW=10.109.9.32
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x6
TCPMODE=0x0
BACKUP=0.0.0.0
DNS=10.109.9.32
Name=www.reefangel.com
Backup=backup2
FTP=208.109.14.133:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=80
FTP_mode=0x0
SSID=Easte
Chan=0
ExtAnt=0
Join=1
Auth=OPEN
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=0
Passphrase=XXXXXXXX
SleepTmr=0
WakeTmr=0
Trigger=0x10
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
TimeEna=0
TIMEADR=129.6.15.28:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x2
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=ReefAngelWifi
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Sensor=0x0
SensePwr=0x0
Re: No data anywhere :(
ok, everything looks good.
So, let's check the controller.
Disconnect the wifi attachment and plug the USB-TTL cable.
Open Arduino and go to menu Tools->Serial Monitor.
Make sure that you have 57600 baud rate.
Leave it open for 10 minutes.
Copy and paste what you get in the window.
So, let's check the controller.
Disconnect the wifi attachment and plug the USB-TTL cable.
Open Arduino and go to menu Tools->Serial Monitor.
Make sure that you have 57600 baud rate.
Leave it open for 10 minutes.
Copy and paste what you get in the window.
Roberto.
No data anywhere :(
No output...and i know serial is working since it worked when i was debugging CalSun()...
Re: No data anywhere :(
If there is no output, the Portal() funcion is not being called.
Can I see the code?
Can I see the code?
Roberto.
Re: No data anywhere :(
Ahhh...
Timer 4 is the Portal timer
You can't use it. Change it to Timer 1 or Timer 2 and you should be good .
Timer 4 is the Portal timer
You can't use it. Change it to Timer 1 or Timer 2 and you should be good .
Roberto.
Re: No data anywhere :(
waiting now for it to trigger...that looks like it was probably it... I got that code from Deckoz PDE posted in his feature hog thread... Hopefully he can update the thread so other's don't copy the same mistake...
yay... trigger!
yay... trigger!
Code: Select all
GET /status/submitp.asp?t1=784&t2=0&t3=0&ph=809&id=lnevo&em=2&rem=0&key=&atohigh=0&atolow=0&r=159&ron=0&roff=255&pwma=0&pwmd=0&rfm=2&rfs=50&rfd=10&rfw=0&rfrb=0&rfr=0&rfg=0&rfb=0&rfi=0
Re: No data anywhere :(
Roberto,
The portal is now showing my IP instead of my dynamic name. What do I need to change to make it stay with the name?
Thanks,
Lee
The portal is now showing my IP instead of my dynamic name. What do I need to change to make it stay with the name?
Thanks,
Lee
Re: No data anywhere :(
Don't worry about dyndns.
The ip address on the portal will change automatically everytime your ISP gives you a different one.
The portal stores the ip address every time you send data to it.
So, we have a kind of dyndns service going on
The ip address on the portal will change automatically everytime your ISP gives you a different one.
The portal stores the ip address every time you send data to it.
So, we have a kind of dyndns service going on
Roberto.
No data anywhere :(
Thanks! I'll ignore it then at least i have history now!