Умный дом (Самое начало) — ч.1
https://habrahabr.ru/post/227869/

Умный дом (Самое начало) — ч.2
https://habrahabr.ru/post/247105/