No data anywhere :(

Related to the Portal
Post Reply
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: No data anywhere :(

Post by lnevo »

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... :(
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

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
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

yes, please post the get e dump
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: No data anywhere :(

Post by lnevo »

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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

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.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

No data anywhere :(

Post by lnevo »

No output...and i know serial is working since it worked when i was debugging CalSun()...
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

If there is no output, the Portal() funcion is not being called.
Can I see the code?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

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 .
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: No data anywhere :(

Post by lnevo »

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!

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
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: No data anywhere :(

Post by lnevo »

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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: No data anywhere :(

Post by rimai »

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 :)
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

No data anywhere :(

Post by lnevo »

Thanks! I'll ignore it then :) at least i have history now!
Post Reply