Smart Environments with Low-Power Wireless Sensors