Smart homes appear straight out of a science fiction film, featuring lights that respond to voice commands, thermostats that adjust automatically, and robot vacuums that clean while you relax.