Old homes get smart