~/talk

Build a voice based smart home using Sinatra & mruby/c

Talkat RubyConf Au 2020 · 2020-02-20..02-21· [ruby, web-platform]
links:none on file
links:none on file
slides:none on file

A voice‑controlled smart home that actually works: a Sinatra web endpoint receives Alexa intents, maps them to actions and publishes commands over cloud MQTT to an ESP32 microcontroller running mruby/c, which sends IR codes to a transmitter or moves a servo for a door lock. Claims include tiny mruby/c memory use (hundreds of KB vs ~16 MB for CRuby) and a round‑trip where Sinatra waits for the microcontroller acknowledgement before responding to Alexa. Demo shows lights and TV switching on.

AI-written summary · about

  1. 0:00Start
  2. 4:31What is mruby?
  3. 6:50How it works?
  4. 10:57Ups and downs
  5. 13:03What is home-on-voice?
  6. 18:04Why a microcontroller?
  7. 19:06How Alexa communicates to Sinatra?
  8. 24:00How Sinatra & microcontroller communicates in home-on-voice
  9. 24:44How microcontroller communicates to
  10. 25:35home appliances in home-on-voice
  11. 28:22Conclusion
~/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.