Energy management is a key tool that will enable consumers to optimize their energy use according to different objectives. Allow users to insert their energy use preferences combined with the effective configuration and control of existing devices (loads and microgeneration) is the basis, in this paper, to design adaptable energy optimization algorithms that are capable to outputting feasible, understandable and useful actions, automated and/or manual, for the activation of the existing portfolio of flexible devices. This paper presents an advanced energy management system as an innovative platform that intends to accomplish real energy optimization schemes to support demand response, promote the energy efficiency and contribute towards renewable integration.