First version of homeautomation