Page 2 of 12
Re: Did someone say iPhone app?
Posted: Sun Sep 18, 2011 3:12 pm
by wolfador
I forked the project to my github
https://github.com/wolfador
Went through and fixed some leaks and changed a few things. I need to get the wifi module so I can really start working on it. Any idea of I can run the same webserver on my pc that the module uses to "fake" it?
Re: Did someone say iPhone app?
Posted: Sun Sep 18, 2011 4:27 pm
by binder
Cant fake it but hopefully in the next day or 2, i will have a controller online specifically for development and testing. I will post more info when it's up and running.
curt
Re: Did someone say iPhone app?
Posted: Sun Sep 18, 2011 4:29 pm
by wolfador
binder wrote:Cant fake it but hopefully in the next day or 2, i will have a controller online specifically for development and testing. I will post more info when it's up and running.
curt
Awesome
Re: Did someone say iPhone app?
Posted: Sun Sep 18, 2011 5:05 pm
by dmolton
wolfador wrote:I forked the project to my github
https://github.com/wolfador
Went through and fixed some leaks and changed a few things. I need to get the wifi module so I can really start working on it. Any idea of I can run the same webserver on my pc that the module uses to "fake" it?
Thanks for your efforts so far. Glad the project has an experienced ios developer behind it. During half time I'll do a fetch and upload to see what happens.
-Dave
Re: Did someone say iPhone app?
Posted: Sun Sep 18, 2011 5:49 pm
by binder
wolfador wrote:binder wrote:Cant fake it but hopefully in the next day or 2, i will have a controller online specifically for development and testing. I will post more info when it's up and running.
curt
Awesome
Ok, I've got the controller online. I will ask that you try to "be gentle" with it and try not to overload it.
http://forum.reefangel.com/viewtopic.php?f=8&t=289
curt
Re: Did someone say iPhone app?
Posted: Mon Sep 19, 2011 5:20 pm
by wolfador
I will be using TestFlight for the betas so if you want to try it out sign up at:
http://tflig.ht/mZuYUi
Once everyone is signed up I will upload a build and everyone can start playing / commenting. I can have up to 91 devices during the beta test.
Re: Did someone say iPhone app?
Posted: Mon Sep 19, 2011 11:36 pm
by Xender
registered !

Re: Did someone say iPhone app?
Posted: Tue Sep 20, 2011 5:20 pm
by wolfador
to those who signed up for the testing make sure to also register your device, you just need to click on the email they sent you on your device. This will be how you get your beta builds.
Re: Did someone say iPhone app?
Posted: Tue Sep 20, 2011 7:09 pm
by dmolton
Hey Wolfador. Haven't signed up for the beta yet with TestFlight, but I did just download your latest push to github and uploaded to my phone for some testing. Nice job on the app so far, it's coming together nicely. I have some initial feedback for you.
- The splash screen a nice touch when first launching the app for the synchronous call to get the latest data

- The refresh button does not update the green timestamp on the main page when the request is finished. It only updates when switching from "Settings page" to "My Tank page". I'm also not sure if you want to do a request when switching from those two pages every time. Not that you're likely to constantly be switching between the two often, but it adds a jarring unresponsive effect when switching between two pages. Also masking a relay on/off/auto will respond with the latest data for the controller. It looks like the temp/ph values update but the time should also update at this point as well.
- A date/time format option in the settings screen would be nice. Something like "h:mm:ss tt" would be useful for some of the stateside users who are accustomed to seeing this format. I personally like the 24hr format, myself.
- An asynchronous request to the controller, if possible, would be ideal for the overall feel for the app. The request from the refresh button, and switching pages causes the application to become unresponsive for a brief couple seconds while it does the round trip. I realize it's a remnant of the apps behavior I left for you when uploading it, and I always hated that synchronous frozen app feeling. Sorry for that :/
- When the relay expansion is enabled and I try to mask relay 1 of the expansion box off, the app masks relay 1 of the original box off instead. This is true for all the states(auto/on/off) and relays for the expansion box. You just need to identify that an expansion relay is the target and increment the box id to 1.
The way masking relay expansions works is if you don't explicitly identify a box the two digits always correspond to base box. If you do identify a box, then the box id is zero based and the two following digits reflect the relay# and state.
For example:
/r42 = Base box (0) implied, relay 4, state 2 (auto)
alternatively, this command does the same thing to the same box:
/r042 = Base box (0), relay 4, state 2
for expansion box 1, just increment 0 to 1:
/r142 = Expansion box 1, relay 4, state 2
Hope this helps, and keep up the good work! It's nice to be on the testing/suggesting side of these apps finally
edit: I also managed an app crash inside the simulator once. I think I clicked on the feedback button, cancelled out of the input dialog there which lead me to the settings screen and then I quickly clicked on the My Tank button. I *think* those were the steps, at least.. I'll keep messing around and see what happens..
Re: Did someone say iPhone app?
Posted: Tue Sep 20, 2011 7:29 pm
by wolfador
dmolton wrote:
[*]The splash screen a nice touch when first launching the app for the synchronous call to get the latest data

Did you get the Reef Angel Loading..... screen? If there any ideas for a better one feel free to put it on github or let me know. If we decide to stay with that one we would at least need a higher resolution one, especially for the iPhone 4.
dmolton wrote:
[*]The refresh button does not update the green timestamp on the main page when the request is finished. It only updates when switching from "Settings page" to "My Tank page". I'm also not sure if you want to do a request when switching from those two pages every time. Not that you're likely to constantly be switching between the two often, but it adds a jarring unresponsive effect when switching between two pages. Also masking a relay on/off/auto will respond with the latest data for the controller. It looks like the temp/ph values update but the time should also update at this point as well.
Noticed that earlier when playing with it on my lunch break and forgot to write it down. haha. Should be fixed now.
dmolton wrote:
[*]A date/time format option in the settings screen would be nice. Something like "h:mm:ss tt" would be useful for some of the stateside users who are accustomed to seeing this format. I personally like the 24hr format, myself.
Can probably have it pull the "regional" time settings from the system defaults and apply that. Will add that to the "ToDo list"
edit: should be fixed now. If you set it to the standard AM/PM iOS will automatically update the formatter if the device is using 24 hour time. Could still make a switch if someone wants the iPhone to be Am/PM but the app to be 24hour.
dmolton wrote:
[*]An asynchronous request to the controller, if possible, would be ideal for the overall feel for the app. The request from the refresh button, and switching pages causes the application to become unresponsive for a brief couple seconds while it does the round trip. I realize it's a remnant of the apps behavior I left for you when uploading it, and I always hated that synchronous frozen app feeling. Sorry for that :/
Yea I haven't touched that too much, I made it a bit better for first startup so it won't connect unless the url is entered. That is definitely on the todo list.
dmolton wrote:
[*]When the relay expansion is enabled and I try to mask relay 1 of the expansion box off, the app masks relay 1 of the original box off instead. This is true for all the states(auto/on/off) and relays for the expansion box. You just need to identify that an expansion relay is the target and increment the box id to 1.
Should be fixed now, just updated the switch tags to 11,12,13 etc. I checked the /r99 on curts page and it looked like it was updating.
dmolton wrote:
edit: I also managed an app crash inside the simulator once. I think I clicked on the feedback button, cancelled out of the input dialog there which lead me to the settings screen and then I quickly clicked on the My Tank button. I *think* those were the steps, at least.. I'll keep messing around and see what happens..
That is an issue with the TestFlight SDK, they are working on it. That will all be removed before submission to the App Store since it is only for testing.
Re: Did someone say iPhone app?
Posted: Tue Sep 20, 2011 7:35 pm
by wolfador
Also, I uploaded the first and second builds to TestFlight. So you guys should be able to download, install and test.
Thanks
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 6:45 am
by Xender
Hey!
I've tested it this morning.
I don't get the datas temp (still empty)
It looks like I've got the same problem that I've got on th http web page also ("Please wait loading...")
But I can toggle On/Off my relays.
What's the blue button LED near toggle button? (Blue mask Auto, Green mask ON, Red mask Off ???)
Mine still in blue all the time.
Do we must need optiboot for having working Http server?
On
http://curtbinder.dyndns.info:2000 it's working (I didn't touch the relay ^^) Need to set password autentification here for security !
The app bug when I lunch it with Wifi Off and my IP local (working with
http://curtbinder.dyndns.info:2000). Looks like it's working when the Reef is responding.
Thanks !
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 6:54 am
by Xender
The values stay even when I retry my IP just after I tryed curt address. (There is no error sync message and the date refresh to the actual time).
Maybe you can put the date in red if there is no datas sync?
This is Curt infos :

Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 7:06 am
by wolfador
Thanks for the feedback, I am working on alerts that will display if it cannot connect.
The blue led is actually a button that puts the relay back into Auto mode.
Do you have the 2 other temp probes connected?
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 7:43 am
by binder
my setup has all the latest fixes in it, so thats why some stuff works as expected on mine.
I only have 1 temp probe plugged in. I can plug in additional ones if needed.
curt
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 8:18 am
by wolfador
Just ordered my wifi module and an additional temp sensor. Now I will be able to use the app on my own tank.
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 11:25 am
by Xender
please push your fixes then curt

Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 2:16 pm
by binder
Xender wrote:please push your fixes then curt

Soon. Im waiting on confirmation of some features plus i have to write a guide for the custom menu. Hopefully i will have it released this weekend barring any complications.
curt
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 6:54 pm
by wolfador
Uploaded latest build to TestFlight.
*Added alerts for when unable to connect or download data.
*Removed feedback button which caused crash
*Fixed bug so app does not crash when switching multiple relays quickly
*Fixed bug so exp relay shows without having to refresh
If anyone wants to create any new loading screens or interface feel free, I am terrible with graphics.
Here is what it currently looks like:

Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 7:58 pm
by rimai
Awesome!!
What type of file do you need for the logo?
Can it render vector type of files?
Re: Did someone say iPhone app?
Posted: Wed Sep 21, 2011 10:04 pm
by Xender
When you change tab from settings to tank for example, it tale long time because of the datas check. Can you change tab before checking datas? The app looks like it crash therefor
Re: Did someone say iPhone app?
Posted: Thu Sep 22, 2011 1:14 am
by Francois
This is great work guys, how would you put the application on your Iphone through SSH?
Re: Did someone say iPhone app?
Posted: Thu Sep 22, 2011 3:59 am
by wolfador
rimai wrote:Awesome!!
What type of file do you need for the logo?
Can it render vector type of files?
Here are the guidelines for the icon. I am pretty sure vector files will work.
http://developer.apple.com/library/ios/ ... mages.html
If you make one 512x512, we can just use
http://iconswitch.me/ to create all the other icon sizes.
Re: Did someone say iPhone app?
Posted: Thu Sep 22, 2011 4:03 am
by Chris
When do you think we can get it on the app store? I'm waiting till then.
Re: Did someone say iPhone app?
Posted: Thu Sep 22, 2011 4:06 am
by wolfador
Xender wrote:When you change tab from settings to tank for example, it tale long time because of the datas check. Can you change tab before checking datas? The app looks like it crash therefor
Was this on the version I uploaded last night? The first build had a bug that caused it to download the data 3 times before displaying which caused a big delay. One the newer build using Curts dev box mine updates in a split second on wifi or 3g.
Chris wrote:When do you think we can get it on the app store? I'm waiting till then.
Will probably submit this weekend for approval. Usually takes a couple days after that to get approved. You can sign up for the TestFlight site or I would just need your UUID for your device and I can email you the .ipa to install.
Re: Did someone say iPhone app?
Posted: Thu Sep 22, 2011 4:11 am
by Chris
Can't wait. I can only see my r/a on wifi and that's at home so be good to keep watch when I'm at work or out. Good work.
Re: Did someone say iPhone app?
Posted: Fri Sep 23, 2011 6:12 pm
by rimai
Here it is.
I hope this helps.
Re: Did someone say iPhone app?
Posted: Sat Sep 24, 2011 7:45 am
by wolfador
icon looks great, thanks.
We may have to scrap the loading screen since Apple is not too fond of them. But we will see. Got anything for that? Size should be 640x960. My current one looks a little grainy on the iPhone 4.
Re: Did someone say iPhone app?
Posted: Sat Sep 24, 2011 9:33 pm
by wolfador
got my wifi module in today and uploaded a new build to testflight. Let me know if there are any issues so we can fix before submitting to apple.
Re: Did someone say iPhone app?
Posted: Sun Sep 25, 2011 8:55 pm
by rimai
How about this one?