Goruco Videos

Zachary Feldman

Home Automation with the Amazon Echo and Ruby

Synopsis

The Amazon Echo recently debuted and made a big splash with its incredibly accurate voice recognition, capable of hearing and transliterating commands from 20-30 feet away. Home automation enthusiasts and hackers alike wondered if it would be possible to intercept commands from the device and trigger custom actions. While device traffic is encrypted, the device pushes commands to a history page in a web application. Using Watir WebDriver, which normally is used for feature testing, we’ve created a proxy that can be run on a Raspberry Pi as well as a modular Ruby framework based on Sinatra to run custom commands, allowing us to control the Hue wireless lighting system, Nest, and even request an Uber!

Biography

Zach Feldman is a consummate technologist and has been a tinkerer from childhood. He is a Co-Founder and currently Chief Academic Officer of the New York Code + Design Academy, devising curriculum, hiring teachers, and instructing students. He develops websites and applications using WordPress (PHP), Ruby, Sinatra, Rails, and plain old HTML, CSS, and Javascript. You can find him on most online locations @zachfeldman. When he's not writing code, you can find Zach playing his guitar, DJing a party (djmuzach.com), or on a hike.