How to setup your wifi attachment

New members questions
slm222
Posts: 105
Joined: Wed Nov 18, 2015 9:16 pm

Re: How to setup your wifi attachment

Post by slm222 »

I'm sorry, I'm very dense on the programming side of things. But I cannot access it remotely. Am I missing something
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

You just said you can access it using the public ip.
That is a remote connection.
Maybe you are not explaining or I'm not understanding what you are trying to do.
Roberto.
slm222
Posts: 105
Joined: Wed Nov 18, 2015 9:16 pm

Re: How to setup your wifi attachment

Post by slm222 »

nevermind. I found it. I added a couple lines into the code I found on here... seems to be working now. im trying to get my phone to pick it up. but on the iPhone app im getting and "Alert: unable to process controller data!"
slm222
Posts: 105
Joined: Wed Nov 18, 2015 9:16 pm

Re: How to setup your wifi attachment

Post by slm222 »

please disregard my comments. another stupid finding. I did not realize the user name on the app was case sensitive.

thank you for the responses.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Hello All,
Forgive me if this has been addressed here, but i am having trouble setting up the WIFI. The RA WiFi attachment is flashing green, but won't connect. I've looked in my router (Ubee) and it has assigned 192.168.0.11 for my RA WiFi, but I believe I have to set up port forwarding in my router. Not exactly sure how to do that. See image below! Thank you!
David
Attachments
RAWiFi copy.jpg
RAWiFi copy.jpg (166.91 KiB) Viewed 22909 times
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: How to setup your wifi attachment

Post by lnevo »

It depends on your router...

Can you ping the IP address from your desktop (192.168.0.11)?

Can you browse to http://192.168.0.11:2000/wifi in your browser
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Thank you for the quick response!
lnevo wrote:It depends on your router...

Can you ping the IP address from your desktop (192.168.0.11)?

No, I get 'unable to connect'

Can you browse to http://192.168.0.11:2000/wifi in your browser
I can browse the above, I just get blank parameters and 'connecting' and unknown forum user

Thank you!
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: How to setup your wifi attachment

Post by lnevo »

Good go into settings and add your controller there. Don't fill in the cloud settings.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Thank you, but the similar results... 'disconnected', 'never' update, 'unknown' forum user
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

If you are seeing the cloud server connection status showing up, you may have entered cloud server settings when setting up your controller.
Delete that profile and create a new one, making sure that you don't enter anything on cloud server settings.
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Thank you Roberto, I've deleted the old profile and created a new one with the same results. I may have to do something with my wifi modem to recognize the RA-wifi. Under the wife status in the image posted above, its says:
DHCP:false and shows the ip address as 0.0.0.0

When I go into the modem, I see the RA-wifi is assigned 192.168.0.11, Do I need to set up port forwarding? I, of course, don't know how to do this. Thanks again,
David
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

You will eventually, but before that, you should be able to access the controller from inside your wifi network.
When you browse to http://192.168.0.11:2000/wifi delete all profiles and hit refresh.
What happens?
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Thank you Roberto. OK! I have status! Temp and pH show up! So far so good!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

Good. That means that you are getting access to your controller inside your own wifi.
Now, if you also want to have control when outside your wifi, you will need to setup port forwarding in your router.
Routers block access by default. All routers do as they treat any incoming access as malicious. So, you need to tell the router that when you come in through port 2000, you want to get access to your controller and that's when port forwarding comes in.
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

I think we're good on the local and outside network, thank you! I currently only have the temp probe and pH probe installed. On the status page, data reads exactly what's on the controller screen, however when I click on the pH or Temp number, the graph displayed are way off in temp/pH values. I have calibrated the pH probe. Any thoughts there? You have already been most helpful, thanks again.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

sophie10 wrote:I think we're good on the local and outside network, thank you! I currently only have the temp probe and pH probe installed. On the status page, data reads exactly what's on the controller screen, however when I click on the pH or Temp number, the graph displayed are way off in temp/pH values. I have calibrated the pH probe. Any thoughts there? You have already been most helpful, thanks again.
Can someone tell me why the graph is lagging by 2 or 3 days and is not accurate? According to the status pH when I've checked, it hasn't been above 8.35, and is showing an impossible reading of 10.23? :o The temperature is equally inaccurate on the graph, but fine on the status. Any thoughts are appreciated. :D
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

Are you sure you have the controller setup correctly?
Do you have this in your code?

Code: Select all

ReefAngel.Portal("sophie10");
There is no data in your portal.
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Hi Roberto,
I thought I set it up correctly. I set it up using the pre-loaded settings and then had you help me set up the wifi. Attached is a current image of the graph display, the current pH is actually 8.22 and has fluctuated between 8.19 and 8.33 over the last two weeks, but look at the graph (from almost pH 10 dropping to 7.8)! Thanks and happy holidays!
Attachments
Untitled copy.jpg
Untitled copy.jpg (39.01 KiB) Viewed 23979 times
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

The preloaded code is not customized.
You need to generate a code with the wizard to be able to customize your controller to you and add your forum integration.
Otherwise the controller doesn't send information to the portal.
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Well that would explain a lot. I will investigate. Thank you!
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

rimai wrote:The preloaded code is not customized.
You need to generate a code with the wizard to be able to customize your controller to you and add your forum integration.
Otherwise the controller doesn't send information to the portal.
Hi Roberto, I used the wizard (slick!), and used my 192.168.0.11 for the ddns, and I found my info on the portal (see below)! Everything looks fine, except the connection status shows 'unreachable address', is the norm? The data is accurate!
Attachments
Untitled copy.jpg
Untitled copy.jpg (57.84 KiB) Viewed 23502 times
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Uh oh, While I see my system in the portal, I notice that while the temp and pH are accurate, the the range is wrong. It only has data to 12/26, but the last update was 12/29 at 9:41 (just did one). I also can no longer access my RA from within my own WIFI using 192.162.0.11:2000/WIFI. What did I do?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

The path is case sensitive. Sorry.
Also, your address seems wrong. Usually, they are 192.168 and not 192.162 on most routers.
It needs to be http://192.168.0.11:2000/wifi
Also, in order for the portal to connect to your controller, that's when port forwarding comes in.
By default, all routers block any external access to inside your wifi network. That's what they are designed for. It's called firewall.
So, the portal has no way to access your controller.
Port forwarding allows a specific port to be forwarded to a specific ip address, which will allow external connections to reach your controller.
You need to setup your router for port forwarding. It needs to forward port 2000 to your RA ip address 192.168.0.11
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

Can you check my status on the portal Roberto? Attached is an image of the status. I think I have everything set right. I get live reports when I access from within and outside my LAN, but I don't have historical data. The iPhone app the same - current data, but nothing after Jan 2. Thank you.
Attachments
Untitled copy.jpg
Untitled copy.jpg (29.34 KiB) Viewed 23461 times
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

Can you send us the "get e" dump from the wifi attachment?
The new server is operational, so there may be something else.
Roberto.
sophie10
Posts: 14
Joined: Fri Nov 25, 2016 6:54 am

Re: How to setup your wifi attachment

Post by sophie10 »

OK, thank you. I may not know how to do that... :/ But will investigate!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How to setup your wifi attachment

Post by rimai »

Look at this thread:
http://forum.reefangel.com/viewtopic.php?f=15&t=6337
Basically, you need to connect to the COM port at 57600 baud and type $$$ to enter command mode.
Then type get e.
Roberto.
Post Reply