Home automation software stack