Human-Based Models for Smart Devices in Ambient Intelligence