Page 10 of 33
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 11:38 am
by binder
I've got the features included in the app. I have to update the version and complete the changelog. If all goes well, we are looking at a release in the next few days. So far everything is testing out well on my end. I'm running it on my Galaxy Nexus and Nexus 7 full time and it's functioning like it is supposed to. I just added in the service stopping when the app is not running (with a couple exceptions). So far, so good.

Re: Android Reef Angel Status
Posted: Wed May 08, 2013 11:54 am
by enigma32
Awesome news. I can't wait to get the update notification and see all this effort for myself!
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 1:23 pm
by binder
If anybody wants to help me test it out, I have uploaded the release candidate to my server.
http://curtbinder.info/apps/
It's called AndroidStatus-0.9.0.RC1.apk
It's what I am testing and running on my devices. Also, so you are aware, it's exactly the same signature as the one in the Play Store and when the official release comes out, it will just replace this version. So there's no uninstalling issues and data/settings are the same. You don't have to test things out, but just thought I'd mention it to people. And yes, I will be doing another release for the official build to be uploaded.
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 4:53 pm
by Ademster
I uploaded it to my phone. LOVE the layout. so smooth and practical.
phone is samsung note 2
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 4:56 pm
by Ademster
just uploaded it to my samsung note tablet and it is perfect.
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 5:34 pm
by dbmet
Just loaded it on my Nexus 7 and its great!!!
Posted: Wed May 08, 2013 6:04 pm
by binder
awesome. let me know if you guys find any issues. i will most likely be releasing it this weekend.
Re: Android Reef Angel Status
Posted: Wed May 08, 2013 6:54 pm
by pandimus
Downloaded on my s3 will let you know of any issues
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 6:16 am
by cosmith71
I works fine on my HTC One X and my new generic 7" tablet, AKA "Reef Angel 7" LCD Touch Control Panel"
Thanks for the hard work!
--Colin
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 7:20 am
by coolbird
Have downloaded to my Samsung S3 and it seems to work fine but will need to test properly when I get home, am behind a proxy at work and the app is timing out on the away settings.
But looks like a nice upgrade thanks
**Update
Tested from home all functions work great,,,,very nice
Thanks for the effort you must have put in
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 1:40 pm
by mudcat1
Curt, I recently upgraded to the Reef Angel 1.0.6 libraries. I just installed AndroidStatus-0.9.0.RC1.apk on my LG-P999 smartphone running Android version 2.3.4. When I attempt to update the main "Controller" view in the Last Updated: I receive Error 23: XML SAX Parser.
My smartphone was working correctly with the released version of the Reef Angel Status application. Not related but I can communicate with the Reef Angel through the Portal application correctly, so Wifi is working.
Any ideas why I am getting Error 23: XML SAX Parser? Is any further configuration required for the RC1 version?
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 1:42 pm
by cosmith71
I'm getting this same error code. It worked this morning.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 1:49 pm
by mudcat1
mudcat1 wrote:Curt, I recently upgraded to the Reef Angel 1.0.6 libraries. I just installed AndroidStatus-0.9.0.RC1.apk on my LG-P999 smartphone running Android version 2.3.4. When I attempt to update the main "Controller" view in the Last Updated: I receive Error 23: XML SAX Parser.
My smartphone was working correctly with the released version of the Reef Angel Status application. Not related but I can communicate with the Reef Angel through the Portal application correctly, so Wifi is working.
Any ideas why I am getting Error 23: XML SAX Parser? Is any further configuration required for the RC1 version?
Curt, I can turn relays on and off on the "Main Relay" view so some things are working correctly with the Android app.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 1:51 pm
by cosmith71
I have the EXACT same issues. Plus, the portal is stuck on "Connecting..." Maybe an issue with 1.0.6?
--Colin
Android Reef Angel Status
Posted: Thu May 09, 2013 2:26 pm
by lnevo
cosmith71 wrote:I have the EXACT same issues. Plus, the portal is stuck on "Connecting..." Maybe an issue with 1.0.6?
--Colin
I may have had a similar issue with the dev version, but I was surrounded by buckets, hoses, and in water changing mode, so I dismissed it and went back to the 1.0.5 version...
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 2:27 pm
by mudcat1
cosmith71 wrote:I have the EXACT same issues. Plus, the portal is stuck on "Connecting..." Maybe an issue with 1.0.6?
--Colin
Colin,
The Portal application is stuck on "Connecting..." for me too. And the orange lights on my Wifi are flashing furiously.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 2:30 pm
by rimai
Bug

It is counting the value 0 as a 0 length number instead of 1 and the HTTP protocol is getting corrupt.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 2:31 pm
by rimai
Can you test if this fixes it?
Code: Select all
byte intlength(int intin)
{
if (intin==0) return 1;
byte digits = 0;
if (intin < 0) digits = 1; // "-" counts as 1 character
while (intin) {
intin /= 10;
digits++;
}
return digits;
}
This should replace the function inside Globals.cpp
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 2:45 pm
by cosmith71
That seems to have fixed it.
Android Reef Angel Status
Posted: Thu May 09, 2013 2:59 pm
by lnevo
Cool beans!!!
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:05 pm
by rimai
Looking at the code again, I think I'll change to this:
Code: Select all
byte intlength(int intin)
{
byte digits = 0;
if (intin <= 0) digits = 1; // "-" and 0 count as 1 character
while (intin) {
intin /= 10;
digits++;
}
return digits;
}
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:10 pm
by mudcat1
rimai wrote:Can you test if this fixes it?
Code: Select all
byte intlength(int intin)
{
if (intin==0) return 1;
byte digits = 0;
if (intin < 0) digits = 1; // "-" counts as 1 character
while (intin) {
intin /= 10;
digits++;
}
return digits;
}
This should replace the function inside Globals.cpp
Roberto, that Globals.cpp change definitely improved things. But I notice another unusual problem. When I updated custom memory location 111 using the Android application it updated the display for Custom 4 memory location on the "Custom Variables" screen in the Android application (as it should), but it does not update the Custom 4 memory location correctly on the Portal. I also notice when I manually switch a relay on the Main Relay view of the Android application it displays a green ball next to the relay. When I turn it off the green ball continues to be displayed. In the old version the green ball would disappear.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:13 pm
by mudcat1
mudcat1 wrote:rimai wrote:Can you test if this fixes it?
Code: Select all
byte intlength(int intin)
{
if (intin==0) return 1;
byte digits = 0;
if (intin < 0) digits = 1; // "-" counts as 1 character
while (intin) {
intin /= 10;
digits++;
}
return digits;
}
This should replace the function inside Globals.cpp
Roberto, that Globals.cpp change definitely improved things. But I notice another unusual problem. When I updated custom memory location 111 using the Android application it updated the display for Custom 4 memory location on the "Custom Variables" screen in the Android application (as it should), but it does not update the Custom 4 memory location correctly on the Portal. I also notice when I manually switch a relay on the Main Relay view of the Android application it displays a green ball next to the relay. When I turn it off the green ball continues to be displayed. In the old version the green ball would disappear.
Roberto,
Disregard the custom variable 4 problem. It just took the Portal some time to respond. Sorry for the confusion.
Thanks for your help,
John
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:14 pm
by cosmith71
Tap the green ball to make it disappear and turn off the override.
--Colin
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:21 pm
by mudcat1
cosmith71 wrote:Tap the green ball to make it disappear and turn off the override.
--Colin
That worked. Thanks Colin.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:35 pm
by Ademster
i put the second code in the global.cpp and it worked thanks Roberto
Android Reef Angel Status
Posted: Thu May 09, 2013 3:41 pm
by binder
so are all the issues taken care of so far? is there anything that i need to investigate with the pending new release?
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 3:53 pm
by Ademster
it wasn't on you're side Curt it was the new libraries release.
Posted: Thu May 09, 2013 6:15 pm
by binder
Ademster wrote:it wasn't on you're side Curt it was the new libraries release.
cool. that's what I thought but just wanted to be sure.
Re: Android Reef Angel Status
Posted: Thu May 09, 2013 8:22 pm
by mudcat1
binder wrote:so are all the issues taken care of so far? is there anything that i need to investigate with the pending new release?
Curt,
After play with the new code I see a few things that look suspicious. When going into Setting -> Controller Information -> Controller:Labels, the item listed in the 4th position after Temp Sensor 3 says @2131427826 if I select it, it defaults to pH.
When going into Setting -> Controller Information -> Controller:Visibility, the Temp Sensor 1 item is missing. The item in the first position is Temp Sensor 2.
Other than that everything looks great so far. I really like the improvements. One question is there a way to display the current status of the ATO Low and ATO High float switches on the Android Controller display screen?
Thanks,
John