Perceived-Value-driven Optimization of Energy Consumption in Smart Homes