~/talk

Voice Controlled Home Automation in Ruby

Talkat RubyConf 2017 · 2017-11-15..11-17· [ruby, serverless]
github:jrsacks
slides:none on file

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

  1. 0:00Voice-controlled home automation
  2. 1:05Web-based TV remote in Ruby
  3. 8:54TiVo and TV TCP protocols
  4. 14:43Amazon Echo and Alexa
  5. 18:26Alexa skills and voice services
  6. 22:22Ruby in AWS Lambda for Alexa
  7. 26:44Interaction model for voice commands
  8. 30:06Lambda to Raspberry Pi messages
  9. 33:41TV control skill in Ruby
  10. 37:18Live demo: voice-controlled TV
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.