Voice Controlled Home Automation in Ruby
summary
A working voice‑controlled TV remote uses Ruby on a Raspberry Pi to talk to a TiVo and a Sharp Aquos TV over their TCP protocols, with a web API built with Sinatra + EventMachine, voice handled by Alexa and AWS Lambda via a shell-out Ruby binary (Traveling Ruby), and commands queued through an SQS queue to the Pi. The demo actually changes channels, sets volume, mutes and powers off; author notes 25,000 skills and 15 million devices and handles flaky TV volume state by polling.
AI-written summary · about
chapters (10)
- 0:00Voice-controlled home automation
- 1:05Web-based TV remote in Ruby
- 8:54TiVo and TV TCP protocols
- 14:43Amazon Echo and Alexa
- 18:26Alexa skills and voice services
- 22:22Ruby in AWS Lambda for Alexa
- 26:44Interaction model for voice commands
- 30:06Lambda to Raspberry Pi messages
- 33:41TV control skill in Ruby
- 37:18Live demo: voice-controlled TV
related talks
29mBuild a voice based smart home using Sinatra & mruby/c
24mRuby + Voice Control
21mHome Automation with the Amazon Echo and Ruby
37mVoice-controlled Home Automation from Scratch Using IBM Watson, Docker, IFTTT, and Serverless
15mState of the Art Telephony with Ruby
38mFun with Ruby and Arduino
26mHacking your Home with Ruby
34mCharming Robots
