Integrated agent-based home energy management system for smart grids applications | Synapse