The Vera Community forums have moved!

General => Remote Control => AutHomation (Android) => Topic started by: garrettwp on December 26, 2011, 07:37:37 am

Title: Public Test Build
Post by: garrettwp on December 26, 2011, 07:37:37 am
Happy Holidays everyone. I wanted to release a test build of AutHomation and AutHomationHD.

AutHomation only received a few features and bug fixes. Here are some changes:

- Added the ability to hide the dimmer slider. This prevents from accidentally activating the slider when scrolling.
- Alarm panel support
- Keyboard fix, keyboard would load when resuming app.
- minor bug fixes and tweaks

AuHomationHD received most of the big changes (mainly in GoogleTV support):

- Added the ability to hide the dimmer slider. This prevents from accidentally activating the slider when scrolling.
- Alarm panel support
- GoogleTV UI overhaul. Made some big changes to the user interface for better remote/keyboard controls. Most of everything is functional. There might be some bugs.
- Keyboard fix, keyboard would load when resuming app.
- Other minor bug fixes and tweaks.

This will be released as version 1.3 and will require to clear the app data before running the newly installed version. More changes were made to the database. I wanted to offer this test release to anyone willing to test it out and provide some feedback, especially for anyone who has a googletv box willing to test things out.

Here is the link for the releases:

https://www.wuala.com/garrettwp/Android/AutHomation/Public%20Test/?key=cqDXsXIbSidI

AutHomation = Android 2.2 and 2.3
AutHomationHD = Android 3.0 and Newer, Ice Cream Sandwich, and GoogleTV

- Garrett

Update 2011/12/28:

I updated a newer build for AutHomationHD. This newer build only has changes for GoogleTV. I changed the way the icons were displayed on the control panel (right panel). The icons are now larger and it looks better. This change increased the size of the build.
Title: Re: Public Test Build
Post by: guest13549 on December 27, 2011, 05:27:38 am

Great!

I have now two phones, since I bought a Galaxy Nexus yesterday, so timing was perfect!  :)

First I tried the non-HD on both phones, and it worked great, then I also installed the HD version on my new Nexus, and it worked great, but afaict, theres no way of adding devices to favorites. At least the long press does not do it on my phone.
It did work on the non-HD on both phones,  though.

It seams that after having run the HD version, it is not possible to start the non-HD again. Maybe a reboot of the phone will do it?! Will try...

Thanks for the slider-hiding option!

 Micael
Title: Re: Public Test Build
Post by: garrettwp on December 27, 2011, 06:04:47 am

Great!

I have now two phones, since I bought a Galaxy Nexus yesterday, so timing was perfect!  :)

First I tried the non-HD on both phones, and it worked great, then I also installed the HD version on my new Nexus, and it worked great, but afaict, theres no way of adding devices to favorites. At least the long press does not do it on my phone.
It did work on the non-HD on both phones,  though.

It seams that after having run the HD version, it is not possible to start the non-HD again. Maybe a reboot of the phone will do it?! Will try...

Thanks for the slider-hiding option!

 Micael

Micael,

AutHomationHD is meant for tablets that run Honeycomb (Android 3.0+) and Tablets and Phones that run Ice Cream (Android 4.0). This includes your phone. Though AutHomation will run on any plateform, AutHomationHD is meant for the newer versions of Android. What I would do is remove AutHomation from your Galaxy Nexus and Clear the data for AutHomationHD (start from scratch). To add a scene or device to the favorites section in AutHomationHD, just long press on the scene or device. A menu bar at the top will show, click on the 3 little boxes at the top right corner (this is Android's way of showing that there is more options available). A menu should show and there you should be able to click on "Add to favorites".

- Garrett
Title: Re: Public Test Build
Post by: guest13549 on December 27, 2011, 08:36:00 am

Garrett,

I only realized that HD was meant to run on my new phone after I had installed and run the non-HD by routine.. :)


Anyway, I removed both the non-HD and HD versions, re-installed the HD version. But I still cannot add to favorites.

[...]

Nevermind, I realize my mistake, I need to longpress on the name  :-[ Don't know why I succeeded in the non-HD version. Anyway, once I did this, I got to add the devices to favorites.  :)

Thanks,
 Micael
Title: Re: Public Test Build
Post by: dfad1469 on December 27, 2011, 09:50:04 am
This looks really good!

I was holding oiff using this app until alarm panel support was added. This realease works well with my alarm panel (Vista 128BPT with RS232).

Thanks for creating this app. I find it much cleaner than the other Android apps.

By any chance will give access to others to help you with develoment? I would be more than happy to help with development.

One quick thing that might be easy to add is smoke detectors. They look alot like switches.

Thanks again.
Title: Re: Public Test Build
Post by: garrettwp on December 27, 2011, 01:18:22 pm

Garrett,

I only realized that HD was meant to run on my new phone after I had installed and run the non-HD by routine.. :)


Anyway, I removed both the non-HD and HD versions, re-installed the HD version. But I still cannot add to favorites.

[...]

Nevermind, I realize my mistake, I need to longpress on the name  :-[ Don't know why I succeeded in the non-HD version. Anyway, once I did this, I got to add the devices to favorites.  :)

Thanks,
 Micael

Micael,

If you also long press anywhere in the white area of that device or scene, you should be able to pop up the menu. Glad it worked out for you. Feedback is more than welcome. :)

- Garrett
Title: Re: Public Test Build
Post by: garrettwp on December 27, 2011, 01:25:02 pm
This looks really good!

I was holding oiff using this app until alarm panel support was added. This realease works well with my alarm panel (Vista 128BPT with RS232).

Thanks for creating this app. I find it much cleaner than the other Android apps.

By any chance will give access to others to help you with develoment? I would be more than happy to help with development.

One quick thing that might be easy to add is smoke detectors. They look alot like switches.

Thanks again.

Right now I plan on keeping the code closed and will eventually open it up. I can tell you right now, My java and android coding is a work in progress. I can guarantee that there are probably much better ways of doing things in my code. It has been a huge learning curve, it helps that I have experience in other languages.

As for the smoke detectors, I wish I can have separate icons representing smokes, motion and so forth, however the data that I pull does not tell me any more detail than that it is a security type sensor. There has been discussion on trying to better implement devices into vera for identification. A few members on the board are working up a standardization of the alarm panel plugins. Maybe someday in the future this can be worked into.

Thanks for the comments. My goal is to try and make the app as clean as possible and easy on the eyes. I am sure more work on the UI needs to be done, but I think I have accomplished my goal so far.


- Garrett
Title: Re: Public Test Build
Post by: guessed on December 27, 2011, 06:15:18 pm
@garrettwp,
In the extended Metadata (user_data2), there is information that indicates the sub-type of MotionSensor1 (DoorSensor1 etc) for each of the SecuritySensor1 devices.  I haven't gotten there yet, but UI5 is supposed to have separate Icons for each of these sub-types.  Things like the DSC (etc) allow users to specify which Zones are to use these special sub-types.

If this information is missing from the minimal Metadata (sdata) then it would be worthwhile making a formal [bug] request to get it added, along with the other items you've already found to be missing so it can be used to build a more complete UI/CP.
Title: Re: Public Test Build
Post by: Ap15e on December 27, 2011, 07:37:57 pm
Quote
I haven't gotten there yet, but UI5 is supposed to have separate Icons for each of these sub-types.

There is an icon for smoke detectors (/www/cmh/skins/default/icons/SmokeSensor.png), but my V2@1.5.255 (migrated from UI4) doesn't make use of it ...
Title: Re: Public Test Build
Post by: garrettwp on December 28, 2011, 01:07:20 am
@garrettwp,
In the extended Metadata (user_data2), there is information that indicates the sub-type of MotionSensor1 (DoorSensor1 etc) for each of the SecuritySensor1 devices.  I haven't gotten there yet, but UI5 is supposed to have separate Icons for each of these sub-types.  Things like the DSC (etc) allow users to specify which Zones are to use these special sub-types.

If this information is missing from the minimal Metadata (sdata) then it would be worthwhile making a formal [bug] request to get it added, along with the other items you've already found to be missing so it can be used to build a more complete UI/CP.

guessed,

The short data does contain the subcategory. Is there any info on what each subcategory number relates to? It looks like smoke detectors are subcategory 4, motion is 3? Is this correct? I looked at the wiki but could not find anything.

- Garrett
Title: Re: Public Test Build
Post by: guessed on December 28, 2011, 03:38:41 am
If the doc is missing then bug that also.  Sdata is supposed to be what gets used moving forward, but it has minimal doc... Often not enough to actually use it.
Title: Re: Public Test Build
Post by: garrettwp on December 28, 2011, 07:01:10 am
If the doc is missing then bug that also.  Sdata is supposed to be what gets used moving forward, but it has minimal doc... Often not enough to actually use it.

I'll open up a ticket requesting some more documentation. I will also message MCVFlorin to see if he can provide some input.

- Garrett
Title: Re: Public Test Build
Post by: garrettwp on December 28, 2011, 07:02:25 am
I uploaded another build for AutHomationHD. This build has some changes for GoogleTV. It now has larger icons on the control panel (right side panel). Here are some screen shots:

Title: Re: Public Test Build
Post by: garrettwp on December 28, 2011, 07:02:53 am
Some more....
Title: Re: Public Test Build
Post by: wseverino on December 28, 2011, 09:37:46 am
Looking great.....
Title: Re: Public Test Build
Post by: garrettwp on December 28, 2011, 02:11:21 pm
Looking great.....

Thanks for the kind words!

- Garrett
Title: Re: Public Test Build
Post by: radarengineer on December 29, 2011, 10:34:59 am
Garrett, it is looking great! Keyboard navigation is working better for me and the new layout is a bit easier to read on the tv as well. All my relatives visiting for the holidays were really impressed I could control my house from my tv.  :)

Right now I plan on keeping the code closed and will eventually open it up.

I want to be careful how I phrase this, because I strongly believe that your code is your own and you can do with it what you like. I am very grateful for all the work you put in on this app closed or not. That being said, if you do decide to open it up in the future that would be great. I wanted to put together my own android app at one point, but yours is quite honestly nicer that what I would have come up with. I would however be interested in helping to add additional features.
Title: Re: Public Test Build
Post by: guessed on January 01, 2012, 04:21:23 pm
If the doc is missing then bug that also.  Sdata is supposed to be what gets used moving forward, but it has minimal doc... Often not enough to actually use it.

I'll open up a ticket requesting some more documentation. I will also message MCVFlorin to see if he can provide some input.

- Garrett

Looks like they keep a description of it here
    http://wiki.micasaverde.com/index.php/Luup_UPNP_Files#Device_Sub-Categories
Title: Re: Public Test Build
Post by: garrettwp on January 02, 2012, 12:01:27 am
Thanks for the link. I looked at the wiki and can not believe I did not see that section. I will update the code to reflect the sub-categories.

- Garrett
Title: Re: Public Test Build
Post by: strangely on January 02, 2012, 01:11:30 am
By the way, my smoke detectors on my DSC only show as the regular sensors also within my V3, and so its definitely not a migration from V4 thing as it was all a clean install!
Title: Re: Public Test Build
Post by: garrettwp on January 02, 2012, 02:57:16 am
I noticed that the door zones are listed as a motion subcategory for the dsc panel. All of my door sensors show a subcategory of 3 (motion) and not 1 (door). Here is what I have so far:

- Garrett
Title: Re: Public Test Build
Post by: strangely on January 02, 2012, 03:04:56 am
By the way, I just ordered a Logitech Revue :)
Title: Re: Public Test Build
Post by: garrettwp on January 02, 2012, 03:12:10 am
Awesome! I was thinking of picking up another one for my living room. Right now my main one is in my bedroom. I fixed the issue with the DSC door sensors reporting the wrong subcategory. The I_DSC file needs to be modified. I will post this in the DSC thread.

- Garrett
Title: Re: Public Test Build
Post by: strangely on January 02, 2012, 03:17:28 am
Sounds like you need a distributed HDMI solution ;)
Title: Re: Public Test Build
Post by: garrettwp on January 02, 2012, 03:39:19 am
Sounds like you need a distributed HDMI solution ;)

Ahhh, the monoprice matrix switch. Do not give me any ideas. LOL

- Garrett
Title: Re: Public Test Build
Post by: garrettwp on January 02, 2012, 11:39:22 am
So I added the sub-categories to both version of AutHomation. I might need to tweak the icons a little.

- Garrett