Android Reef Angel Status

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

Re: Android Reef Angel Status

Post by lnevo »

Right which only sets the channel during your StandardLights time otherwise it uses the channels previous value.

The easiest thing to do if you want it to behave as expected is to set it to 0 before that line.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Ah. I see.

From a user's point of view, returning to the pre-override value makes more sense.

--Colin
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Android Reef Angel Status

Post by lnevo »

From a technical point of view letting the INO set the % makes more sense :)

Let me see what I can figure out..

What would happen though if you were to set an override during your light on time and then you clear it during lights off time. You'd end up being stuck at whatever % it was at before.

Thats why the current behavior is preferred. Your just missing a "default" % in your INO. Maybe we should have the wizard set the default to 0%

I've been thinking of a "Light" class that would have modes you could choose like DCPump. This way too we could set an overall intensity like the radion code has and set modes (Slope, Parabola, lightning :)
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

I get what you're saying.

Maybe we should have a default set, uh, by default? :lol:

Thanks,

--Colin
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

For those of you Android users that also utilize the Portal for their notifications, I have created a Notification Manager app for Android that allows you to read/edit your notifications on the portal.
http://forum.reefangel.com/viewtopic.php?f=8&t=4891
If you have not checked it out, you may want to look at it. It does not replace any notifications in my Android Status app. This is simply an Android interface to the Portal notifications.
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Android Reef Angel Status

Post by ReEfnWrX »

Not sure if this has been mentioned. I realized when/why I am receiving so many error 22: XML I/O messages on my android....

If my app is set to Away (update via my WAN IP) but I am connected to my network via wifi then I receive this error message every time my phone tries to update.

Besides changing between AWay/Home is there any fix for this?
Image
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

well, i thought i figured out a solution but I apparently did not. i have an idea of what else to try but i have not had a chance to try it out.

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

Re: Android Reef Angel Status

Post by rimai »

It could be your router doesn't implement NAT loopback.
I found this while googling for your reference and to understand better what may be happening.
http://help.screenconnect.com/Cannot_ac ... s_from_LAN
I have this same problem because my router doesn't allow me to loopback :(
Roberto.
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Android Reef Angel Status

Post by ReEfnWrX »

Interesting....

Good news, looking into this I realized my router supports DDNS which I have setup and is working...

Bad news, apparently using DDNS should avoid NAT Loopback issues however it has not fixed my issue.
Image
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

ReEfnWrX wrote:Interesting....

Good news, looking into this I realized my router supports DDNS which I have setup and is working...

Bad news, apparently using DDNS should avoid NAT Loopback issues however it has not fixed my issue.
i have ddns setup on my router and it works.

i run ddwrt on my router. to get loopback support to work, I had to use a custom firewall command. it works just fine for me and I've been using it for years.

Sent from my Moto X
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

So it seems I can't download labels from the Portal now. I always get "Error 13: Unexpected code Response(protocol=http/1.1,code=401,message=Unauthorized,url=http://forum.reefangel.com/status/label ... =cosmith71)". Is this due to authentication?

--Colin
Last edited by cosmith71 on Fri Jan 30, 2015 10:38 am, edited 1 time in total.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android Reef Angel Status

Post by rimai »

It's missing a : in front of http
Roberto.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Ooops, that was my transcription error of the message. :oops:

--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 »

Colin'

Are you using the Andoid App?
If so, do you have the Device under settings set for Controller or Portal?
I've notices that I can't download the labels unless I switch it to Portal and then switch it back to Controller.

Image
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Yup, with authentication enabled I have to switch over to "Portal". With it disabled, I don't.

--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 »

So you got your labels?
Maybe Binder can look into this.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

hmmm...that's interesting. it could be that im using the authentication credentials when trying to download the labels. i will have to look at it more to see if i can find anything.


Sent from my iPad mini
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

No problem. Thanks Curt.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

cosmith71 wrote:So it seems I can't download labels from the Portal now. I always get "Error 13: Unexpected code Response(protocol=http/1.1,code=401,message=Unauthorized,url=http://forum.reefangel.com/status/label ... =cosmith71)". Is this due to authentication?

--Colin
Yes, it is.

I have finally gotten back into updating the app and giving it a face lift. (yep, it's been a while) In the process, I looked into this problem and could repeat it on my end. The problem is related to having authentication enabled. If you disable authentication it will work just fine.

Here's what is happening...
When you click the download labels button, a request is generated to download the labels from the portal. As I get everything setup to query the portal, I am checking to see if device authentication is enabled. If it is enabled, I set the request to utilize it. I ONLY check if it is enabled. I do not check if we are only getting the labels from the portal.

So, to fix the issue, I simply had to add a check if device authentication is enabled AND if we are not getting the labels from the portal, then I enable authentication. BUT if we are getting the labels from the portal, I simply do not enable authentication and it proceeds.

It's fixed in my development, but not released yet. I still have to polish off the user interface and make sure that all features are working as expected before I can release a new version. I still have to create a better "first run" screen to configure the app.

I will have a test version for people to try out that will run alongside the existing app before I officially push out a test. :ugeek:
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Awesome! I know you have a life outside of that app, but I sure do look forward to the updates. :mrgreen:
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

Me also... Are you going to get dc modes implemented in this patch?
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

pandimus wrote:Me also... Are you going to get dc modes implemented in this patch?
Ummm....I'm not sure. I have not looked into the dc modes much. I know I have an image of the dc mode section from the portal. So I honestly do not have a definite answer for you. I will look into it more and see what all is needed. I know this functionality has been desired for a while now and I'd like to make sure you guys get functionality that you want. :)
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

I looked at the dc modes just now and it is a little more complicated than simply adding another page. I'm currently not storing the dc pump values from the controller in the app. So I would have to add storage location for the dc pump values in addition to creating the page to display it. It's not hard to do this, it just needs to be done.

I will implement this once I get some of the other simple interface tweaks finished. So if it's not in the next release with the new interface, it will be coming right after that since it's an easy addition.
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

binder wrote:I looked at the dc modes just now and it is a little more complicated than simply adding another page. I'm currently not storing the dc pump values from the controller in the app. So I would have to add storage location for the dc pump values in addition to creating the page to display it. It's not hard to do this, it just needs to be done.

I will implement this once I get some of the other simple interface tweaks finished. So if it's not in the next release with the new interface, it will be coming right after that since it's an easy addition.
Thanks alot. I wish I could help you, but I don't know how to code...
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:I looked at the dc modes just now and it is a little more complicated than simply adding another page. I'm currently not storing the dc pump values from the controller in the app. So I would have to add storage location for the dc pump values in addition to creating the page to display it. It's not hard to do this, it just needs to be done.

I will implement this once I get some of the other simple interface tweaks finished. So if it's not in the next release with the new interface, it will be coming right after that since it's an easy addition.
Thanks alot. I wish I could help you, but I don't know how to code...
It's ok. My "code" is somewhat chaotic, especially during this overhaul.
Turns out, I had already started working on the DC Pump page with the old/existing framework. I just have to migrate that over to the new framework. So it should be easier than I originally thought (even though it was going to be fairly easy). haha. :lol:
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: Android Reef Angel Status

Post by pandimus »

Another silly idea.. But is there any way to change up the icon.. I use it and the universal app, and I can't keep them in same folder or I get them mixed up
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

pandimus wrote:Another silly idea.. But is there any way to change up the icon.. I use it and the universal app, and I can't keep them in same folder or I get them mixed up
haha... yeah, I see your point. i dont use the labels on my homescreens and so i know what you mean. i can check into this some more and see if i can use a different logo or icon instead. one problem though is i am no good with graphics. so if it's not something I can scale or easily tweak, i cannot do it.

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

Re: Android Reef Angel Status

Post by pandimus »

Thanks.. Maybe I'll see if I can find some kind of icon program and work on something to help ease your burden
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Thanks for the work Curt.
No go back to enjoying your life. :)
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

what about using the white reef angel logo?? the one when you view the app page in the play store. it's different and unique. thoughts?

Sent from my Moto X
Post Reply