Version 2 of home automation control project, rewritten with cleaner angular and grunt tasks