Automate your Home with Ruby
summary
A first‑ever Ruby HomeKit implementation claims to bridge unsupported devices to Apple Home by shipping a ruby_home gem (gem install ruby_home) that advertises via multicast DNS via DNSSD, parses HAP TLV with bindata, implements ChaCha20‑Poly1305 frame encryption and overrides WEBrick request/response handling. Development takes about six months; demos show a fan, bridge of six services, a color light UI and a Soundbar with unsolicited events all working and syncing across iPhone and iPad.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 3:37What is HomeKit
- 5:31The problem with HomeKit
- 6:53Ruby Home
- 7:05How I created it
- 8:19Adding an accessory
- 9:10Multicast DNS
- 10:28DNS Syntax
- 12:47TLV Data
- 16:41Nonce
- 18:28Rack middleware
- 19:13Webbrick
- 21:26Unshipped HTTP
- 22:48Creating a Fan
- 24:22On characteristic
- 25:50Other services
- 27:21Bridge
- 28:12Website demo
related talks
26mHacking your Home with Ruby
21mHome Automation with the Amazon Echo and Ruby
33mUsing Ruby to Automate Your Life
29mBuild a voice based smart home using Sinatra & mruby/c
39mVoice Controlled Home Automation in Ruby
38mFun with Ruby and Arduino
44mOutside the Web Box: Using Ruby for Other Protocols
35mBlack-boxing with Ruby
