Lightweight home automation server