Page 3 of 9

Re: Universal App

Posted: Wed Jul 09, 2014 5:59 pm
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

Re: Universal App

Posted: Wed Jul 09, 2014 8:11 pm
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...

Re: Universal App

Posted: Wed Jul 09, 2014 9:04 pm
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.

Re: Universal App

Posted: Sun Jul 13, 2014 8:16 am
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

Re: Universal App

Posted: Sun Jul 13, 2014 10:32 am
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?

Re: Universal App

Posted: Sun Jul 13, 2014 10:55 am
by rimai
Yeah, I can definitely create a label_json.aspx that dumps json instead of xml.

Re: Universal App

Posted: Sun Jul 13, 2014 11:06 am
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.

Re: Universal App

Posted: Sun Jul 13, 2014 12:50 pm
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.

Re: Universal App

Posted: Sun Jul 13, 2014 1:59 pm
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...)

Re: Universal App

Posted: Sun Jul 13, 2014 8:05 pm
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.

Re: Universal App

Posted: Wed Jul 16, 2014 8:51 pm
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

Re: Universal App

Posted: Wed Jul 16, 2014 9:07 pm
by rimai
You need at least 1.1.0 libs.
It was confirmed that 1.0.9 does not work.

Re: Universal App

Posted: Wed Jul 16, 2014 9:28 pm
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

Re: Universal App

Posted: Tue Jul 22, 2014 4:36 am
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

Re: Universal App

Posted: Tue Jul 22, 2014 8:20 am
by rimai
What OS are you running on your iPhone?

Re: Universal App

Posted: Tue Jul 22, 2014 4:19 pm
by poolman
7.1.2

Re: Universal App

Posted: Tue Jul 22, 2014 4:21 pm
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.

Re: Universal App

Posted: Wed Jul 23, 2014 6:11 am
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

Re: Universal App

Posted: Thu Jul 24, 2014 8:43 am
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.

Re: iOS Reef Angel Status

Posted: Fri Jul 25, 2014 1:11 am
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]

Re: Universal App

Posted: Fri Jul 25, 2014 1:39 am
by Xender
Same pb and I disactived the dimming function also. Bug to resolve in next version?
Thanks Rimai. Good work

Re: Universal App

Posted: Fri Jul 25, 2014 9:07 am
by rimai
Yes, this bug will be fixed in next release.

Re: iOS Reef Angel Status

Posted: Fri Jul 25, 2014 9:14 am
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.

Re: Universal App

Posted: Fri Jul 25, 2014 10:16 am
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.

Re: Universal App

Posted: Mon Jul 28, 2014 10:58 am
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.

Re: Universal App

Posted: Mon Jul 28, 2014 11:47 am
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.

Re: Universal App

Posted: Mon Jul 28, 2014 11:52 am
by lnevo
Sorry, was looking at the wrong controller... :)

It's all good.

Re: Universal App

Posted: Mon Jul 28, 2014 12:02 pm
by rimai
Thanks... I'll submit to the app store shortly.

Re: Universal App

Posted: Tue Jul 29, 2014 1:23 pm
by AlanM
Are you open to forks and pull requests if we have things we would like to see added? 8)

Re: Universal App

Posted: Tue Jul 29, 2014 1:53 pm
by rimai
Absolutely :)