Android Reef Angel Status

Community contributed apps
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android Reef Angel Status

Post by rimai »

I think the best solution would be to rely on the controller response.
If we get an Ok response, your command was successful and the app should just do a local update without polling the controller. You can just assume what the controller will do based on the the response. What do you think?
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

rimai wrote:I think the best solution would be to rely on the controller response.
If we get an Ok response, your command was successful and the app should just do a local update without polling the controller. You can just assume what the controller will do based on the the response. What do you think?
hmmm... I get what you are saying. I can see what I can come up with.

Sent from my Moto X
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

I've got another release almost ready for everybody. I added in 3 main features.
  • added in PWM override for all PWM channels. simply long press on the value and a popup window will appear for you to set/clear the value. if a channel is overridden, a double asterisk (**) will appear in front of the percentage.
  • calibration commands are added to the commands page
  • Flags page is added to display the Status and Alert flags
http://curtbinder.info/apps/AndroidStatus-0.9.5.RC1.apk

I have the APK uploaded to my server for people to download and test out before I push it to Google's servers. I plan on pushing it live to everybody in a couple days, so those that want to check things out, feel free to do so and give me feedback. As always, this version will be replaced by the official version from the Play store.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Everything looks good.
I didn't test real thoroughly right now, the the calibration seems to work properly and the long hold does bring up the ability to change the percentage. I don't have my moonlights working right now so I can't test that.

Sent from my HTC One VX using Tapatalk
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

Long press works, but doesn't change a value on screen. Either on standard relay ports or the expansion. Flag page is awesome

Sent from my SCH-I535 using Tapatalk
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

I tried the PWM override on my WP40 and it seemed to go from 25% (What the program was running) to 100% and then back to the program (@ 6%) when I cleared the override .

Sent from my HTC One VX using Tapatalk
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

I must need a newer set of library's, I've got a regular reef angel. :(

Sent from my SCH-I535 using Tapatalk
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

pandimus wrote:Long press works, but doesn't change a value on screen. Either on standard relay ports or the expansion. Flag page is awesome

Sent from my SCH-I535 using Tapatalk
you have to refresh the screen /app to show the newest values. I tried to just update the screen but that was proving to be complicated. so I opted for the easier route (that also works like the vortech screen) first. I'm actually going to look into this further and could even go with an auto refresh option.

as for the strange behavior, it just sends the clear command when you clear it. I would check how your controller responds with the commands manually to see if the app is doing something wrong.

Sent from my Moto X
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

pandimus wrote:I must need a newer set of library's, I've got a regular reef angel. :(

Sent from my SCH-I535 using Tapatalk
what functionality are you referring to? calibration commands?

oh, oops. I didn't check what happens on older libraries... I'm guessing nothing will happen.

Sent from my Moto X
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

binder wrote:
pandimus wrote:I must need a newer set of library's, I've got a regular reef angel. :(

Sent from my SCH-I535 using Tapatalk
what functionality are you referring to? calibration commands?

oh, oops. I didn't check what happens on older libraries... I'm guessing nothing will happen.

Sent from my Moto X
Just change pwm. I actually just tried manually changing it to and no go. It's probably something in my program

Sent from my SCH-I535 using Tapatalk
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

pandimus wrote:
binder wrote:
pandimus wrote:I must need a newer set of library's, I've got a regular reef angel. :(

Sent from my SCH-I535 using Tapatalk
what functionality are you referring to? calibration commands?

oh, oops. I didn't check what happens on older libraries... I'm guessing nothing will happen.

Sent from my Moto X
Just change pwm. I actually just tried manually changing it to and no go. It's probably something in my program

Sent from my SCH-I535 using Tapatalk
oh. I forget what version of the libraries has the pwm override in it.

Sent from my Moto X
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

binder wrote:
pandimus wrote:
binder wrote: what functionality are you referring to? calibration commands?

oh, oops. I didn't check what happens on older libraries... I'm guessing nothing will happen.

Sent from my Moto X
Just change pwm. I actually just tried manually changing it to and no go. It's probably something in my program

Sent from my SCH-I535 using Tapatalk
oh. I forget what version of the libraries has the pwm override in it.

Sent from my Moto X
Im using 1.70,i believe I can go up to version 1.90 on standard angel with minimal memory problems. I guess I just need to bite the bullet and buy a plus. This seems to be a necessary function for me

Sent from my SCH-I535 using Tapatalk
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

looking through the code, the pwm override commands came with v1.1.0.
so you would need to update to get that functionality.

Sent from my Moto X
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android Reef Angel Status

Post by rimai »

Awesome!!
Will try it soon :)
Roberto.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android Reef Angel Status

Post by rimai »

I got parser error everytime I refreshed the app after I set PWM override.
When I cleared the override, the parser error went away.
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

rimai wrote:I got parser error everytime I refreshed the app after I set PWM override.
When I cleared the override, the parser error went away.
Hmm...I haven't encountered that at all. I wonder if it was a timing issue or something? I tested against the v1.1.0 libraries on a controller on my desk. I will take a look at the code again and see if something else stands out to me.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Well, I decided to add in an Auto Refresh after Update option. This allows the app to automatically refresh after a command or pwm override has been sent to the controller. So Feeding Mode, Water Change, Lights On/Off, Exit Mode, PWM Override, Vortech Changing, all will automatically refresh 1 second after the response has been received from the controller AND ONLY if the response was as success (meaning the controller acknowledged the command and responded with an OK).
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

binder wrote:Well, I decided to add in an Auto Refresh after Update option. This allows the app to automatically refresh after a command or pwm override has been sent to the controller. So Feeding Mode, Water Change, Lights On/Off, Exit Mode, PWM Override, Vortech Changing, all will automatically refresh 1 second after the response has been received from the controller AND ONLY if the response was as success (meaning the controller acknowledged the command and responded with an OK).
Much needed. Thanks!

I haven't run into the parser error reported by Roberto, either. My setup is pretty basic, but no problems so far with the new RC.

--Colin
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

binder wrote:Well, I decided to add in an Auto Refresh after Update option. This allows the app to automatically refresh after a command or pwm override has been sent to the controller. So Feeding Mode, Water Change, Lights On/Off, Exit Mode, PWM Override, Vortech Changing, all will automatically refresh 1 second after the response has been received from the controller AND ONLY if the response was as success (meaning the controller acknowledged the command and responded with an OK).
Awesome.
I'll have to check that out.
The parser error that Roberto was talking about, isn't that the same thing that you tested from my controller that 1 time?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Curt;

My App just updated to 0.9.5 RC1 (I believe) but I'm not getting the auto refresh happening when I change a PWM setting.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Sacohen wrote:Curt;

My App just updated to 0.9.5 RC1 (I believe) but I'm not getting the auto refresh happening when I change a PWM setting.
I haven't created the RC2 release yet. I was just posting that I added it in and will have a RC2 probably tomorrow. I want to get one more thing added before the next RC candidate.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Ok. No problem.

Sent from my HTC One VX using Tapatalk
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

the latest Release Candidate (v0.9.5 - RC2), contains a couple fixes and improvements. Specifically to the Vortech Popup. It now uses a slider for the speed and duration modification instead of that spinner box.
Here's a direct link to the APK for those that just want it:

http://curtbinder.info/apps/AndroidStatus-0.9.5.RC2.apk

If everything tests out well with this release for people, I will be pushing it to the Stable channel for official release within the next couple days.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Is there something special for the beta testing? I used that link but it blocked me.

--Colin
dapg8gt
Posts: 104
Joined: Tue Apr 16, 2013 7:33 pm
Location: 650 Bay Area..

Re: Android Reef Angel Status

Post by dapg8gt »

Yeah same here I tried to use it but it's saying either you are testing something or it doesn't exist.. Should I download the link from a computer or my phone? I'm guessing phone since it's Google play =)..
My other hobby has 450rwhp and eats tires instead of mysis!
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Hmmm...I think I need to create a google group or google plus community to be able to share that link with them. I will look into it more. Otherwise, you can just download the APK file to install it.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

I figured it out. Apparently, to use the beta testing link, I had to add a google group or a google plus community that is allowed to join using the link. Just testing it out, I added the old google group for the reef angel back before there was a forum. So, I either have to create a G+ community for my app to be able to share info about it or I just continue to do things like I have been before. I think I'll just continue to do things as before since the others add more complexity.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Are you a fan of QR codes? Makes it easier to get the apps onto phones and tablets.
qrcode.22868137.png
qrcode.22868137.png (529 Bytes) Viewed 14801 times
--Colin
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

cosmith71 wrote:Are you a fan of QR codes? Makes it easier to get the apps onto phones and tablets.
qrcode.22868137.png
--Colin
I've created one or 2 before for the app link, but I haven't lately. But, I'm not opposed to having them for quick and easy links. :)
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

I have a couple things to mention and point out.

1. I created a Google Plus community. This allows for you to join the community and then sign up for the Beta Software channel (if you want). We can also have further discussions about the app as well.
https://plus.google.com/communities/106 ... 8650872090

2. I pushed the official 0.9.5 release to the Google servers. So be on the lookout for it. The version is also updated on my server.
http://curtbinder.info/apps/AndroidStatus-0.9.5.apk
095apk.png
095apk.png (525 Bytes) Viewed 14758 times
Post Reply