Home automation central controller (work in progress)