Calhacks 2014 - tl;dr
Welcome.
This is a very condensed post about what I created at Cal Hacks. If you want a detailed write up, see here.
In short, I went to CalHacks 2014 and made a home automation project that is controlled via voice commands to a Moto 360. The full path is as follows: Voice Command (Moto 360) -> AutoVoice -> Tasker -> HTTP POST -> Intel Edison -> Wit.Ai -> Intel Edison -> hardware relay -> lamp
Demo video
Flow of the Process
Prerequisites:
- Rooted Android device
- xposed, with Google now API (needs to be v1.4), plus AutoVoice and Tasker, installed in that order.
- Android Wear device
- Intel Edison, with a hardware relay plugged in to port 4.
Steps:
- Clone my repo and upload it to a WiFI enabled Intel Edison
- Change to the directory and run
npm install; node main.js
- Open Tasker, and add a new profile "AutoVoice Recognized Event behaviour: true", and set the configuration to "Event Behaviour" (first tick) and the command filter to the desired trigger word ("jarvis", in my case).
- Have this profile trigger a task
HTTP POST
to a server (put in the edison IP here) and the data be{"phrase" : "%avcommsnofilter()"}
. The content type needs to be set toapplication/json
- Speak a custom command to your watch, and watch the server respond and perform an action!