Using the Scenes feature of Tasker, not to be confused with Scenes on Vera, you can create your own custom UI to control any and every device on your Vera. Tasker scenes give you access to a what-you-see-is-what-you-get graphical editing tool. You can use Tasker variables in combination with AutoVera Device Info actions to dynamically populate menus and actions, making custom scene creation as easy as possible.
Below is a sample APK created with Tasker and exported as a standalone application. It consists of one scene and several actions to control a dimmable device. Once installed, it will populate a spinner element (dropdown menu) that contains all of the devices on your Favorite Vera. Once a device is selected, each of the elements in the scene will control that device. You can explore the XML shared below to see how to get each element triggering AutoVera Device actions. Screenshot here: http://i.imgur.com/ITJnm1B.png
IMPORTANT: The only dependency to run this app is AutoVera, a user would not need Tasker installed to run apps created with Tasker.
Interface elements include:
[ul][li]Button - Tap to toggle[/li]
[li]Text - Tap To toggle[/li]
[li]Number Picker - New value sets light level(Dimmable Only)[/li]
[li]Slider - New value sets light level(Dimmable Only)[/li]
[li]Toggle - On = light on, Off = light off[/li]
[li]Image - Stroke Up = light on, Stroke Down = light off[/li][/ul]
Note: If status updates are enabled for the chosen device, the Image element will update to reflect the current state.
To install and run:
[ol][li]Set a favorite Vera within AutoVera[/li]
[li]Install APK from here: Dropbox - Error
[li]Launch Scene Sample app[/li]
[li]Choose a device to control from drop down menu[/li][/ol]
I’m also including the Tasker XML for the project, the “source code”. To install:
[ol][li]Download Tasker projext XML from here: Dropbox - Error
[li]Using a file explorer, attempt to open the XML file and choose to open with Tasker[/li]
[li]A popup will let you know the project is ready for import[/li]
[li]Open Tasker and press and hold on an existing project*. Choose Import and select the XML file from the projects folder[/li][/ol]
*You’ll need to have disabled beginner mode within Tasker.