Universal App

Community contributed apps
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

I'm not sure. I had some issues in the beginning. Now it's working, but I've used both. Looks like I'm currently using IP. I'll have to play around and see if I'm still having problems or not.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

It is working ok. Have him test in his browser. Also is he using the test one or the previous release?
Ferdi
Posts: 31
Joined: Thu Jan 02, 2014 1:02 pm

Re: Universal App

Post by Ferdi »

rimai wrote:Hey Lee,
You mentioned that you had issues resolving DDNS once on this new UApp and then you said it worked fine later.
What did you do?
There is another user that is having this too.
I still have not had time to dig into it.
Hi all,

I think Roberto is refering to me☺️

What i did, i cut an patse the old libraries and created a folder REEFANGEL on my desktop and pasted in there. Copied and paste the dev libraries in where Roberto said it must go. Have the same issue with the dev version.

If i use my internal ip 10.0.0.100 it works perfect
If i use my external ip 105.184.169... it works perfect
When i use my online2849811.mydns.telkomsa.net it gives an immediate error "status.html Timeout"

It worked perfect until i restarted my router and my airportextreme together. The first time i started to use my online2849811.mydns.telkomsa.net it also didnt want to connect and then the guy that helped me setup my online2849811.mydns.telkomsa.net used his android phone to connect and then all of a sudden my iphone worked aswell.

I have tried to delete the app and re install but every time i get the same error. He can still access everything with his android phone.

Hope above makes sense
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Universal App

Post by lnevo »

How long has it been that way? Maybe try resetting network settings on your phone. Sounds like something stuck in cache. Could also be a dns propogation issue. Maybe you could try the reefangel dynamic dns?

Also what happens when you browse to your DNS name in Safari on your phone.

Try http://dnsnmae:2000/wifi
Ferdi
Posts: 31
Joined: Thu Jan 02, 2014 1:02 pm

Re: Universal App

Post by Ferdi »

lnevo wrote:How long has it been that way? Maybe try resetting network settings on your phone. Sounds like something stuck in cache. Could also be a dns propogation issue. Maybe you could try the reefangel dynamic dns?

Also what happens when you browse to your DNS name in Safari on your phone.

Try http://dnsnmae:2000/wifi
Hi lnevo,

Its been doing this for about 2 weeks now.
Reset network setting and still no luck.
How do i set up the ReefAngel dynamic dns as when i click on the link you provided i get "safari cannot open the page because the server cannot be found"

Also tried it on my ipad, wife's iphone and ipad. All the same errors.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

I can't resolve that DNS entry.

Code: Select all

C:\Users\Owner>nslookup online2849811.mydns.telkomsa.net
Server:  UnKnown
Address:  192.168.1.1

*** UnKnown can't find online2849811.mydns.telkomsa.net: Non-existent domain
Are you sure it is setup correctly?
Roberto.
Ferdi
Posts: 31
Joined: Thu Jan 02, 2014 1:02 pm

Re: Universal App

Post by Ferdi »

rimai wrote:I can't resolve that DNS entry.

Code: Select all

C:\Users\Owner>nslookup online2849811.mydns.telkomsa.net
Server:  UnKnown
Address:  192.168.1.1

*** UnKnown can't find online2849811.mydns.telkomsa.net: Non-existent domain
Are you sure it is setup correctly?
Hi Roberto,

Will message you all my details.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

I gave the url as an example. Change dnsname to your name.
Ferdi
Posts: 31
Joined: Thu Jan 02, 2014 1:02 pm

Re: Universal App

Post by Ferdi »

lnevo wrote:I gave the url as an example. Change dnsname to your name.
Get the same error.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

The the dns isn't working properly. It may be working for the customer service guy cause he is probably on their network. I would suggest trying a different DDNS service. You could use the RA one, would need to look up how though, I don't use it (i need to try)
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

The the dns isn't working properly. It may be working for the customer service guy cause he is probably on their network. I would suggest trying a different DDNS service. You could use the RA one, would need to look up how though, I don't use it (i need to try)
Ferdi
Posts: 31
Joined: Thu Jan 02, 2014 1:02 pm

Re: Universal App

Post by Ferdi »

lnevo wrote:The the dns isn't working properly. It may be working for the customer service guy cause he is probably on their network. I would suggest trying a different DDNS service. You could use the RA one, would need to look up how though, I don't use it (i need to try)
Roberto and lnevo,

In the end it was my DDNS that wasn't working. i was wrong and i humbly apologize to both of you and also for putting you on a wild goose chase. :oops:

There is a link for everyone thats struggling with DDNS service. Follow this link viewtopic.php?t=4754
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

No worries. Glad you got it working!
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: Universal App

Post by GiraffeCat »

rimai wrote:It works as a standalone on your browser too.
http://www.reefangel.com/download/uapp.zip
You need to use the new dev branch of the libraries or update your current one.
Line 171 of Arduino\libraries\RA_Wifi\RA_Wifi.h should be:

Code: Select all

const prog_char SERVER_HEADER1[] PROGMEM = "HTTP/1.1 200 OK\r\nServer: ReefAngel\r\nCache-Control: no-store, no-cache, must-revalidate\r\nPragma: no-cache\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Methods: GET\r\nConnection: close\r\nContent-Type: text/";
It will enable CORS so the browser can make cross origin requests.
Let me know if it works.
You must be aware that I have only tested on Google Chrome as browser. I know for a fact that IE9 doesn't work.

Okay. I am running 1.1.3, and line 171 matches in RA_Wifi.h. What do I do with all of the items in the zip file, and where do I navigate to in a browser?

Thank you for leading the blind,

Dan
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

If you are running the new libraries, just browse to the internal Webster very uapp.
http://ipaddress:2000/WiFi
Roberto.
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: Universal App

Post by GiraffeCat »

rimai wrote:If you are running the new libraries, just browse to the internal Webster very uapp.
http://ipaddress:2000/WiFi
Tried on IE11, Edge, and Amazon Silk. All of them took forever to get the initial page to load. I can enter my controller specifics okay, but on the Status page it stays on "Cloud Server: Connecting..." Any thoughts? Also, what does it mean when it says "Reef Angel Star Board is required"?

Thanks,
Dan
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

It means take out the cloud server settings. Its for a board not yet released
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Universal App

Post by Sacohen »

What is the cloud server board?

Sent from my SM-G928P using Tapatalk
bboss
Posts: 10
Joined: Mon Oct 07, 2013 5:12 pm

Re: Universal App

Post by bboss »

GiraffeCat wrote:
Tried on IE11, Edge, and Amazon Silk. All of them took forever to get the initial page to load. I can enter my controller specifics okay, but on the Status page it stays on "Cloud Server: Connecting..." Any thoughts? Also, what does it mean when it says "Reef Angel Star Board is required"?
I have the similar problem with my iPad iOS Uapp since updated to the new iOS release this morning. The status page just display "cloud server: connecting..., Last updated: Never, Forum username: unknown" and never connected. When I tried to access through Safari, it took a long time but eventually connected.

Portal, Android tablet Reef Status are both working fine.

Currently my iPad is running iOS 9.2.1, Reef Angel Uapp 2.0.5, RA Version 1.1.3.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

If it says cloud server connecting, you entered something in the cloud server field. You must remove it or the app will try to connect through the cloud server and your controller is not capable.
The cloud server is a feature that will be used on a board not yet released.
I'm going to remove that from the app, since it is causing so much confusion.
So, make sure you don't use the cloud server settings or you will never be able to make the app work for you.
Roberto.
bboss
Posts: 10
Joined: Mon Oct 07, 2013 5:12 pm

Re: Universal App

Post by bboss »

rimai wrote:If it says cloud server connecting, you entered something in the cloud server field. You must remove it or the app will try to connect through the cloud server and your controller is not capable.
The cloud server is a feature that will be used on a board not yet released.
I'm going to remove that from the app, since it is causing so much confusion.
So, make sure you don't use the cloud server settings or you will never be able to make the app work for you.
After removing and reinstalling the RA Uapp on iPad, and not use the cloud server settings, the Uapp is now working great. love the new interface. Thanks, Roberto.
Naptalene
Posts: 98
Joined: Tue Nov 05, 2013 12:50 am

Re: Universal App

Post by Naptalene »

+1 and the web interface is looking great as well (when you login to the unit with your IP:2000/wifi)
The only thing that caught me off guard was my labels for the relay wouldn't show but then I found the pull down menu lol.

Thanks
Believe it or not.... I can ask even stupider questions than this one.
troylong45
Posts: 214
Joined: Sat Oct 10, 2015 9:17 pm

Re: Universal App

Post by troylong45 »

How do view relay activity like in portal I can get pwm channel but cant figure out how to see relay graph. The program you put ur ip address in url
Image
bboss
Posts: 10
Joined: Mon Oct 07, 2013 5:12 pm

Re: Universal App

Post by bboss »

troylong45 wrote:How do view relay activity like in portal I can get pwm channel but cant figure out how to see relay graph. The program you put ur ip address in url
I was wondering the same thing. I use rely activity graphs to verify if my code is working correctly.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

Roberto was working on this. You could graph the value of R (main relay box) or R1 (relay box 1). It may he hard to read though because its the binary value of the relay box status.
troylong45
Posts: 214
Joined: Sat Oct 10, 2015 9:17 pm

Re: Universal App

Post by troylong45 »

lnevo wrote:Roberto was working on this. You could graph the value of R (main relay box) or R1 (relay box 1). It may he hard to read though because its the binary value of the relay box status.
Looks like it only gives me 1 ready for 2 and it goes from -200 to 0 to 200 scale with some reading of 2 163 and other numbers but only a single line of it
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

They are the decimal representation of the binary state of each relay. So if all relays are off the value is 0. If all relays are on it will be 255. Relay 1 is a value of 1 relay 2 would convert to 2 relay 3 would be 8 relay 4 would be 16 relay 5 would be 32, etc. the total of these numbers would be the result you see graphed. Hopefully Roberto can add the ability for us to display the relay data graph on the portal in the uapp :)
bboss
Posts: 10
Joined: Mon Oct 07, 2013 5:12 pm

Re: Universal App

Post by bboss »

Roberto,
Are you planning to make this UAPP available in Windows Store? I know it can be accessed through web browsers, but it would be really cool if I could pin this app to the start menu, especially on a Windows Phone.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

There are no plan for that. I don't even know how to create a windows phone app :(
Roberto.
randynixon74
Posts: 12
Joined: Tue Apr 07, 2015 11:57 pm

Water Level on new app versio

Post by randynixon74 »

I recently installed the latest version of uApp on iPhone and can't get the water level readout to move from 0. When I click into the 0 for the detail graph, it does show the correct current level. Is this a bug in the current version? It worked ok in the last version.
Randy Nixon
120g Acrylic Mixed Reef Tank
From: Nashville, TN

Image
Post Reply