Internet of Things: Connecting Rails with the Real World
summary
Claims a working Rails + Angular IoT stack: a Raspberry Pi rails app serves device APIs, exposed with ngrok, while the cloud Angular UI controls smart LIFX bulbs and Sonos and an Arduino-controlled coffee maker plus a $5 motion sensor. Websockets (websocket-rails, later Action Cable) replace HTTP to avoid hundreds of requests from a brightness slider, using a controller store to keep persistent device connections. Cites Gartner/ABI 26–30 billion devices by 2020 and shows live threading, server-sent events, and simple interface classes.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:48Background
- 1:55My Daily Routine
- 5:54High Level Stack
- 9:11What is the Internet of Things
- 9:57Why is it important
- 12:36quantified self
- 13:21Internet of Things issues
- 16:19Rails app anatomy
- 17:08Dispatcher
- 22:01Interface
- 26:39The Future
- 30:08Conclusion








