126.96.36.199 Completed Android App! ***Use this tasker XML or Download from Google Play***
Note: At of the end of 2016 I made the decision to start a native android app based on this project and no longer have time to support both. Please go to my wordpress site for the latest version of this project.
INSTRUCTIONS FOR THE APP ARE HERE:
Home Automation - Chaining Voice Commands, by Javier Refuerzo, Denver, CO. USA. June 31, 2015
See this forum for addtional information
This project was created to chain together home automation tasks in a single voice command using natural English sentence structure (***Now supports other languages****). Examples of commands that can work are "turn on the tv and turn off the lights", "turn off the living room, dinning room and kitchen lights", "turn the living room and basement lights off", "turn off all the lights", "start the playstation in the bedroom" and "turn off all the lights and turn on the playstation".
AutoVoice is required for this project to work! UDP Sender is only required for EVENTGHOST.
To use "OK GOOGLE" commands or to say commands after pressing the GOOGLE NOW SEARCH BOX on the GOOGLE NOW launcher you need to enable Settings>Accessibility>AutoVoice_Google_Now_Intergration
If this commands are not working after following these instructions please restart device. There can be many things that did not initialize correctly but usually a device restart fixes these issues. Also be sure you have opened settings and set your local IP ADDRESSES, USER NAMES, PASSWORDS, and any other variables. Also Tasker MUST be installed before any plugins such as AutoVoice. (I am working on error messages in case settings are not set, but this is still an early version of this project).
Here are a few screen shots which show the program/project in action
First import the project:
Download the project and save to the Tasker>Projects folder. In the tasker menu select "Preferences" and under the "UI" tab make sure "Beginner Mode" in UNCHECKED". Now long click any Project (or the Home Icon on the bottom of the screen) and click "Import". Select "Voice V .3" (this is the name of the project which may have a different version number). Now back out of tasker to save the project into tasker.
Initialize Project: Open tasker and select the "TASKS" tab. Click the task "Home Automation - Chaining Voice Commands (Has a chain Icon to the right of the task). Click the play button on the bottom right.
Add a widget to the home screen linked to the task "Home Automation - Chaining Voice Commands" as it shows settings for the program/project.
Long Click on the home screen and select "WIDGETS"
Then find the "Task" Widget
Click and hold the "Task" Widget to place on home screen
Once the "Task" widget is placed on screen the "Task Selction" will popup. Select the task "Home Automation - Chaining Voice Commands"
Once Selected the "Task, Widget / Home Automation......" needs to be saved by clicking the tasker icon at the top left of the screen.
Now you can click the widget (chain icon) to access settings for this project.
Settings Home Screen. I have pre-defined some variables, but you can add or delete rooms/locations, devices and Actions
Settings Menu. This menu is accessed by pressing the hamburger icon
ISY Settings. After IP address, User Name and Password are entered Click "REFRESH ISY DEVICES, SCENES AND PROGRAMS". THAT'S IT, TIME TO START!
Now click (or say "OK Google" if your device supports) the google now search box and say your command
If a command containing any combination of device(s) (listed in the Settings Home Screen) and action(s) (listed in the Settings Home Screen) then the program/project will start. If a device has not been linked a screen will popup asking the user to specify how they would like to handle the device. The following screen shots will show how to link an ISY device or scene. Currently default settings support on, off, brighten and dim for devices and scenes, this can be changed in settings.
Select Device Type. "UD ISY" is clicked in this example
Select "ISY Devices and Scenes" or "ISY Programs"
Select the device
Now next time you say that device it will automatically trigger
*****This is an early version of this project, please help by reporting bugs and or contributing fixes. Please contact me via google plus or in the autoapps forum under this project******
ALL SETTINGS (EXEPT IP ADDRESSES, USER NAMES, AND PASSWORDS) ARE SAVED TO YOUR SD CARD IN THE FOLDER "HA Chaining Voice Commands" TO MAKE UPGRADES AND TRANSFERS EASIER.
"AUTOVOICE" IS REQURED FOR THIS PROJECT TO WORK. "UDP SENDER" IS REQUERED FOR AUTOMATIC EVENTGHOST COMMUNICATION.
There are many predefined rooms, actions and devices. When a combo of device and command are spoken a scene will lauch to prompt the user to input how they would like to handle the device. If the user has already defined an action for the device the action will be lauched
Users can add Actions (on,off,unlock,ect..), Devices (lights, fan, door, ect..), Locations/Rooms (living room, dining room, patio, ect..), and a default room in settings.
Add ISY (Home Automation Controller) Settings in ISY Settings under Menu.
Eventghost settings are also under menu.
Multi-word for all items. Currently only Locations/Rooms and Devices support multi-word
Scene to enter voice recognition corrections without changing tasks. Saving corrections to file to assist in project transfer and update. Currently corrections must be added to the task "corrections for incoming....
Eventghost - Add alternate methods of communication with Eventghost i.e. AutoRemote. Currently supports EventGhost via UDP Sender tasker plugin which can be picked up by the EventGhost Broadcaster plugin.
Please See Updates for information on "WHATS NEW"
Now supports ISY Programs (Devices and Scenes already supported)
First user friendly release!
Supports ISY Devices and Scenes.
Supports Eventghost through the "UDP Sender" tasker plugin (AutoRemote Coming Soon)
New cleaner scenes
Additonal settings are now saved to sd card
Added Tasker Scenes to navigate settings
Added a tasker task list to chose a task to be executed for selected devices
TOO MANY THING TO LIST!
I put this together with information from many resources online. The following links were very helpful.
V2 Scene templates created by +DavidŠvorcBigman
Home Automation - Chaining Voice Commands 188.8.131.52
Turn on,off,start.. many devices with one voice command