Smart house lets Duke students experiment on a residence hall