I also created dedicated functions for it.
Code: Select all
ReefAngel.LightsOn();
ReefAngel.LightsOff();
Code: Select all
ReefAngel.LightsOn();
ReefAngel.LightsOff();
exactly.rimai wrote:Uh... Ohh...
You will also like to know that I created the override for the PWM channels, so if you ever make this graphical representation, can we have long-press to override the values???
I created override for all light channels (standard dimming, expansion dimming, AI and Radion)
It's all in the new libs
iOS seems harder and more complicated to me.DrewPalmer04 wrote:Basically.... I'm just jealous of you android users lol
I've got something working now. It's simply a stripped down version of the commands page. The commands page will still exist though. You will swipe left from the main Status page. The only command that is not implemented is the Version command. I'm not sure how necessary or important it is to have it on that screen. It's probably not a commonly used command. Does it need to be on this page??cosmith71 wrote: Commands screen as a "swipe to" like status and main relay
binder wrote:open up the settings page and input your ip address. since you probably just have a dynamic home ip address, what most people use is a free dynamic dns address for their network. using something like no-ip.com and running their application to automatically update their ip when/if it ever changes. also, you must open up port 2000 on your router to allow access to your network from the outside world. i know there are other topics on the forum that discuss this already.topjimmy wrote:How do I set up and "Away" profile? What IP do I use?
sometimes if you try to connect too fast, the controller does not respond or if you have multiple connections being made at the same time it will error out at times.topjimmy wrote: I used the same ip and port as the portal, which works, but the app gets an error 13?
sometimes if you try to connect too fast, the controller does not respond or if you have multiple connections being made at the same time it will error out at times.topjimmy wrote: I used the same ip and port as the portal, which works, but the app gets an error 13?
yes and no. yes if you want to publish on the google play store for people to install and update. the license is a one time $25 fee (unless they raised it).DrewPalmer04 wrote:Binder: do you have to have a dev license for android apps? I'm considering converting to the android side of the world lol. My iPhone is slowing down and driving me crazy.
The flash symbol is for the Internal Memory. If you have a large enough screen, it displays memory next to it. There's also the History icon that looks like a list. Thanks for the feedback!phrusher wrote:Looks great! The two changes I've been really looking forward to are swipe to commands and the refresh moved up to the action bar (I never switch profiles either). What is the flash symbol next to refresh?
There are actually 2 services that are associated with the app. One is the auto update service and the other is just listener / communication service. If auto update is set to manual, the auto update service is cancelled. It's actually an alarm that the android service sends a message to run at the specified interval. The communication service is just sitting there doing nothing but sleeping and waiting for commands to be sent to it. It has to be there for the auto update service and for any app that wishes to communicate with the controller.phrusher wrote:As an additional request for future update, when setting update interval to Manual (never) the service should be stopped. There is no reason for the service to be active if only manual updates are preformed. Or an optional solution could be to keep the service and just update whenever the screens turns on with BroadcastReceiver and ACTION_SCREEN_ON. That would be pretty sweet.
Looks great! Just to make sure, it still remembers if Away is my preferred profile?binder wrote:In the actionbar, the "Home" profile will always be visible. If you have an Away profile enabled, then you will have "Home" and "Away" visible in the navigation list. All you must do is simply change the list to switch profiles.
yes, it remembers what profile you have selected, just like it currently does. i dont plan or try to break existing functionality unless i absolutely have to.phrusher wrote:Looks great! Just to make sure, it still remembers if Away is my preferred profile?binder wrote:In the actionbar, the "Home" profile will always be visible. If you have an Away profile enabled, then you will have "Home" and "Away" visible in the navigation list. All you must do is simply change the list to switch profiles.
Regarding the background service it sounds like the best solution is the one you are proposing. Check if its running or else start it up and shut it down after the response or it timeouts. The benefit of this is that the same code could be used on both manual and timer so it might result in slightly better maintainability. It's not super important since the service is hardly using any resources (only around 3MB on phone, 16MB on tab) but it's always a bit annoying with all the apps that don't require a service still start them
You can hold on with the "update on screen start". Manual might be sufficient and most people probably turn on the screen rather frequently and it might be spamming the controller unless some time buffer is implemented. Maybe later though
Now release it already or I have to get the source and compile it myself