This thesis explores human activity recognition (HAR) within smart homes, focusing on improving stability and efficiency in activity recognition through methods like transfer learning and delayed fuzzy temporal windows. It addresses key challenges such as labeling sensor readings and activity diversity, presenting various machine learning techniques to enhance HAR. The research aims to facilitate better knowledge transfer across smart homes and improve the recognition of activities, especially for vulnerable populations.