U-App Repo

Community contributed apps

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Thu Apr 11, 2019 6:52 am
@Roberto, can you confirm where I can find the repo for the currently running version of U-App (http://forum.reefangel.com/uapp/)? The running version says v2.0.6, but the master branch at GitHub (https://github.com/reefangel/U-App-2.0) seems to show 2.0.4. I have a few tweaks that I'm hoping to submit as a pull request in the near future.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Thu Apr 11, 2019 12:30 pm
BTW, the changes I have include:

[*]Menu item to show current controller time
[*]Show default labels instead of "null" if not available (which also fixes the issue with the Radion labels always showing "null" if you download labels from the portal)
[*]Allow adjusting the feeding timer from the internal memory screen
[*]Show the current mode (e.g., feeding, water change)
[*]Retry logic if HTML GET fails, which occurs quite often with my controller
[*]Turn the "Flags" tab red if there are currently active flags

I am also trying to get a change in to improve the ability for the app to automatically connect for cloud updates. I often find myself having to hit "Refresh" to get this going.
User avatar
Posts: 5416
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Thu Apr 11, 2019 8:58 pm
Great to see some work going on to improve the U-App. Nice updates, I hope to see them merged soon!

For the retry, it's super-frustrating that if my screen locks and I open the phone back right to the u-app, it loses the connection to the cloud and issuing any relay commands time-out. I then have to refresh the screen by clicking the relay tab again or switching to status and back. Either way it's super annoying. I hope some of that logic improves things like that.

Posts: 12475
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Apr 11, 2019 9:02 pm
Sorry... I forgot to push it.
Just did it :)
I hope it doesn't mess things up with your changes you made already.
Roberto.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Fri Apr 12, 2019 9:20 am
I was able to merge your changes in, and it seems to be working so far. Your changes have fixed the cloud stuff, so I now have the ability to make some changes there. I'll see what I can do to improve the connection logic.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Mon Apr 15, 2019 12:17 pm
I have also now added a way to change the Radion settings in internal memory, since the RF screen only allows you to override the values.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Thu May 09, 2019 2:21 pm
I have created a pull request for my updates. So far, I haven't solved the cloud connection issue, but I'll try to tackle that next. Want to get the current set of features out there first.

Roberto, I haven't been able to compile Cordova for iOS yet, so if you want to do this, please go ahead. I know that we're not currently releasing platform-specific apps right now, so maybe this isn't important.

Posts: 12475
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu May 09, 2019 3:19 pm
Looks awesome!!!
I'll check it out.
Not much worried on the iOS specific.
Roberto.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Fri May 10, 2019 2:50 pm
Have now added a basic reconnect logic when you lose connection (likely due to inactivity timeout). This may help with the need to reconnect every time you return to the app. Fingers crossed. I'll try to test at home tonight.

Posts: 118
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614
PostPosted: Sat May 11, 2019 5:13 am
Seems that the reconnect logic is working. I do think I broke something with default labels, so I’ll take a quick look at that. Rest is looking good.
Next

Return to Apps

Who is online

Users browsing this forum: No registered users and 1 guest

cron