RA portal charts does not have new data

New members questions
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Use the macro to point to the new server.
Roberto.
fit
Posts: 28
Joined: Mon Dec 07, 2015 1:28 pm

Re: RA portal charts does not have new data

Post by fit »

When did you change the server? I mean why would all four of our controllers stop being capable of sending tho the correct server at the same time? What do you think happened?
Image
silkjc
Posts: 11
Joined: Sat Aug 27, 2016 6:51 am

Re: RA portal charts does not have new data

Post by silkjc »

I am also able to control the controller via portal, or via phone, or via reef angel client. My reef angel client (windows client) now has graphs up to date, but the portal is still broken back to 24th.

If it is settings in the wifi unit would I have no connection at all, or could it be 'partially broken' ?

I'll grab the settings if partial, just rather difficult to pull the unit and get it to my pc.
silkjc
Posts: 11
Joined: Sat Aug 27, 2016 6:51 am

Re: RA portal charts does not have new data

Post by silkjc »

Output after running get e:

Code: Select all

<4.41> get e
wifly-GSX Ver: 4.41 Build: r1057, Jan 17 2014 10:26:29 on 131C11
SSID=WiFly-GSX-bb
Pass=
Linkmon=3600
Beacon=102
Reboot=0
IF=UP
DHCP=ON
IP=192.168.0.150:2000
NM=255.255.255.0
GW=192.168.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=1420
MatchChar=0
FlushTimer=5
IdleTimer=3
CmdChar=$
DNS=198.142.0.51
Name=www.reefangel.com
Backup=rn.microchip.com
Lease=86400
FTP=198.175.253.161:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=200
FTP_mode=0x0
SSID=PumpkinPie
Chan=0
ExtAnt=0
Join=1
Auth=OPEN
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=5
Passphrase=blanked for sec
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=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
Backup=0.0.0.0:0
Sensor=0x0
SensePw
Last edited by silkjc on Thu Dec 29, 2016 3:16 am, edited 1 time in total.
silkjc
Posts: 11
Joined: Sat Aug 27, 2016 6:51 am

Re: RA portal charts does not have new data

Post by silkjc »

While connected on COM port to the wifi module this http request response repeated over and over in console.

Code: Select all

192.168.0.150 is my RA controller IP.

GET /r99 HTTP/1.1
Host: 192.168.0.150:2000

HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 29 Dec 2016 10:12:41 GMT
Connection: close
Content-Length: 311

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request</h2>
<hr><p>HTTP Error 400. The request is badly formed.</p>
</BODY></HTML>
GET /r99 HTTP/1.1
Host: 192.168.0.150:2000
silkjc
Posts: 11
Joined: Sat Aug 27, 2016 6:51 am

Re: RA portal charts does not have new data

Post by silkjc »

Update: Prior to getting the current parameters from the Wifi module I also reprogrammed it again using the macro to make sure. My charts have updated now with historical data filled in, with most recent entries being moments ago.

Thanks again rimai, I absolutely love my RA and would be crippled without it!
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

silkjc wrote:Update: Prior to getting the current parameters from the Wifi module I also reprogrammed it again using the macro to make sure. My charts have updated now with historical data filled in, with most recent entries being moments ago.

Thanks again rimai, I absolutely love my RA and would be crippled without it!
hi, seems like a few steps were taken that went over my head. can someone please lay the steps out for us knobs?

please thanks :D

edit: what is a macro?
Image
fit
Posts: 28
Joined: Mon Dec 07, 2015 1:28 pm

Re: RA portal charts does not have new data

Post by fit »

Rimai, could you please explain what happened that requires the macro excecution? What explains this? I am curious as to why the macro step needs to be excecuted. Please explain.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

We changed servers a few months back and I setup a forwarding to be able to support the backward compatible wifi attachments that were pointing to the old server.
Well, obviously something happened with that service.
The best is to just update the setting of the wifi attachment using the macro so you point to the correct server.
The old server was ip address 198.171.134.6:80 as seen on the host line of the post above.
The new one and what the macro has is 104.36.18.155:80.
So, running the macro just once would fix your problem.
If it does, please let us know.
For macro instructions, follow this post:
http://forum.reefangel.com/viewtopic.php?f=3&t=4601
Roberto.
fit
Posts: 28
Joined: Mon Dec 07, 2015 1:28 pm

Re: RA portal charts does not have new data

Post by fit »

That is a great explanation. Thank you.
Image
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

cant open the tera term file on my Mac and I don't see a file for Mac users???
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Sorry, tera term is for windows only.
If you want to do it on Mac, you need to use Coolterm and there is no macro option for it.
You will need to manually type it.
Open the serial connection at 57600 baud.
Then type $$$ and it should respond with CMD.
Then type the following commands:

Code: Select all

set i h 104.36.18.155
save
reboot
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

what is coolterm? and, how do I Open the serial connection at 57600 baud?

im so confused :oops:
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Click options and you should be able to change it.
There is a small tutorial here when I googled: https://learn.sparkfun.com/tutorials/te ... -mac-linux
Roberto.
Diverjoe
Posts: 33
Joined: Thu Nov 24, 2016 7:19 am

Re: RA portal charts does not have new data

Post by Diverjoe »

Ran the macro and mine is up and running now!! Thanks!!! I did have a bump in the road as I was trying to do the update with my pc connected to the Head Module - doesnt work that way - ha! The minute I plugged the USB cable into the WiFi module, the terminal program did its thing and all is well. Also, it took a couple of times hitting ok before i realized the macro was looping and then what you had said to someone else - that it only had to be ran once made sense. I hit cancel and I was golden!

Again thanks Roberto for the quick reply!
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

rimai wrote:Sorry, tera term is for windows only.
If you want to do it on Mac, you need to use Coolterm and there is no macro option for it.
You will need to manually type it.
Open the serial connection at 57600 baud.
Then type $$$ and it should respond with CMD.
Then type the following commands:

Code: Select all

set i h 104.36.18.155
save
reboot
thanks Roberto, assume I'm wired to the head unit as I do this? don't believe it was stated here. don't want to have my RA shut down if it doesn't work.

thanks
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

No. we are programming the wifi attachment, so you have to connect to the wifi attachment.
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

this is bs!!!

first it won't let me type $$$ when I connect to 57600 so I copied and pasted and nothing happened......
Image
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

I have wifi attachment connected to serial port and baud 57600. your instructions say to "then type $$$ and it should respond with CMD" which I cannot do. what should I do now to get this working?

thanks
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Did you choose the correct serial port?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Click Options
Choose the serial port connected to your wifi attachment
Choose 57600 baud rate
Click Ok
Click Connect
Type $$$
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Can you send screenshot of what you get?
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

this is what I got after following your steps

<4.41>

not sure how to upload screenshots or pics, I'm a computer knob :)
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

There you go. you are in command mode.
Now type the other commands
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

the following is what I got. now what?

Disconn from Joshua2001,LOST-AP
Auto-Assoc Joshua2001 chan=6 mode=MIXED SCAN OK
Joining Joshua2001 now..
Associated!
DHCP: Start
DHCP in 1798ms, lease=604800s
IF=UP
DHCP=ON
IP=192.168.0.34:2000
NM=255.255.255.0
GW=192.168.0.1
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

That's it
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

thanks Roberto but the portal still has dec 23rd as the last data for relays and web charts?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

Then something went wrong.
Connect to the module again and send "get e" command.
Paste the response
Roberto.
Reefology
Posts: 209
Joined: Fri Dec 26, 2014 6:38 pm

Re: RA portal charts does not have new data

Post by Reefology »

I typed "get e" and this was the response

<h1>Bad Request</h1><h1>Bad Request (Invalid URL)</h1>
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RA portal charts does not have new data

Post by rimai »

You didn't enter cmd mode.
You need to type $$$ to enter command mode or no command will be accepted
Roberto.
Post Reply