Android Reef Angel Status

Community contributed apps
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Good try. :)
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Android Reef Angel Status

Post by lnevo »

Did you happen to try the U-App yet? At least then you'd narrow it to Curt's.

Also did you try browsing on the phone to it from Chrome?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Not on the phone, but I did reach it from chrome on my laptop.

It pulled up the internal web server, but just the title.
The interface never came up.

Image
AlanM
Posts: 263
Joined: Wed Jan 01, 2014 7:26 am

Re: Android Reef Angel Status

Post by AlanM »

Do you know if the issue is with authentication or with ddns? Maybe disable the auth part and see if the android app works with ddns first?

By the way, until just now I had been reading your name as Sao-chen and assumed you were chinese and just went by Steve in real life. Now I see it's Sacohen. haha.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Android Reef Angel Status

Post by lnevo »

You need /wifi for the interface
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Android Reef Angel Status

Post by lnevo »

Alan do you tapatalk? His signature says "Steve's PDE" :)
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Haha Alan, that's funny.

The server authentication has been disabled since Roberto said that was the cause of my problems with the Portal, because the Portal is not setup for the authentication yet.
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'm having the same issue. No problems with the portal, U-App, or connecting directly to the /wifi server, but can't connect with Reef Angel Status. My no-ip address works fine.

Sao-Chen, why do you have a link to some guy named Steve's .pde in your sig? :lol:

--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:I'm having the same issue. No problems with the portal, U-App, or connecting directly to the /wifi server, but can't connect with Reef Angel Status. My no-ip address works fine.

Sao-Chen, why do you have a link to some guy named Steve's .pde in your sig? :lol:

--Colin
guess I had better look into this then. there may be something that I am not doing properly.

Sent from my Moto X
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 never tried U-App.
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 just tried U-App and it works.
Sorry Curt :(
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Sacohen wrote:I just tried U-App and it works.
Sorry Curt :(
haha... it's ok. it's probably something simple.

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 »

Alright, I followed up with the problem with the hostname resolution error. The problem is the underscore character "_". That is an invalid character to be used in hostnames.

http://en.wikipedia.org/wiki/Hostname#R ... host_names

A little exert from the article/page:
The Internet standards (Requests for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-').
Yes, these domain names work with browsers but they realistically should not work. The underscores are used in domain names but not allowed in hostnames due to specifications. There's actually a full article on the topic linked from the wiki page.
Since my app utilizes a different network library than the default/stock android library (on a side note, the library that I use will be the default library on the next iteration of android...but I digress), that library strictly adheres to the standards, thus breaks the way the DDNS is implemented by Roberto.

So, the underscore should be changed to a hyphen to meet the internet standards. This will be something that Roberto will have to handle and perform.
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 follow up.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android Reef Angel Status

Post by rimai »

It's been changed. Try again with hyphen :)
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:It's been changed. Try again with hyphen :)
awesome! that was SUPER fast. 8-)
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Perfect. It works great. Thanks guys.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Sacohen wrote: The way it is on the Portal is like the image below, but I was just thinking you could have a line on the controller screen.

Image

I don't think you need the speedometer, just a line of text for Mode, Speed, Duration and maybe Threshold since that was added to the new code.

If you want to take it further you can make it link the dimming modules where if you press it for a couple of seconds you get a drop down menu where you can choose from the available options.

I personally probably wouldn't use that because my code randomly chooses a mode everyday or on reboot.
Would this be better served as a page that can be scrolled to or just left at the bottom of the controller information? a part of me says page and another says controller information.
I'm leaning towards a separate page because that would follow with the others and have all that look isolated to a specific section. If it was at the bottom of the controller page, then it would be mixed with other values and data.

So, I dunno. The best option I think is to ask what would people would suggest?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Originally I was thinking at the bottom of the controller page, but after seeing how Roberto did it on the U-App I kinda like that.

Have you seen how he did it?
He did a separate page.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

Sacohen wrote:Originally I was thinking at the bottom of the controller page, but after seeing how Roberto did it on the U-App I kinda like that.

Have you seen how he did it?
He did a separate page.
No, I have not seen how it is there. I just loaded up the app but since I don't have a dc pump or have it enabled, it is not showing up for me.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Android Reef Angel Status

Post by lnevo »

It's the same as the RF screen Curt, except no Radion stuff :)
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Android Reef Angel Status

Post by Sacohen »

Here's a couple of screen shots.

Image

Image

The items are clickable like your PWM settings so you can press for a couple of seconds and then it will bring up a drop down menu to change the mode on a entry box to change the speed or duration.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android Reef Angel Status

Post by binder »

lnevo wrote:It's the same as the RF screen Curt, except no Radion stuff :)
awesome.

thanks for the screenshots steve
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.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Android Reef Angel Status

Post by cosmith71 »

Possible bug? Library or programming issue?

On the dimming expansion screen:

Channel 0 is at 0%. I override to value x. Value changes to **x%. Clear override. Value changes to x% (not zero) and light stays on at x%. The only way to get it back to zero is to override to 0 and then clear.

--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:Possible bug? Library or programming issue?

On the dimming expansion screen:

Channel 0 is at 0%. I override to value x. Value changes to **x%. Clear override. Value changes to x% (not zero) and light stays on at x%. The only way to get it back to zero is to override to 0 and then clear.

--Colin
hmmmm. I will have to check on it and see what I can find out.

Sent from my Moto X
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Android Reef Angel Status

Post by lnevo »

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

Re: Android Reef Angel Status

Post by cosmith71 »

lnevo wrote:Expected behavior
One would think that when the override is cleared it would return to the original value...

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

Android Reef Angel Status

Post by lnevo »

If your INO is setting a value it will.
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'm using this:

Code: Select all

  ReefAngel.PWM.Channel0PWMSlope(30);
--Colin
Post Reply