Universal App

Community contributed apps
89delta
Posts: 163
Joined: Mon Oct 15, 2012 7:21 pm
Location: Leesburg, GA

Re: Universal App

Post by 89delta »

Ahhhh....ok. Would be a nice replacement to the current windows app.I like the gui on it as well ascthe control that i get from the android version.
rimai wrote:Well, it doesn't really work as a standalone on the computer.
I did not dig deep to see why it fails as standalone.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

I think if you can get it working on standalone you could use it through iphone as an HTML5 webapp. That would allow quick tests and have dev versions available without having to compile/distribute/etc. just a theory though...
caliman
Posts: 22
Joined: Sun Mar 24, 2013 4:28 pm

Re: Universal App

Post by caliman »

rimai wrote:I think he mentioned the problem was old libraries.
Were you able to fix the libs update issue you were having?
Ah... not yet sir. I posted more info on that thread.
Image
User avatar
chachew
Posts: 84
Joined: Sat Aug 04, 2012 11:52 pm
Location: Pearland, TX

Re: Universal App

Post by chachew »

So i have identified the issues with the web app and why its not updating any information. You can see some of the information on another thread where i discussed the issues that i found. Basically comes down to problems with cross-domain calls to reefangel.com for XML data. I figured i should put this data into this thread because it directly relates to this application.

http://forum.reefangel.com/viewtopic.ph ... 5&start=20

Roberto, can we get another url that will provide json data? This would clear up A LOT of the issues with the web app. Similar to the 'http://forum.reefangel.com/status/label ... eefangelid' page. I know there are multiple area in the web app that call various things from reefangel.com, so there may be more instances than just the 'labels' url being called.

Thanks,
Matt
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

Maybe it would be easiest to deliver as much data as possible in one json call? Kind of like r99?

Also matt, there is a proxy.aspx that we could switch to instead of the controller directly but its just a little bit slower, but then at least its all through reefangel.com. I'd have to look at the syntax again (it was used in the old ios app) to see how its used or roberto can provide it?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Yeah, I can definitely create a label_json.aspx that dumps json instead of xml.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Here is my question.
The json implementation we have at the controller webserver only outputs the variable array json data.
Can it be used or it has to be changed to jsonp to return a function call??
I think before we go to reefangel.com stuff, we need to figure out how to talk to the controller itself first. The reefangel.com stuff is just cosmetics.
Roberto.
caliman
Posts: 22
Joined: Sun Mar 24, 2013 4:28 pm

Re: Universal App

Post by caliman »

Just an FYI - this web app works with library 1.1 and not 1.0.9. Thanks for the rec on upgrading the library. That worked.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

The proxy URL is:

Code: Select all

http://forum.reefangel.com/status/proxy.aspx?u=URL_OF_YOUR_CONTROLLER_PLUS_CMD
That's one way to go through all one domain. Only issue is being dependent on internet working and RA site being up and responsive (which isn't usually an issue...)
User avatar
chachew
Posts: 84
Joined: Sat Aug 04, 2012 11:52 pm
Location: Pearland, TX

Re: Universal App

Post by chachew »

lnevo wrote:Maybe it would be easiest to deliver as much data as possible in one json call? Kind of like r99?

Also matt, there is a proxy.aspx that we could switch to instead of the controller directly but its just a little bit slower, but then at least its all through reefangel.com. I'd have to look at the syntax again (it was used in the old ios app) to see how its used or roberto can provide it?
It would be ideal to make 1 call and get everything all at once. Then everything would be fast after the initial load. Seems like if you made one call WHILE you are adding the controller then the small wait period wouldnt be such a big deal to the end user because they are waiting on the process to load anyways.
poolman
Posts: 17
Joined: Mon Jan 30, 2012 1:36 am

Re: Universal App

Post by poolman »

Hi

I have tried to get this new Uapp to work on my iPhone5 without success. I have the old board, I have tried libraries 1.0.7, 1.0.8, 1.0.9 . Cannot load 1.1( not enough memory). I have entered my forum name in the name section of setup, I have put tried both external and internal IP addresses. When I push on refresh, I can see that I am getting to the wifi module as I get the three amber flashes, the wifi then replies, but I get time out on the app.

Am I doing something wrong or is my version of reef angel not comparable with this new uapp?

thanks

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

Re: Universal App

Post by rimai »

You need at least 1.1.0 libs.
It was confirmed that 1.0.9 does not work.
Roberto.
poolman
Posts: 17
Joined: Mon Jan 30, 2012 1:36 am

Re: Universal App

Post by poolman »

ok, thanks for that, is there a way to load 1.1.0 on the old boards, I only need relay expansion and wifi

thanks

bryan
poolman
Posts: 17
Joined: Mon Jan 30, 2012 1:36 am

Re: Universal App

Post by poolman »

Hi Roberto

I bave simplified everything and managed to run 1.1.0, everything is now working except on the relay page, all lights are red and switches show as off. If i switch the relays on, then it works, but the light still shows red and the switch will stay on, if i leave the app and go back in, then everything is back to off.

Is this something todo with my old unit? have ordered the plus anyway.

Thanks

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

Re: Universal App

Post by rimai »

What OS are you running on your iPhone?
Roberto.
poolman
Posts: 17
Joined: Mon Jan 30, 2012 1:36 am

Re: Universal App

Post by poolman »

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

Re: Universal App

Post by rimai »

Ok, do you have any relay expansion module?
I'm thinking this could be a bug, but I would need to test it to confirm.
Roberto.
poolman
Posts: 17
Joined: Mon Jan 30, 2012 1:36 am

Re: Universal App

Post by poolman »

yes, i have the relay expansion hub connected, but not programmed as the file is too big to run on the old hardware with version 1.1.0
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Ok, I found out what the problem was.
The current app has one pre-requisite that must be fulfilled or it won't work.
You must enable dimming or the app won't work.
I think due to your size limitation, you must have disabled it and that's what it is causing it to fail.
Roberto.
Naptalene
Posts: 98
Joined: Tue Nov 05, 2013 12:50 am

Re: iOS Reef Angel Status

Post by Naptalene »

Guys the new app is great and stable, thanks!!!!
I have no issues getting onto my unit locally or remotely now.

The only issue I've picked up is with the ph graph not displaying proper values FWIW. anyone else seen that?
The portal values are correct but the app graph is out of whack.

[Original post was placed in the wrong thread and was moved here]
Believe it or not.... I can ask even stupider questions than this one.
User avatar
Xender
Posts: 105
Joined: Sun Mar 20, 2011 12:38 am
Location: France

Re: Universal App

Post by Xender »

Same pb and I disactived the dimming function also. Bug to resolve in next version?
Thanks Rimai. Good work
Fresh Water Aquarium 180*60*80
Salt Water Aquarium 60*60*60
Click Here to see the Video of my Fresh Water Aquarium
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Yes, this bug will be fixed in next release.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: iOS Reef Angel Status

Post by rimai »

Naptalene wrote:Guys the new app is great and stable, thanks!!!!
I have no issues getting onto my unit locally or remotely now.

The only issue I've picked up is with the ph graph not displaying proper values FWIW. anyone else seen that?
The portal values are correct but the app graph is out of whack.

[Original post was placed in the wrong thread and was moved here]
It's a known bug that has been addressed.
https://github.com/reefangel/U-App/issues/2
It'll be fixed in the next released.
Roberto.
Naptalene
Posts: 98
Joined: Tue Nov 05, 2013 12:50 am

Re: Universal App

Post by Naptalene »

Great, I just thought I'd let you know in case it was an isolated case.
Again thanks for a great piece of kit/app.
Believe it or not.... I can ask even stupider questions than this one.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

For those that have sent me the UUID for testing, I just uploaded the newest IPA file for testing.
Can you try it out?
You can download it at http://www.reefangel.com/download/ReefA ... _1.0.2.ipa
The update log is updated in the original post.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

It looks good for me. The values in the graph are still wrong though.

My T1 temp is about 78 degrees and the app shows it above 84.

The issues with labels and various timeouts seems much much better.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Universal App

Post by lnevo »

Sorry, was looking at the wrong controller... :)

It's all good.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Thanks... I'll submit to the app store shortly.
Roberto.
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Universal App

Post by AlanM »

Are you open to forks and pull requests if we have things we would like to see added? 8)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Universal App

Post by rimai »

Absolutely :)
Roberto.
Post Reply