Home energy management system based on task classification and the resident's requirements. (June 2020)