What are Smart Homes and How Do They Work?