How Do Smart Homes Work?