Vera - Smarter Home Control Forum

General => Remote Control => AutHomation (Android) => Topic started by: garrettwp on October 04, 2011, 05:00:31 am

Title: AutHomation Info
Post by: garrettwp on October 04, 2011, 05:00:31 am
I am new to programming with Java and for the Android platform. I am not new to programming as I know other languages. I use to be an iphone user and switched to the android platform for many reasons. One of the things that I missed was a good Vera app for Android. There is homebuddy (I use and donated to the developer), but wanted something more. This is how AutHomation started.

The project started in the beginning of the year and I stopped working on it  a month or so after for time reasons. A few months ago, I had some more time and started working on the project again. It first started off for the phone and than forked over for the Honeycomb tablet (bought an Asus Transformer in the summer). I made some huge progress and finally had a working version for Honeycomb tablets only.

Recently I got a few request asking if it will be ported to Android 2.3 and older. There was one problem with that. Many of the development api's I am using for the tablet version was not available for the older versions of Android. I have been trying to conform to Google's standards with developing for the tablets. Google did release a package that would allow for both platforms to work together. So I decided to see what I can do to port it over.

I spent the last week taking the tablet code and getting it to run on Android 2.3 and older. At first I wanted to make just one app. When getting deeper into the code and making changes to make it work on 2.3 and older, I lost features and functionality on the tablet side. That is something I did not want to do. So I decided to have two versions. It would require more time to maintain, but I felt it was for the best.

At the end of the weekend, I finally had a functional (with bugs, etc) version working on Android 2.3 and older. I have it working pretty well on my HTC Evo and also on a Android 2.3 emulator. All in all, I now have a version of my application for all versions of Android (well tested on Android 2.1 and newer). So what is AutHomation about?

I want to try and keep a simple interface and have the ability to have the controls in front of me when needed. I am trying to keep to the KISS method (Keep It Simple Stupid). There is still a lot of work that needs to be done. Right now as of 2011/10/04, I am still trying to get the Android 2.3 and older version (phone version) up to par with the Honeycomb Tablet version.

Here are some FAQ:

What can it do?

AutHomation can control both scenes and devices. It has controls for most devices (still adding support) and displays information about each device and scene. There is a Favorites section (devices supported only for now).

What version of Android is supported?

The tablet version (AutHomationHD) requires Honeycomb or newer.

The phone version (AutHomation) should work on Android 2.3 and older (Only tested down to 2.1).

When will it be released?

That is still unknown. But if you are interested in giving it a try, just shoot me a pm.

How much will it cost?

I believe in open source and free software. For right now, I am going to provide the app for free. Hopefully in the future, I'll make it open source.

Any screen shots?

Android 2.3 and older (Phone version)

https://www.wuala.com/garrettwp/Photos/AutHomation/?key=pqXf8a3UT0xa

Honeycomb and newer version (Tablet version)

https://www.wuala.com/garrettwp/Photos/AutHomationHD/?key=xo0oZz1tDkEJ (need to update screen shots)


Current state of AutHomation

There is a lot to do and I need to work out all of the bugs that I find. There is a list of features that I need to still include. And many UI adjustments. This project has been a huge learning curve and I have a lot more to learn. It takes a good chunk of time and that is something that is limited. I will try update the state of the project as much as I can.

I will add more to this post over time. I will add a feature list when most of the code is implemented. I am sure there is a lot more to post. If there are any questions, suggestions, feature requests, etc let me know.

- Garrett

Here is a link to the current release for both the tablet version and phone version:

https://www.wuala.com/garrettwp/Android/AutHomation/Releases/?key=LdQaEWPoonM4

AutHomation.apk = Android 2.3 and older

AutHomationHD.apk = Honeycomb Tablets and newer

The above link will contain an update to date release. I'll post when I issue new releases. Just a word of caution. This is considered beta quality. There will be bugs and cosmetic issues. USE AT YOUR OWN RISK. I will not be held responsible for any damage this software may cause. Now that is out of the way. If you have any issues, let me know. Feedback is always welcome as well. I am up for all suggestions. Enjoy

- Garrett
Title: Re: Re: AutHomation Info
Post by: big517 on October 04, 2011, 05:26:45 am
Nice work!

Great to see more Android devs in here.  I'm looking forward to giving this a spin.  The favorites option will be useful.
I would like to see widgets for select devices so we can run straight from the home screen, or another Tasker plugin.


Oh yea, Firsties!

Title: Re: AutHomation Info
Post by: pncarrerars on October 04, 2011, 06:35:05 am
I would like to give it a try on Samsung Galaxy tab 10.1 but I cannot find a link/button to pm you.
Title: Re: AutHomation Info
Post by: napolitano172 on October 04, 2011, 07:13:47 am
I have an Android Tablet running 2.3 - would love to give this a try.
Title: Re: AutHomation Info
Post by: garrettwp on October 04, 2011, 12:44:06 pm
I have provided a link to the releases for both the tablet version and phone version in it's current state. Just a reminder:

AutHomation.apk = Android 2.3 and older (Phone version)

AutHomationHD.apk = Honeycomb and newer (Tablet version)

Enjoy

- Garrett
Title: Re: AutHomation Info
Post by: pncarrerars on October 05, 2011, 04:21:18 am
Cannot get AutHomationHD.apk to install on Samsung Galaxy Tab running Android 3.1. Get message "There is a problem parsing the package"
Title: Re: AutHomation Info
Post by: garrettwp on October 05, 2011, 05:39:30 am
Let me investigate and I'll upload a new package.

Thanks for the heads up.

- Garrett

UPDATE:

I found the issue for not installing and corrected a few glitches for running on Honeycomb 3.1. I uploaded the new package for AutHomationHD. I also uploaded a new AutHomation package for Android 2.3 and older.

Some changes in both versions:

- Added support for turning security devices (motion sensors, door, and window sensors) in armed or bypass state.

- Updated some icons e.g. security sensor toggle buttons.

- Enabled fast scrolling if the list has many items. When scrolling, you'll see a larger scroll button.

For AutHomationHD:

- Fixed issues for not running on Honeycomb 3.1.
- Updated the progress circle when refreshing to run on top of the refresh button when it getting data or sending commands.
- Added icons for high density displays (future proofing).

Title: Re: AutHomation Info
Post by: pncarrerars on October 05, 2011, 06:46:55 am
That installs ok now, thanks. I only have Everspring on/off switches, Foscam cameras & Everspring Temperature/Humidity sensor but everything seems to work correctly.

Nice to have a bit more screen space. I like the sliding on/off as it does not seem to get switched by accident. As a left hander my suggestion/request would be for a handed option to put everything to the right leaving the blank area for scrolling on the left.
Title: Re: AutHomation Info
Post by: garrettwp on October 05, 2011, 07:03:42 am
That installs ok now, thanks. I only have Everspring on/off switches, Foscam cameras & Everspring Temperature/Humidity sensor. Everything seems to work correctly except humidity reading which shows "?". The Google weather plugin humidity does display correctly.

Nice to have a bit more screen space. I like the sliding on/off as it does not seem to get switched by accident. As a left hander my suggestion/request would be for a handed option to put everything to the right leaving the blank area for scrolling on the left.

Can you provide me your lu_sdata so I can add support for the everspring? You can retrieve the lu_sdata by going to the following link:

http://ip:3480/data_request?id=lu_sdata

Where ip is the vera ip address. Before you send it off, please go through the data and carefully remove any passwords or sensitive data you might have. You can take the data and put it into a json formatter found here: http://jsonformatter.curiousconcept.com/ to have the data be easily readable. You can than send the data to authomation at garrettpower.com.

- Garrett
Title: Re: AutHomation Info
Post by: pncarrerars on October 05, 2011, 07:11:25 am
I think that I need new glasses, the Everspring temperature/humidity sensor works fine. I updated my original post but you were too quick for me!
Title: Re: AutHomation Info
Post by: garrettwp on October 05, 2011, 07:21:36 am
I just uploaded newer versions of the app. I realized I forgot to enable the code for changing the fan mode on the thermostats.

There is one slight bug with this. This is beyond my control. The issue is that the app will not display the state of the fan state e.g. auto or on. The issue relies in the lu_sdata. MCV forgot to add the data for the fan mode. So I have no way of knowing what state the fan is in. So you will see a "-" instead. There is good news, I just got word a few moments ago that this has been resolved in UI5. The bad news is that there is no set date on when UI5 will be available.

- Garrett
Title: Re: AutHomation Info
Post by: garrettwp on October 05, 2011, 08:02:40 am
I wanted to mention that for cameras, It only supports getting the image for now. I have not implemented the code for the controls. To have the image refresh, just tap on the image and it should retrieve the latest image.

- Garrett
Title: Re: AutHomation Info
Post by: garrettwp on October 06, 2011, 05:04:22 pm
That installs ok now, thanks. I only have Everspring on/off switches, Foscam cameras & Everspring Temperature/Humidity sensor but everything seems to work correctly.

Nice to have a bit more screen space. I like the sliding on/off as it does not seem to get switched by accident. As a left hander my suggestion/request would be for a handed option to put everything to the right leaving the blank area for scrolling on the left.

I wish I could add an option for moving the scroll bar to the left side. But android does not support this. Sorry I looked all over.

- Garrett
Title: Re: AutHomation Info
Post by: pncarrerars on October 07, 2011, 04:35:12 am

I wish I could add an option for moving the scroll bar to the left side. But android does not support this. Sorry I looked all over.

- Garrett

Thanks for looking.
Title: Re: AutHomation Info
Post by: guessed on October 07, 2011, 10:39:44 am
Not sure about Android, but in the raw Java frameworks you can often trigger the Right-2-Left (BiDi) behaviors by setting Language and/or BiDi properties on the panel.

That typically flips the scrollbar for native language support of R2L languages (Arabic etc)
Title: Re: AutHomation Info
Post by: garrettwp on October 07, 2011, 06:12:55 pm
I'll try and get a new build out tonight. Been busy with house work. :( But I have fixed a few issues that guessed brought to my attention and added a few little features. Just trying to mess with the UI side (the most pain in the butt part of the whole app). Hopefully I can get some of the major features in soon (e.g. camera controls, etc). Also need to implement the search feature for the phone version to get it on par with the tablet version.

- Garrett

If anyone has any issues or feedback, please let me know.
Title: Re: AutHomation Info
Post by: garrettwp on October 08, 2011, 10:40:39 am
I have released a new version of AutHomation and AutHomationHD:

Changes:

Version 1.01

AutHomation:

- Fixed the way the comments show up. It will now not push the device row down.
- Fixed an issue with the seekbar not always showing the correct thumb icon.
- Auto refrsh was not working when display scenes or devices from a room.
- Added additional categories for devices.
- Updated the libraries that the application relies on (e.g. gson, android-query)
- A progress wheel will show when retrieving image for camera
- Updated a few icons for hdpi devices
- Application version number should now change with each release. *SEE NOTE

AutHomationHD:

- Added additional categories for devices.
- Updated the libraries that the application relies on (e.g. gson, android-query)
- A progress wheel will show when retrieving image for camera
- Some additional layout tweaks (mostly minor)
- Application version number should now change with each release. *SEE NOTE


NOTE:

With each version change, after you install the app and run it, it will load the settings section.
This is to make sure that proper settings get updated.

I was hoping to get more changes in but have been busy the last few days. Please report any issues and feedback. You can get the latest release from the link posted at the end of the first post.

- Garrett

Title: Re: AutHomation Info
Post by: Ap15e on October 08, 2011, 05:54:32 pm
Custom plugins don't work very well with Non-MCV-GUIs.

I think you found a quite elegant solution to the problem by providing the device information in a separate window.

IMHO the best solution would be to parse D_*.json for the information how the device would like to present itself to the user.
But AFAIK remote clients cannot access D_*.json ...

If there is no access to the presentation definition, a Luup plugin could provide its intended GUI appearance via an UPnP variable:

variable name:
GUI_PRESENTATION
value:
<text prefix>,<UPnP SID>,<UPnP variable>,<text suffix>[;...]

Example:
futzle's EnviR plugin would provide an UPnP variable GUI_PRESENTATION with value
Power: ,urn:micasaverde-com:serviceId:EnergyMetering1,Watts, W

The Non-MCV-GUI rendering engine could even render the contents of the <UPnP variable> as HTML. :)

Any thoughts?

Yes, I know this would be an (ugly?) hack, but I never heard any news about http://forum.micasaverde.com/index.php?topic=1784.msg6450#msg6450 ...
Title: Re: AutHomation Info
Post by: Ap15e on October 09, 2011, 08:53:18 am
... and even the end user could add the variables GUI_PRESENTATION to the plugins.
Title: Re: Re: AutHomation Info
Post by: automator.app on October 09, 2011, 12:24:00 pm
Custom plugins don't work very well with Non-MCV-GUIs.

I think you found a quite elegant solution to the problem by providing the device information in a separate window.

IMHO the best solution would be to parse D_*.json for the information how the device would like to present itself to the user.
But AFAIK remote clients cannot access D_*.json ...


It's possible, this is what Automator.app does, and thus can render custom plug-ins.  All the information is available to remote clients, it's just a matter of figuring out how it all works with Vera now.
Title: Re: AutHomation Info
Post by: Ap15e on October 11, 2011, 06:02:48 pm
Quote
It's possible, this is what Automator.app does, and thus can render custom plug-ins.  All the information is available to remote clients, it's just a matter of figuring out how it all works with Vera now.

You're right, user_data2 does contain the rendering information. Search for the DeviceType/device_type in static_data and render all elements with "ControlHeader": "1" ...

@garrettwp
Would you be willing to add the rendering for custom Luup plugins to AutHomation?
Title: Re: AutHomation Info
Post by: garrettwp on October 12, 2011, 07:45:38 am
If I were using user_data2, this would be something I would have considered. However, I am using lu_sdata which contains a much smaller set of data. This is what MCV suggests when building control UI's (this is suppose to be the new way). Origionally I was using user_data2 and when MCV updated their wiki and some digging, I decided to switch over to lu_sdata. The data from lu_sdata is only about 10.5KB for my setup and the user_data2 version is 320KB. So there is a huge savings in downloading the data as well as less resources are being used when parsing the data for the required information.

There is suppose to be a way of setting short codes in the plugins that would get generated in the lu_sdata. I do not know much about making plugins for vera, but if the plugins contained the short codes for what information needs to be displayed etc, I can parse that information. I also use the category number in the lu_sdata to determine the type of device it is. Not all plugins contain a category number. Maybe this is something we need to brainstorm to help make things more organized and to allow for third party interfaces work well with plugins.

On a different topic, I have been busy the last few days with work. I have not had a whole lot of time to work on AutHomation. But I do want to say that I am adding new layouts that will work better with larger screens (7inch and 10inch) for Android 2.3 and older. I overlooked some documentation on the android developers page for designing for different screen sizes and I am adding code to have a similar layout to the AutHomationHD version for these larger screen devices. So for all those nook and cheaper tablet users will soon have a similar experience that the Honeycomb version has to offer. Hopefully I can have something out in the next few days. There will be other minor fixes and changes added as well.

- Garrett
Title: Re: AutHomation Info
Post by: Ap15e on October 12, 2011, 01:17:26 pm
Quote
However, I am using lu_sdata which contains a much smaller set of data. This is what MCV suggests when building control UI's (this is suppose to be the new way)

IMHO MCV's suggestion is flawed in the sense that lu_sdata doesn't contain rendering information for custom plugins that are using new UPnP services.

Quote
The data from lu_sdata is only about 10.5KB for my setup and the user_data2 version is 320KB.

Valid and important point, but the rendering information in user_data2 is quasi-static and could be cached.

Quote
There is suppose to be a way of setting short codes in the plugins that would get generated in the lu_sdata. I do not know much about making plugins for vera, but if the plugins contained the short codes for what information needs to be displayed etc, I can parse that information.

AFAIK there is no standardized way to get rendering information across using lu_sdata. lu_sdata even may contain data that isn't meant to be rendered on the GUI.
Title: Re: AutHomation Info
Post by: guessed on October 13, 2011, 10:14:46 pm
.... lu_sdata even may contain data that isn't meant to be rendered on the GUI.

user_data2 most definitely has WAY too much data in it, stuff like MAC addresses of stuff on your Network (etc), that are really part of the backend implementation, not something that should be exposed to a [remote] Control Point.

Looking at it, you can understand why they want to move people away from it, but the lu_sdata implementation seems to have swung too far in the other direction (too little information for UI tools)
Title: Re: AutHomation Info
Post by: Ap15e on October 14, 2011, 07:28:19 am
Not to forget the leakage or passwords for cameras and the leakage of custom Lua code for scenes and events.

One could probably install a custom handler that extracts the rendering information from user_data2 and provides the rendering information to the UI client.
Title: Re: AutHomation Info
Post by: DanTDS on November 16, 2011, 08:00:27 pm
Nice work. Very beautiful app. It's working in my old Galaxy I7500.

Congratulations and thank you
Title: Re: AutHomation Info
Post by: garrettwp on November 17, 2011, 04:13:55 pm
Thanks for the positive comments. I am hoping to release both versions to the market soon. I've added some new features and rewrote some of the code. Also trying to add support across most of the android plateforms. I am also looking into googletv support. I have it running in the googletv emulator, have some usability kinks to work out. Hopefully I can release a new update in the next few days.

- Garrett
Title: Re: AutHomation Info
Post by: DanTDS on November 17, 2011, 05:24:34 pm
Will be awesome if it were possible a generic remote with some buttons like volume, channel, power, source. So will make it simple to control the AV.
Title: Re: AutHomation Info
Post by: jwiz on November 17, 2011, 06:35:42 pm
Is there going to be support for alarm partitions.

Title: Re: AutHomation Info
Post by: garrettwp on November 18, 2011, 07:00:49 am
Alarms are on my todo list, however the way I get the data e.g. lu_sdata, not all of the required information is there. But it is on my list of features to add. As for AV control, I will add that to my list as well.

- Garrett
Title: Re: AutHomation Info
Post by: goingtohurt on November 20, 2011, 05:59:15 pm
Nice work! I've been waiting for a Android app that has some polish.
Title: Re: AutHomation Info
Post by: garrettwp on November 24, 2011, 05:02:35 am
I just released version 1.2 for testing. You can see what has been changed/added here:

AutHomation Releases (http://forum.micasaverde.com/index.php/topic,8156.0.html)

Let me know if you run into any bugs/issues. Suggestions and comments are welcome.  :)

- Garrett

p.s. Happy Thanksgiving everyone!
Title: Re: AutHomation Info
Post by: vespaman on November 27, 2011, 04:49:40 am
This app is great!

I love especially how fast it starts up, and the size of the switch buttons!

I love it! :D

Here's some things that could be improved imvho:
If you are in the 'Favorites' view: When pushing the app to background, to open some other app: On return to AutHomation, the virtual keyboard is brought up.
(Does not matter if I return to AH using the task list or use the AH program icon to return).

After pressing a button the user interface gets tied up the some background stuff (presumably sending), where one is presented with a 'working' icon and some information about the sendout. During this time, the user interface reacts as if it was accepting commands, which it isn't (at least not fully).
It would be nice if the request could be put into a queue, so one could switch on/off the same device without having to wait for the current job to finish.
This is mainly an issue if one accidently presses the wrong device during scroll etc.

It is quite common to accidently hit a dimmer device drag bar when scrolling, especially if one is scrolling just after switching on/off a device. (Maybe it is me that is a bit clumsy)

I use the non-hd version, along with 'favorites'. Since I have a few devices, even the favorites gets to have quite many items.
Once idea that I would like, would be if one could add/create multiple favorites (e.g. 'Upper Floor' / 'Basement') to the start menu.


Cheers!

  Micael
Title: Re: AutHomation Info
Post by: williammanda on November 27, 2011, 02:36:54 pm
Is there any way to intergrate media in to this? Please see post:
http://forum.micasaverde.com/index.php/topic,8492.0.html
Title: Re: AutHomation Info
Post by: williammanda on November 27, 2011, 03:06:03 pm
Are there any videos ie You Tube that show the functionality?
Title: Re: AutHomation Info
Post by: garrettwp on November 29, 2011, 02:57:11 am
This app is great!

I love especially how fast it starts up, and the size of the switch buttons!

I love it! :D

Here's some things that could be improved imvho:
If you are in the 'Favorites' view: When pushing the app to background, to open some other app: On return to AutHomation, the virtual keyboard is brought up.
(Does not matter if I return to AH using the task list or use the AH program icon to return).

After pressing a button the user interface gets tied up the some background stuff (presumably sending), where one is presented with a 'working' icon and some information about the sendout. During this time, the user interface reacts as if it was accepting commands, which it isn't (at least not fully).
It would be nice if the request could be put into a queue, so one could switch on/off the same device without having to wait for the current job to finish.
This is mainly an issue if one accidently presses the wrong device during scroll etc.

It is quite common to accidently hit a dimmer device drag bar when scrolling, especially if one is scrolling just after switching on/off a device. (Maybe it is me that is a bit clumsy)

I use the non-hd version, along with 'favorites'. Since I have a few devices, even the favorites gets to have quite many items.
Once idea that I would like, would be if one could add/create multiple favorites (e.g. 'Upper Floor' / 'Basement') to the start menu.


Cheers!

  Micael

I put in a fix for the keyboard issue loading when resuming the app. You should be able to turn on several devices at a time. Though there may be some glitches in doing so due to how the code works. I will look into queue up tasks, however, this may/will require rewriting code and will require some thinking / brainstorming on the best way to do this. As for the slider for the dimmer, yes this can be an issue. I need to think of the best way to prevent this (not an easy task). What I can do is have the slider hide until you touch anywhere in the area of the device to have it display. I need to do some brainstorming here. For the time being, you can scroll by placing your finger to the left side of the screen.

- Garrett
Title: Re: AutHomation Info
Post by: garrettwp on November 29, 2011, 02:57:52 am
Is there any way to intergrate media in to this? Please see post:
http://forum.micasaverde.com/index.php/topic,8492.0.html

At this time no.

- Garrett
Title: Re: AutHomation Info
Post by: garrettwp on November 29, 2011, 02:59:42 am
Are there any videos ie You Tube that show the functionality?

I have no videos of the app in action. If I get time, I will try and make a video. Since the app has gone through various stages of design and since it is still considered in testing, making a video of it right now would not be a good idea.

- Garrett
Title: Re: AutHomation Info
Post by: garrettwp on November 30, 2011, 07:19:10 am
I wanted to post that I was able to test my app on a co-workers kindle fire. I can say that the app works really well on the device. Choosing to force the tablet layout under the "App Settings" makes the experience pretty nice. I did notice a few little UI issues that I will need to fix. Between the Kindle Fire and BN Nook Tablet, I say they are great cheap controllers for Vera.

- Garrett
Title: Re: AutHomation Info
Post by: vespaman on November 30, 2011, 01:23:55 pm
As for the slider for the dimmer, yes this can be an issue. I need to think of the best way to prevent this (not an easy task). What I can do is have the slider hide until you touch anywhere in the area of the device to have it display. I need to do some brainstorming here. For the time being, you can scroll by placing your finger to the left side of the screen.

- Garrett

Hiding dimmer slider is a good solution as far as I'm concerned (others may disagree, obviously).

Thanks,
 - Micael
Title: Re: AutHomation Info
Post by: garrettwp on November 30, 2011, 01:31:03 pm
As for the slider for the dimmer, yes this can be an issue. I need to think of the best way to prevent this (not an easy task). What I can do is have the slider hide until you touch anywhere in the area of the device to have it display. I need to do some brainstorming here. For the time being, you can scroll by placing your finger to the left side of the screen.

- Garrett

Hiding dimmer slider is a good solution as far as I'm concerned (others may disagree, obviously).

Thanks,
 - Micael

It is only a few lines of extra code. But It causes a bug, well cosmetic bug. When the slider is pressed to set light level, it will hide. I need to fix this. I can also add an option in the settings to toggle hiding of the slider. So the user can decide.

- Garrett
Title: Re: AutHomation Info
Post by: jwiz on December 01, 2011, 01:32:52 am
I think giving the user the option to hide the slider would be a great feature.
Title: Re: AutHomation Info
Post by: mario23 on December 20, 2011, 08:27:59 pm
Garrett...are u taking donations for ur work!
Its working great with ui5 And on my android phone, tablet and Google TV.
Great work...
Title: Re: AutHomation Info
Post by: garrettwp on December 21, 2011, 07:22:59 am
Garrett...are u taking donations for ur work!
Its working great with ui5 And on my android phone, tablet and Google TV.
Great work...

I am glad you are enjoying the app. If you have any issues, please let me know. I am trying to get an update out by the end of the year that should have better googletv integration (reworking the interface). I also added alarm system support and fixing any bugs I can find and other little features. I have not set anything up for donations, but if you want to donate, you can send a donation via paypal to (garrett dot power at gmail dot com). Here are a few screen shots of the googletv ui.

- Garrett

Title: Re: AutHomation Info
Post by: garrettwp on December 21, 2011, 07:23:23 am
And another....
Title: Re: AutHomation Info
Post by: myhomeserver on January 17, 2012, 02:12:17 pm
Hey there, thanks for continuing to update this app.  Do you have plans to integrate shortcuts so we can place shortcuts to scenes on the Android desktop like HomeBuddy allows?  This is really the only feature that I miss, and also separate ON/OFF buttons since in many cases my devices don't report back immediately their status, so I have to turn them ON, then OFF if Vera doesn't know the state.

Thanks again for a great app!

Title: Re: AutHomation Info
Post by: garrettwp on January 19, 2012, 12:24:30 am
Hey there, thanks for continuing to update this app.  Do you have plans to integrate shortcuts so we can place shortcuts to scenes on the Android desktop like HomeBuddy allows?  This is really the only feature that I miss, and also separate ON/OFF buttons since in many cases my devices don't report back immediately their status, so I have to turn them ON, then OFF if Vera doesn't know the state.

Thanks again for a great app!

Shortcuts are on the list, but will probably not be implemented any time soon. As for the multiple buttons, one for off and one for on, I can add this request. But I would like to know if others would like this as well. It will require a little bit of work.

- Garrett
Title: Re: AutHomation Info
Post by: guessed on January 19, 2012, 10:35:04 am
I like the toggle buttons.  I'm more interested in a simplified (GoogleTV) interface with the secondary controls (sort/filter) hidden and improved DPad navigation.
Title: Re: AutHomation Info
Post by: garrettwp on January 19, 2012, 10:50:49 am
I like the toggle buttons.  I'm more interested in a simplified (GoogleTV) interface with the secondary controls (sort/filter) hidden and improved DPad navigation.

guessed,

Did you load up the current release on the googletv? It should have better navigation and the options are hidden.

- Garrett
Title: Re: AutHomation Info
Post by: guessed on January 19, 2012, 10:52:09 am
Will pull the latest tonight, was away for a week so might have missed the announcement
Title: Re: AutHomation Info
Post by: garrettwp on January 19, 2012, 10:53:28 am
Should be version 1.3.3. If you go back a page, you can see what it looks like.

- Garrett
Title: Re: AutHomation Info
Post by: guessed on January 21, 2012, 03:25:55 pm
Should be version 1.3.3. If you go back a page, you can see what it looks like.

- Garrett
Ok, I fired up 1.3.3 and I'm still having similar DPad navigation issues.  Specifically, my default display is devices, so I'm initially presented with the Global section, and the ALL devices list.

The focus is initially on the ALL element, and clicking the Right arrow should move me to the top of the ALL Devices list, with the first Device highlighted/focused, but instead it moves me to the search/magnifying glass at the top of the UI...

Once I'm here, it's hard to get out again using only the DPad.

I like the static pane display you now have for the lit of Devices, and that you have to Select/OK there in order for the last (4th) pane to become active in order to make a change.

I'm wondering though, real-estate and navigation wise, whether it makes sense to make the display more like the Built-in "TV & Movies" app.  In this app, it displays Rows of categorized movies (All, Comedy, Drama, Family, and so on) As Section headings for the row with a (horizontal) list of the actual Movies beneath.  This list is ~6 movies per row, with a > at the end that puts them into a grid style display (6x3 scrolling) which is very fast to navigate.

You could imagine doing the same for HA devices.  The categories would be either room-centric (All, Living, Family, Bedroom1, etc) or Device Type centric (All, Lights, temperature, Motion, etc) and could have similar scrolling behaviors for a Dense display...  Try it with the DPad to see what I mean.

In your case, the one difference would be to present a transient/pop up dialog-like widget to manipulate the device (lights On/Off, dim levels, alarm arming, etc) instead of a permanent 4th panel display as you have it now.  This could be displayed once the user made their device select, as a dialog like overlay.

Search could also be integrated into this list.  Instead of having the user navigate to the Search button, you could let them start typing any part of a device name, and have the UI auto-filter the list of devices down to the matching set.


Anyhow, just a few thoughts...
Title: Re: AutHomation Info
Post by: chris66 on June 13, 2012, 08:41:57 am
Very nice the new interface! One question, with the roller shutter (Fibaro for example), will it be a possibility to manage the aperture from 0% to 100%, I mean with intermediate position, like in the Vera androïd interface? Great job!
Title: Re: AutHomation Info
Post by: garrettwp on June 13, 2012, 10:23:16 am
Chris,

Not sure I follow correctly, but you should be able to control the shades via a slider if supported. Since I do not have any controllable shades, support in the app may be glitchy.

- Garrett
Title: Re: AutHomation Info
Post by: chris66 on June 13, 2012, 01:18:06 pm
@Garrett, I don't have a slider now for my shutter in your application, but I do have in the UI5 web interface (0- 100%). The slider appears in the Vera Android application too. But I can live without! ;)
Title: Re: AutHomation Info
Post by: garrettwp on June 13, 2012, 01:49:47 pm
Can you send me your lu_sdata so I can have a look? If you have a level value for the shutter, the slider should be made available in the app. Does the slider function in the Vera web interface? This could be a bug in the app. Like I said, window coverings may be a little glitchy in my app as I do not own any and I only had one user provide me their data to add in window covering support. I would like to get this worked out if I can.

- Garrett
Title: Re: AutHomation Info
Post by: chris66 on June 13, 2012, 04:57:25 pm
Ok, send you tomorrow. The slider is available in Home Buddy and Vera Mobile.
Title: Re: AutHomation Info
Post by: chris66 on June 17, 2012, 01:17:36 pm
@Garrett,  :-[ the lu_sdata, I can find this with WinSCP in a directory that you will provide me? Thanks. ;)
Title: Re: AutHomation Info
Post by: garrettwp on June 17, 2012, 09:39:24 pm
You can retrieve the lu_sdata by going to the following link:

http://ip:3480/data_request?id=lu_sdata

Where ip is the vera ip address. Before you send it off, please go through the data and carefully remove any passwords or sensitive data you might have. You can take the data and put it into a json formatter found here: http://jsonformatter.curiousconcept.com/ to have the data be easily readable. You can than send the data to authomation at garrettpower dot com.

- Garrett
Title: Re: AutHomation Info
Post by: chris66 on June 18, 2012, 02:16:41 am
Hello, Garrett,
It works now. Latest version uploaded last night. Now when I click on the roller device I can see the slide. I think before too, but as a dummie, I forgot to click on the device, so I saw only open  and close, thank you anyway, great app!
chris
Title: Re: AutHomation Info
Post by: garrettwp on June 18, 2012, 04:12:32 am
Glad to know that it works. You can allow for the slider to show up on the tile by going into the settings -> device settings -> window covering tile controls, you can select either open/close or the slider.

- Garrett
Title: Re: AutHomation Info
Post by: jayor on September 04, 2012, 03:15:17 pm
Hi garret
Thanks a lot for this app. It's beautifull and very fast. However to connect or disconnect an alarme, is it possible to add this option : write a password be able turn on a switch ? It would be perfect. Else i have got the plugin teleinfo, is it possible to see the power and if the electricity counter is in the "heure pleine" mode or in the "heure creuse" mode?
Title: Re: AutHomation Info
Post by: csader on December 14, 2012, 07:44:38 pm
Hi Garrett,

I definitely like the direction you're going with AutHomation.

I'm a User Experience Engineer, and I'd like to see if you're interested in teaming up to work together on this app? I'm passionate about designing simple, usable products and I don't have any programming skills whatsoever, so for me to realize my ambitions to create a Vera app with a top notch UX, I need someone like you to be able to help me put my designs into action. :)

As I mentioned, AutHomationHD is a great looking app so far, and I feel like we could work together to make it even more awesome.

What are your thoughts?

- Chris

Title: Re: AutHomation Info
Post by: RichardTSchaefer on December 14, 2012, 11:20:00 pm
Quote
As I mentioned, AutHomationHD is a great looking app so far, and I feel like we could work together to make it even more awesome.

Chris,
You may be the best person for this job ... but every end user also thinks they are the expert and lots of folks have made requests for changes ... I would suggest you start by providing serious concrete suggestions ... not just the basic textbook UI objectives.

At this point if I were Garrett I would be asking ... who is this person that wants to be equal partner on design deccisions on a product that I have put lots of innovation and effort into ?
 
Title: Re: AutHomation Info
Post by: csader on December 15, 2012, 02:23:39 am
Richard, I appreciate your concerns, but you make it seem as though I'm asking to take over. I never said anything about being equal partners...I simply want to offer my experience, which I've worked hard to achieve in my career and have applied to many software interfaces, mobile or otherwise.

I'm a little taken aback by being questioned by you on multiple threads, when all I'm asking is to help. If the developer doesn't want to respond, he doesn't have to.

As for making suggestions now, that's not how I work. In order to design a system that's going to provide an exceptional user experience, there's a lot more that goes into it than just making suggestions. The word "user" is in my job title, and if I go around designing things without taking user feedback into account, then I would just be making stuff up.
Title: Re: AutHomation Info
Post by: Chimpware on February 10, 2013, 07:14:37 am
Garrett, tried this app on a Google TV and hacked Kindle running JB and it was OK, but was not really impressed.

That all changed with a Nexus 4, this app is really very good.  It is fast and the UI works really well on a phone.  With the additional functionality of Tasker (or others) integration and widget support through this, it is really a nice piece of work, very well done.
Title: Re: AutHomation Info
Post by: Aaron on February 10, 2013, 01:24:38 pm
Quote
As I mentioned, AutHomationHD is a great looking app so far, and I feel like we could work together to make it even more awesome.

Chris,
You may be the best person for this job ... but every end user also thinks they are the expert and lots of folks have made requests for changes ... I would suggest you start by providing serious concrete suggestions ... not just the basic textbook UI objectives.

At this point if I were Garrett I would be asking ... who is this person that wants to be equal partner on design deccisions on a product that I have put lots of innovation and effort into ?

Richard makes good points. I an a few other avid users of AutHomation have provided ideas/suggestions and Garrett accommodated when possible and sometimes when he did not think it possible ;) ... thus, pretty awesome job for a side project.

I have designed many UIs and think Garrett has done a very good job give the main target is Android smartphones. There are only 1 or 2 navigational changes I'd want as it sits and maybe a few different ones when targeting larger screens - if he chooses to do so.

If you look for some of my posts you'll see my thoughts around the ability to make AuHomation a dedicated 24x7 dashboard app for a tablet for users/family/guests/etc... I was thinking about getting a few small tablets and hanging them on the walls in a few places.

I think the UI is almost where it needs to be to do it. A few things that would help...
1) user definable Clock panel - user can choose the location onscreen
2) user definable layouts that can be imported/exported - I can see needing to define specific screens based on the location of the tablet.
3) user definable custom device panels - panels that can contain user defined by size, location and content. I could see wanting panels that contain only text, like instructions for guests. I could see this being possible by using custom Vera devices that contain the text and AH just displays that text without any controls.

What else are you thinking is needed? What are your goals with the app?


Title: Re: AutHomation Info
Post by: Kyacker on February 11, 2013, 11:38:45 pm
I am running this on hacked pandigital novels as controller stands and I can't thank you enough for your app. Thanks for your hard work. The UI is great and it really makes for a nice setup for what I'm using it for.
Title: Re: AutHomation Info
Post by: JamesM on February 12, 2013, 08:08:46 am



My biggest "wish list" item is to have the app launch automatically when docked.
Title: Re: AutHomation Info
Post by: Chris H. on February 25, 2013, 11:59:22 am
Garrett, great job on this app, thank you very much for your hard work. I went out and bought Sony Google STB just to run this app on my TV so I can view my camera and control my house from the coach without having to pull out my iphone or ipad.

Without your app I would of returned the Google TV after the first day, their implementation of Netflix, YouTube and lack of Hulu can't compare to an AppleTV at half the price. Now if I could put XBMC on it than it could be usefull, but until then it is a very expensive player for your app.

Keep up the great work and please don't forget about the Google TV versions.
Title: Re: AutHomation Info
Post by: garrettwp on February 25, 2013, 02:20:36 pm
Chris H., glad you like using the app. I wish I can say support for GoogleTV is up to par with the phone and tablet modes, however this is not true. The current betas have not been test for GoogleTV integration due to my Logitech Revue not being operational. This has limited me on testing and making sure things are working ok on the GoogleTV front. I can guarantee that there will be issues if trying to run the beta on the GoogleTV (I had to remove the option in the app that it supports googletv to not allow installs. I still want to continue support for the platform, I just need to pick up another box (maybe the vizio costar). I just do not know when.

Right now I am focused on getting the bugs worked out on the current beta to release to the market. I hope I have worked out the latest issues and will be releasing an updated beta shortly. My time has been very limited in the last week due to a lot of things going on at work. I barely have time to post on the forum and when I do it's via my phone when I have a few seconds of free time.

- Garrett
Title: Re: AutHomation Info
Post by: Cor on April 25, 2013, 02:43:00 pm
I noticed that the temperature sensor of the fibaro 3in1 sensor is not shown in authomation.

Thanks,
Cor
Title: Re: AutHomation Info
Post by: garrettwp on April 25, 2013, 03:51:49 pm
Cor,

Is this AutHomation or AutHomationHD and what version?

- Garrett
Title: Re: AutHomation Info
Post by: Cor on April 25, 2013, 06:01:54 pm
Hi Garret,

It is Authomation HD, version 2.1.1.2

Thanks,
Cor
Title: Re: AutHomation Info
Post by: garrettwp on April 25, 2013, 06:31:33 pm
Can you load the latest beta? A lot has changed from that version. You'll need to uninstall and install the new version. The newest version is 3.0.1.0. Let me know if you still have the issue.

- Garrett

Title: Re: AutHomation Info
Post by: Cor on April 26, 2013, 04:20:58 am
yep, wildo.

Cor
Title: Re: AutHomation Info
Post by: Cor on April 29, 2013, 08:36:27 am
I just uninstalled the older version of authomation HD and downloaded-installed the apk file.  Unfortunately I am not at home for the next week and need to set it up remoteley.Now the app is asking for vera serial number  >:(

Anyway to get this from my vera when i am not at home. I am able to login on a computer remotely which is on my house and also use telnet-putty top login on the vera3.... but what are the commands to get the serial number?
 
Hmm,also , what to insert in: remote server,ip adress (local ip adress?) and port?

thanks,
Cor
Title: Re: AutHomation Info
Post by: futzle on April 29, 2013, 08:50:47 am
# nvram get serial_no
Title: Re: AutHomation Info
Post by: RichardTSchaefer on April 29, 2013, 09:10:02 am
http://sta1.mios.com/locator.php?username=user


Where User is your MIOS user ID
It's the first field.
You can also get it if you login to cp.mios.com
Title: Re: AutHomation Info
Post by: garrettwp on April 29, 2013, 09:26:50 am
You can also use the auto configure option. If it can not find your vera e.g. on your local network, it will prompt you for your username and it should configure the rest.

Thanks Richard and Futzle for the help.

- Garrett

Title: Re: AutHomation Info
Post by: Cor on April 29, 2013, 11:58:49 am
Thanks for the help, The auto configure now worked , this morning in another hotel , it didn't ..... working fine now :-)

I noticed that the fibaro 3in1 sensor isn't showing correctly, it does show the motion sensor part of it , but not the temperature part when a temperature sensor is connected.

Cor
Title: Re: AutHomation Info
Post by: garrettwp on April 29, 2013, 12:36:40 pm
Cor,

Can you provide me with some information so I can get support added for you?

You can find the information here:

http://www.authomation.net/authomation/documentation/troubleshooting

I can than see what I am missing to add the temperature support. I will be releasing a new beta in the next few minutes to fix bugs that I introduced in 3.0.1.0 and some that were reported in the last week or so.

- Garrett
Title: Voice Commands
Post by: spudjr on April 29, 2013, 07:16:57 pm
Is there a list of all Available voice commands. Know about turn on, turn off but am sure there are lots more.
Thanks
Title: Re: AutHomation Info
Post by: garrettwp on April 29, 2013, 09:42:28 pm
When in the voice recognition portion of the app, hit the icon with the exclamation "!" point. It should pop up a Window showing you a list of commands.

- Garrett

Title: Re: AutHomation Info
Post by: spudjr on April 29, 2013, 09:52:04 pm
Thanks. Great app. Bought a Asus Memo 7 to run it on in the kitchen. Works great, thanks for developing.
Title: Re: AutHomation Info
Post by: Cor on May 01, 2013, 09:35:47 am


Can you provide me with some information so I can get support added for you?

I can than see what I am missing to add the temperature support. I will be releasing a new beta in the next few minutes to fix bugs that I introduced in 3.0.1.0 and some that were reported in the last week or so.


I Have just emailed jou the requested data.

The new version 3.0.1.0 also doesn't show the temperature from this 3in1 sensor.

Is it possible to add in AuthomationHD the possibility to use the sonos system?  They are also not shown in the app.

Thanks,
cor
Title: Re: AutHomation Info
Post by: garrettwp on May 01, 2013, 10:10:01 am
Got your email. I'll look into the issue. I'll add support for the sonos in the future. I want to get this version in the app store. Then I can focus on adding more plugin support.

- Garrett

Title: Re: AutHomation Info
Post by: Cor on May 06, 2013, 01:35:45 pm
I think yesterday my phone updated to 3.0.1.1 (maybe), and it is not working how it should anymore :-s

I have 2 vera's, the main one and there is a "slave" one, I controll the devices/scenes of the "slave" one trough the main vera.

Today I noticed I get an "empty response"  when I select a scene which uses a device on the "slave" , when I select a device on the slave it tells me "connection refused"   Also when I  go to setting and select vera , it shows only 1 , last week it showed both of my vera's. ( I never added the second vera on previous versions).

I found also something annoying in this version;
-select on the top for example devices, go to a specific room.
-swipe to right right, and on this menu select scenes.
The programm doesn't stay in the same room ,but goes to another room.  For me I prefer to stay in the same room, since obviously , I wanted scenes or devices from that room.


Thanks,  best regards,
Cor
Title: Re: AutHomation Info
Post by: garrettwp on May 07, 2013, 01:35:03 am
I think yesterday my phone updated to 3.0.1.1 (maybe), and it is not working how it should anymore :-s

I have 2 vera's, the main one and there is a "slave" one, I controll the devices/scenes of the "slave" one trough the main vera.

Today I noticed I get an "empty response"  when I select a scene which uses a device on the "slave" , when I select a device on the slave it tells me "connection refused"   Also when I  go to setting and select vera , it shows only 1 , last week it showed both of my vera's. ( I never added the second vera on previous versions).

I found also something annoying in this version;
-select on the top for example devices, go to a specific room.
-swipe to right right, and on this menu select scenes.
The programm doesn't stay in the same room ,but goes to another room.  For me I prefer to stay in the same room, since obviously , I wanted scenes or devices from that room.


Thanks,  best regards,
Cor

Cor,

You should be posting this under the Beta thread. But to answer your questions:

The app does not auto update (the beta that is) as it is not posted in the play store and requires manual updates. The annoying issue you are describing is intensional. The app was designed to remember the last room it was on for each section (e.g. scenes, devices, all, and favorites).

As for your problem with with the empty response, was this via remote access or on the local network? When you say it showed both Vera's I think you are confusing this with when you used the auto configuration. When using the auto configuration, if you are on the local network or provide a user name, it will show all of the veras on the local network or tied to your user account. Using the switch Vera option will only show Vera's that were configured into the app. Since you never added the second vera, it will not show up on the list to switch Veras.

- Garrett
Title: Re: AutHomation Info
Post by: Cor on May 07, 2013, 03:30:03 am
Hmm no automatic updating ....than I don't know what the problem was .

When I first noticed the problem I was on remote network, "empty response" ( I initially thought my modem-router changed local IP adresses again...... , than it also change the slave vera's Ip-adress which i need to update via the GIU) .... But no , on my computer it all worked fine when I got home.

I checked If I was on local or remote network , I was connected to my local network, than I got the "connection refused" errors.

About 4-5 hours later, it suddenly all worked again , without any change in settings.

Very wierd,  I just checked again via remote and local network...... al works fine.

The annoying thing ...when it is intentionally ..... ok :-)

Thanks for your answer.

Cor
Title: Re: AutHomation Info
Post by: landman2k1 on June 13, 2013, 01:01:33 am
Hey Garrett,

Just set up a dimmer and Aeon Multi to do some testing before I wire the whole house.  One thing I noticed, not sure if it's been mention...  I have the standard light motion sensor pleg setup and when motion is detected, the light turns on, but AH doesn't see that the light is on.  Status shows the light is still off.  I exited the app and restarted, to no avail.  Not a big deal in my application, but thought it could pose a problem for someone somewhere.  Great app by the way!! The wife is going to love the voice controlls and the fact that she doesn't have to go upstairs to turn lights off anymore.
Title: Re: AutHomation Info
Post by: landman2k1 on June 13, 2013, 01:04:34 am
Came across the beta release notes after posting.  Does the PLEG support address the issue I was describing?
Title: Re: AutHomation Info
Post by: garrettwp on June 13, 2013, 01:19:29 am
You need to either manually refresh the app by either taking your finger and pull down on the panel that shows your devices or swiping right to left to access the menu panel and hitting refresh. You can also enable auto refresh in the settings under "Connection Settings". The default refresh time is 30 seconds. I have this disabled by default.

- Garrett
Title: Re: AutHomation Info
Post by: RichardTSchaefer on June 13, 2013, 08:52:12 am
@garratwp
FYI:  In my application HAL, I have a continuous loop waiting for commands to be sent then Polling Vera. The loop interval changes from 1 sec, 2, 4, 8 ... up to 300 seconds if there are no outgoing commands. The wait is actually implemented as timeout for the Command Queue which is filled when the App wants to send a command to Vera. If I had a visual display of status I would also limit this to around 30 seconds. The idea behind this is that if you start interacting, things are going to start changing. So you want to fetch the changes quicker.
Title: Re: AutHomation Info
Post by: landman2k1 on June 13, 2013, 01:42:00 pm
Thanks Garrett, I figured there was something simple that I wasn't seeing.
Title: Re: AutHomation Info
Post by: OrionNE on June 26, 2013, 10:45:45 am
Using AutomationHD for about a year now. (love the Application!!!)

I was hoping this is the place to bring up a feature request on the Thermostat control. In the Vera Web interface I can set my FAN to ON/Off/Auto/CYCLE (Circulation)

In Autohomation HD I only have option to ON/OFF/Auto can you add the function for Cycle?

Thanks for your time. Great Program.

OrionNE
Title: Re: AutHomation Info
Post by: garrettwp on June 26, 2013, 01:00:40 pm
Using AutomationHD for about a year now. (love the Application!!!)

I was hoping this is the place to bring up a feature request on the Thermostat control. In the Vera Web interface I can set my FAN to ON/Off/Auto/CYCLE (Circulation)

In Autohomation HD I only have option to ON/OFF/Auto can you add the function for Cycle?

Thanks for your time. Great Program.

OrionNE

This will be in the next Beta / Official Release. My trane thermostat does not have this functionality available over z-wave even though it can be set on the thermostat itself (I have an older model). So this would need to be tested.

- Garrett
Title: Re: AutHomation Info
Post by: OrionNE on June 26, 2013, 03:00:31 pm


This will be in the next Beta / Official Release. My trane thermostat does not have this functionality available over z-wave even though it can be set on the thermostat itself (I have an older model). So this would need to be tested.

- Garrett
[/quote]


Garrett

Sign me up to Beta Test. I have a Honeywell TH8320ZW1007/U.
Thank You for the quick response.

OrionNE
Title: Re: AutHomation Info
Post by: garrettwp on June 26, 2013, 03:11:46 pm
Please see the beta sign up thread that is stickied at the top of this subforum.

- Garrett

Title: Re: AutHomation Info
Post by: OrionNE on June 26, 2013, 03:34:38 pm
Please see the beta sign up thread that is stickied at the top of this subforum.

- Garrett

Done.
Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 10:53:22 am
garrettwp could you tell me how i get the status (on/off/arm/disarmed etc) of devices out of user_data2 ? cant figure out how to connect the status which comes out of states table to the corresponding devices
Title: Re: AutHomation Info
Post by: RichardTSchaefer on July 09, 2013, 12:21:04 pm
These are state variables on the device.
They are typically numeric values that are mapped by the User Interface.
For Vera Web, you can find the mapping in the corresponding D_XXX.json file.
For other apps, this mapping is app specific.
 
Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 12:26:16 pm
thnx.
 my visual c program is reading the user_data2 from the vera and parses this , i cannot see how to read the d_xxx.json file from remote. i found how to parse the json however in visual c instead of the xml version and this got me further. i can read the status of device now by giving each device from the parameters-column from the database a own device number. from there i can select the right device and find status in there.  trying to incorporate the plugins now, is there a way to get the icons remotely from vera ?
Title: Re: AutHomation Info
Post by: RichardTSchaefer on July 09, 2013, 12:36:31 pm
Quote
is there a way to get the icons remotely from vera ?
MCV supplied icons are cached on the MCV servers.
Others that store there Icons on Vera itself, end up with default icons when viewed remotely.
Others that store there Icons on external Web sites, can access there icons as long as the network is up (but usually they are cached). But the URL address of these icons is also listed in the appropriate D_XXX.json file.


Title: Re: AutHomation Info
Post by: RichardTSchaefer on July 09, 2013, 12:41:38 pm
Quote
i cannot see how to read the d_xxx.json file from remote

You can use the following (Remote access variant):

http://wiki.micasaverde.com/index.php/Luup_Requests#file


See bottom of page for general remote access ... but I figure you already know how to do that.
Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 12:42:40 pm
ah ok. i found the icons in the database i created from user_data2. perhaps its better to keep this icons for devices in my program then, so it can be changed with a theme/changed by user of program.
yes i found that page :)
trying to make a visual c program on windows for remotecontrol of the vera. it reads user_data2 and parses this to make a window with tiles :)  figuring out yet what best approach is to make it work neatly
Title: Re: AutHomation Info
Post by: garrettwp on July 09, 2013, 12:43:04 pm
When I read the user_data2, I parse through the state variables and convert it into a simpler json format for the states only. I than store the json data into the database that corresponds to the device data. When I need to get the device data, I call the column in the database for that device with the states json data and convert this into a multi-dimension map that I can easily access the given values. The map looks like this:

Service Type -> State -> Value
urn:upnp-org:serviceId:SwitchPower1 -> Status -> 1

I am sure there is an easier way to do this. But I find that this keeps the database structure to a minimum and if any new services / variables are created for the device, the data just gets re-populated and I have immediate access to it.

- Garrett
Title: Re: AutHomation Info
Post by: RichardTSchaefer on July 09, 2013, 12:45:25 pm
I also forgot ... All of the D_XXX.json files are captured and provided in the USER_DATA2 structure.
Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 12:47:28 pm
garrett, thats exactly what i wanted to know :-D
you mind btw if i copy a little bit of the interface from authomationHD ?
Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 12:51:17 pm
I also forgot ... All of the D_XXX.json files are captured and provided in the USER_DATA2 structure.
yes indeed :-) thnx for helping out, appreciate it

currently im reading the user_data2 file and put this in a database and from there i add own_device numbers to the parameterdata and from there read directly the status of every device and output that to user-interface window.. works faster imho
now figuring out what best polling sequence is and notification capturing. w.i.p.  lol
soon there is a basic UI for windows ^^
not want to hijack this topic .. maybe i should make a new one.
Title: Re: AutHomation Info
Post by: RichardTSchaefer on July 09, 2013, 01:16:03 pm
Make a new topic ... I will be happy to share the Java code I use for HAL.
It's similar to what I did when HAL was on windows ... and that code was is in C#.

I no longer have a good feeling about the long term direction of Microsoft.

Title: Re: AutHomation Info
Post by: Da_JoJo on July 09, 2013, 01:49:18 pm
oki will do..
long term direction is hopefully they continu using visual c otherwise it would be nasty :-)
new topic http://forum.micasaverde.com/index.php/topic,15583.msg118618.html (http://forum.micasaverde.com/index.php/topic,15583.msg118618.html)
Title: Re: AutHomation Info
Post by: jagowar on July 31, 2013, 12:55:10 pm
Don't know if this is the correct place for feature requests but I would love to see the voice control less buried and make it easier to use.  To me its one of the best features of this app but takes too many steps to access.

Not directly related to this but it would be even nicer if google opens up google now/search and lets apps integrate with that..... would make it even better.
Title: Re: AutHomation Info
Post by: garrettwp on July 31, 2013, 01:49:33 pm
You can add a home screen shortcut to access the voice recognition portion of the app.

- Garrett

Title: Re: AutHomation Info
Post by: SativaNL on August 05, 2013, 05:49:55 am
I really like the app. I only have 1 lamp installed, but I want to give you a little feedback.
Is it possible when I slide a dimmer to say 60% that it then immediatly stays on 60%. When the Vera gives a succesfull command back it stays, if not; it reverts to the last setting. There is a delay now, because it's waiting for a reply.
I think it will make the app more snappy.
Title: Re: AutHomation Info
Post by: garrettwp on August 06, 2013, 05:57:01 am
I really like the app. I only have 1 lamp installed, but I want to give you a little feedback.
Is it possible when I slide a dimmer to say 60% that it then immediatly stays on 60%. When the Vera gives a succesfull command back it stays, if not; it reverts to the last setting. There is a delay now, because it's waiting for a reply.
I think it will make the app more snappy.

This is intentional. By design I will not update the interface of the device until it returns the data back. So for example when clicking on the on button, the UI will not reflect the new changes until the new data is returned and updated. This may appear as a delay, but I am doing this to tell the user if the device actually did what you wanted it to do and not provide a false feedback.

- Garrett
Title: Re: AutHomation Info
Post by: intveltr on August 26, 2013, 02:55:33 pm
Just picked up my first Android device (iPhone fanboi here  :P ) and installed Authomation.  Quite a nice app... but I don't see my roller shutter controller?  Earlier in this thread some people mentioned that their roller device shows up as a slider, but mine doesn't appear at all.  I can make do with up/down scenes but was just wondering why...
Title: Re: AutHomation Info
Post by: garrettwp on August 26, 2013, 09:27:13 pm
Does the slider appear in the device dialog when pressing on the tile? If it does, does it work? I do not own any window coverings, so it makes it hard to support devices I can not physically test. So I rely on the user's to let me know if it is working or not. If the slider does work, there is an option in the settings to switch between slider or buttons.

- Garrett

Title: Re: AutHomation Info
Post by: intveltr on August 27, 2013, 03:25:32 am
Never mind, I found it (was looking in the wrong room...)  It's working just fine. :)
Title: Re: AutHomation Info
Post by: garrettwp on August 27, 2013, 03:26:51 am
Never mind, I found it (was looking in the wrong room...)  It's working just fine. :)

You had me worried. I thought I broke something. I need to clean up the legacy code when I was using the lu_sdata. So I may break it in the new alpha / betas forthcoming.

- Garrett
Title: Re: AutHomation Info
Post by: anzz on September 04, 2013, 03:43:57 pm
where can i get the latest version please
Title: Re: AutHomation Info
Post by: garrettwp on September 04, 2013, 06:15:48 pm
From the google play store.

- Garrett
Title: Re: AutHomation Info
Post by: denix on September 20, 2013, 12:32:18 pm
Great app! Thanks a lot!

In one of the screenshots I noticed there was GoogleTV integration shown:

https://www.wuala.com/garrettwp/Photos/AutHomationHD/googletv_preview1.png/?key=xo0oZz1tDkEJ

But when I checked, the app is not compatible with any of my GTVs. What is the current status of this feature? Is this still being developed or was it canceled/removed? Thanks.
Title: Re: AutHomation Info
Post by: garrettwp on September 20, 2013, 05:31:30 pm
Great app! Thanks a lot!

In one of the screenshots I noticed there was GoogleTV integration shown:

https://www.wuala.com/garrettwp/Photos/AutHomationHD/googletv_preview1.png/?key=xo0oZz1tDkEJ

But when I checked, the app is not compatible with any of my GTVs. What is the current status of this feature? Is this still being developed or was it canceled/removed? Thanks.

It was removed as my googletv box is not operational anymore and I do not have a way to test integration. So I have slowly removed existing code that was googletv specific.

- Garrett
Title: Re: AutHomation Info
Post by: denix on September 21, 2013, 09:22:00 pm
Great app! Thanks a lot!

In one of the screenshots I noticed there was GoogleTV integration shown:

https://www.wuala.com/garrettwp/Photos/AutHomationHD/googletv_preview1.png/?key=xo0oZz1tDkEJ

But when I checked, the app is not compatible with any of my GTVs. What is the current status of this feature? Is this still being developed or was it canceled/removed? Thanks.

It was removed as my googletv box is not operational anymore and I do not have a way to test integration. So I have slowly removed existing code that was googletv specific.

- Garrett

Aw, too bad! I was hoping to be able to control Vera from my GTVs...
Do you need a tester for that code? Although I'm not sure if you'd want to re-add the code back...
Title: Re: AutHomation Info
Post by: Da_JoJo on September 22, 2013, 04:33:08 am
does this imply the tv-sticks like this one also ? http://androidstick.nl/category/kopen/
Title: Re: AutHomation Info
Post by: garrettwp on September 22, 2013, 08:20:20 am
If it runs android and not the GoogleTV code, it should work fine. It would be very hard to develop on a platform I can not test on.

- Garrett

Title: Re: AutHomation Info
Post by: denix on September 26, 2013, 12:56:48 am
This may not be the right thread for a feature request, but here's a small one anyway... :) Can you add another "Sort By" option? Currently there're "By Name" and "By Type" - having "By Room, then Name" would be great and much appreciated! :) Thanks.
Title: Re: AutHomation Info
Post by: garrettwp on September 26, 2013, 01:27:57 am
This may not be the right thread for a feature request, but here's a small one anyway... :) Can you add another "Sort By" option? Currently there're "By Name" and "By Type" - having "By Room, then Name" would be great and much appreciated! :) Thanks.

This would only work for the favorites section or under the "All" room. Since the devices are separated by room anyway. This is on my list and will be added at some point.

- Garrett
Title: Re: AutHomation Info
Post by: denix on September 28, 2013, 05:32:18 pm
This may not be the right thread for a feature request, but here's a small one anyway... :) Can you add another "Sort By" option? Currently there're "By Name" and "By Type" - having "By Room, then Name" would be great and much appreciated! :) Thanks.

This would only work for the favorites section or under the "All" room. Since the devices are separated by room anyway. This is on my list and will be added at some point.

- Garrett

Thanks! Yes, I meant in the "All" rooms screen. Looking forward for this feature :)
Title: Re: AutHomation Info
Post by: azula on October 02, 2013, 04:34:54 am
Hey Garrett,

Awesome work on the app!! Absolutely love it. I have one minor problem which i'm sure isn't specific to your app, I can't access any of my lights/scenes from outside of my network. Is there anything in particular I have to set on my router to make it accessible? Thanks in advance!


EDIT:

My problem had nothing to do with Authomation. Did some troubleshooting and found it my Vera had a small problem communicating with my insteon PLM. Everything is working as it should now :)
Title: Re: AutHomation Info
Post by: FauxGo on December 30, 2013, 04:46:29 am
You can add a home screen shortcut to access the voice recognition portion of the app.

- Garrett

Garrett, can you tell me how this is done? A home screen shortcut for the voice recognition portion of AutHomationHD on the home screen would be the greatest thing ever.

I have read other posts, and it seems to be done using 'widgets,' but I do not know Android phones well enough to figure out what that means.

Thank you. And it is a spectacular app.

Title: Re: AutHomation Info
Post by: garrettwp on December 30, 2013, 06:59:46 am
Not sure what version of android you are running, but long pressing anywhere on the home screen should bring up a menu. There you can click on "Shortcuts". A window or list should show where you can select "AutHomationVR Shortcut".

- Garrett
Title: Re: AutHomation Info
Post by: ethergost on January 02, 2014, 05:00:33 pm
+1 for AutHomationHD android app...love it!

Also, kudos to the dev for answering an email within 1 hr on New Years Day.
Title: Re: AutHomation Info
Post by: Chimpware on January 06, 2014, 09:30:20 am
Great App, but issue with voice control is that it does not recognize room names in the device commands.  Probably works well for a few devices with bespoke names, but for a whole house system with numerous lights named "Ceiling Lights" it is not very useful.  It may be I need to change my naming approach, but adding location to each device names seems overly cumbersome.
Title: Re: AutHomation Info
Post by: bbosch on January 14, 2014, 09:05:04 am
Hi Garrett

Happy new year and all the best.

I am having a lot of trouble with my one IP Camera. It is a generic Foscam clone and its image is not picked up by the Vera itself no matter what Implementation files I use.
I notice though that your app works and displays the camera as expected so I am not worried. I cannot however figure out how the presets work. I mean I know how it works and what codes need to be sent, but I can't get it working in your app. 

I just noticed though that there are camera presets in the app setting.  Are these the codes/numbers that have to be sent to the camera? As in 31 would set to Preset 1? Or if not, what are they?
My ports are blocked from here so I will test this theory later. Is there a help document somewhere that describes the app's settings?  If not I'd be happy to help you set one up.

Cheers
Ben






Title: Re: AutHomation Info
Post by: garrettwp on January 14, 2014, 01:43:15 pm
The presets for the camera need to be modified in the implementation file for the camera. E.g the camera device in Vera will have an implementation file like I_FoscamPTZ.xml. You'll need to add the lua / luup code to allow for the preset control. The settings you see in my App should be ignored, it was something I added when adding preset support for cameras that support it. I have removed this in an upcoming release.

Here is what an old implementation file I made for the foscam cameras I am using. I am now using zoneminder for camera recording and control and integrated into vera:

Code: [Select]
<?xml version="1.0"?>
<implementation>
<functions>
function lug_startup(lul_device)
cameraPresets = {
['1'] = 31,
['2'] = 33,
['3'] = 35,
['4'] = 37,
['5'] = 39,
['6'] = 41,
['7'] = 43,
['8'] = 45
}

lug_username = luup.devices[lul_device].user
lug_password = luup.devices[lul_device].pass
lug_path = luup.variable_get("urn:micasaverde-com:serviceId:Camera1", "URL", lul_device) or ""

if (lug_path == "") then
luup.variable_set("urn:micasaverde-com:serviceId:Camera1", "URL", "/snapshot.cgi", lul_device)
end

lug_stepSize = 1
end
</functions>
<startup>lug_startup</startup>
<actionList>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>MoveLeft</name>
<job>
luup.inet.wget("http://" .. luup.devices[lul_device].ip .. "/decoder_control.cgi?command=6&amp;onestep=" .. lug_stepSize, 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>MoveRight</name>
<job>
luup.inet.wget("http://" .. luup.devices[lul_device].ip .. "/decoder_control.cgi?command=4&amp;onestep=" .. lug_stepSize, 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>MoveUp</name>
<job>
luup.inet.wget("http://" .. luup.devices[lul_device].ip .. "/decoder_control.cgi?command=0&amp;onestep=" .. lug_stepSize, 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>MoveDown</name>
<job>
luup.inet.wget("http://" .. luup.devices[lul_device].ip .. "/decoder_control.cgi?command=2&amp;onestep=" .. lug_stepSize, 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>ZoomOut</name>
<job>
luup.inet.wget('http://' .. luup.devices[lul_device].ip .. '/decoder_control.cgi?command=26', 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>ZoomIn</name>
<job>
luup.inet.wget('http://' .. luup.devices[lul_device].ip .. '/decoder_control.cgi?command=28', 5, lug_username, lug_password)
</job>
</action>
<action>
<serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
<name>GoToPreset</name>
<job>
local preset = cameraPresets[lul_settings.presetNumber]
luup.inet.wget( 'http://' .. luup.devices[lul_device].ip .. '/decoder_control.cgi?command=' .. preset , 5, lug_username, lug_password )
</job>
</action>
</actionList>
</implementation>

This portion should be of interest:

Code: [Select]
cameraPresets = {
  ['1'] = 31,
  ['2'] = 33,
  ['3'] = 35,
  ['4'] = 37,
  ['5'] = 39,
  ['6'] = 41,
  ['7'] = 43,
  ['8'] = 45
}

<action>
  <serviceId>urn:micasaverde-com:serviceId:PanTiltZoom1</serviceId>
  <name>GoToPreset</name>
  <job>
    local preset = cameraPresets[lul_settings.presetNumber]
    luup.inet.wget( 'http://' .. luup.devices[lul_device].ip .. '/decoder_control.cgi?command=' .. preset , 5, lug_username, lug_password )
  </job>
</action>

If the presets are not working in Vera's UI, than it will not work in the app.

- Garrett
Title: Re: AutHomation Info
Post by: bbosch on January 21, 2014, 04:31:34 pm
Thank you very much Garrett.
I loaded your I_Foscam file and it is working in the vera interface. (Even though I have never been able to see my camera image in the vera interface, the preset buttons and direction buttons move the camera where they should.

On your app however only preset number 5 is working... This is pretty strange. All the direction buttons work as well.
Almost there I hope...

Cheers
Title: Re: AutHomation Info
Post by: qedi on January 28, 2014, 10:35:35 pm
Just wanted to say thanks for this app Garrett! (Now that us Blackberry 10 users can install it. Well, sideload it at least.)
Title: Re: AutHomation Info
Post by: huwelijksbootje on February 09, 2014, 05:07:51 am
Just wanted to say thanks for this app Garrett! (Now that us Blackberry 10 users can install it. Well, sideload it at least.)

Hi Qedi, how did you install on your Blackberry 10?
Finally, since 10.2.1, BB10 users can install Android applications without tricks like sideloading. But either way you need the APK file.
As Blackberry can't download from Google Play store and AuthomationHD is not published in other stores like Amazon I could not find any way to get the APK file.
Only workaround seems to use an Android device with an app that can extract the APK from the Android device and transfer it to my Blackberry.

Would be great when Garrett publishes on Amazon store as well or send a link like he did with older versions (can be by pm).
Thanks in advance for helping the Blackberry 10 users, they're still out there  ;D
Title: Re: AutHomation Info
Post by: garrettwp on February 09, 2014, 05:09:30 am
I will not publish to the amazon store as I refuse to pay the fee since I do not make any money on this app, it would be pointless. I will post the apk files in the appropriate threads.

- Garrett
Title: Re: AutHomation Info
Post by: huwelijksbootje on February 09, 2014, 07:58:33 am
Garrett, thanks for the great (free!) app. Understand when Amazon requires a fee it's not feasible.
When searching I overlooked the links and only found the old version. Now I found link to latest version on Google drive.
Thanks  again, Cor
Title: Re: AutHomation Info
Post by: garrettwp on February 10, 2014, 12:47:22 am
Garrett, thanks for the great (free!) app. Understand when Amazon requires a fee it's not feasible.
When searching I overlooked the links and only found the old version. Now I found link to latest version on Google drive.
Thanks  again, Cor

I updated the threads not long after posting to your request. I'll try my best to keep them upto date.

- Garrett
Title: Re: AutHomation Info
Post by: williams2353 on April 30, 2014, 06:02:06 am
Is there any way to install Authomation on an Android device running Gingerbread 2.3?  The play store gives me HuthomationHD, and says it will not run on my device.

Thanks,
Tom
Title: Re: AutHomation Info
Post by: garrettwp on April 30, 2014, 08:37:49 am
I do not support Android 2.3 any longer. I stopped supporting it over a year ago.

- Garrett

Title: Re: AutHomation Info
Post by: derrij on November 02, 2014, 06:16:13 am
Please reshare AutHomation.apk for  Android 2.3 and older
Title: Re: AutHomation Info
Post by: garrettwp on November 02, 2014, 08:27:22 am
I will not be sharing an old unsupported version of the app.

- Garrett

Title: Re: AutHomation Info
Post by: derrij on November 07, 2014, 12:39:59 pm
Please, share AutHomation.apk it was the only one working app on Android 2.1
I don't ask for app  support.