Recent advancements in machine learning caused interest in the development of smart environments to emerge and assist with valuable functions such as activity monitoring and intervention. In order to monitor the activities of smart home residents, there is a need of designing technologies that recognize and track the activities that people perform at home. Machine learning techniques can perform this task, but the software algorithms rely upon large amounts of sample data that is correctly matched with the corresponding activity. The data stream captured by recording inhabitant-device interactions in an environment can be mined to discover significant patterns, which an intelligent agent could use to automate device interactions. For this, an automated approach is proposed for activity tracking that identifies frequent activities that naturally occur in an individual's routines. With this capability, the occurrences of regular activities are monitored and also can detect the changes in an individual's patterns.