Build a voice based smart home using Sinatra & mruby/c
summary
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
chapters (11)
- 0:00Start
- 4:31What is mruby?
- 6:50How it works?
- 10:57Ups and downs
- 13:03What is home-on-voice?
- 18:04Why a microcontroller?
- 19:06How Alexa communicates to Sinatra?
- 24:00How Sinatra & microcontroller communicates in home-on-voice
- 24:44How microcontroller communicates to
- 25:35home appliances in home-on-voice
- 28:22Conclusion








