IoT device management framework for smart home scenarios