In the future patients will have a more active role in strengthening and maintaining their own health. Telehealth can empower and motivate patients by giving them the chance to stay in their own homes instead of going to the hospital. A telehealth system is deployed in a patient's home hence it will influence his or her everyday live. Therefore we believe that a telehealth system shall adapt its behavior so that it will not be a burden for the patient/resident to use. To this aim we have extended an existing telehealth platform to reason about activities of daily living in a smart home scenario. The extensions have been tested on up to three of the CASAS datasets. The extensions are two algorithms: one for understanding the resident's everyday habits and one for predicting the resident's next activity. The prediction algorithm correctly predicts 69.76%, 73.06%, and 65.14% in the CASAS datasets.