Power demand response in the context of smart home application