Inclusion Criteria:  Subject affected for obesity (BMI ≥30 kg/m² and <45 kg/m²) and/or T2DM. Subject treated at the University Hospital of Clermont-Ferrand. The participants must have an iOS (at least iOS8 version) or Android (at least version 5) smartphone. Subjects must also be able to provide informed consent to participate in the research and be covered by health social security. Subjects must be native to any physical activity intervention. Sufficient proficiency of French will be required to ensure the understanding of the questionnaires.  Exclusion Criteria:  Medical or surgical history judged by the investigator to be incompatible with the study. Subject with an unstable psychiatric condition. Pregnant or breastfeeding women. Heavy alcohol consumption (> 2 to 3 drinks per day depending on gender) or drug addiction. Disability or contraindication to PA. Subject with cardiorespiratory and/or osteoarticular disorders that limit their ability to perform physical tests or moderate PA for 30 minutes. Subject with progressive cardiovascular or neoplastic disease. Subject who has presented a major infection in the 3 months prior to inclusion. Subject with a known neuro-muscular pathology (i.e., myopathy, myasthenia, rhabdomyolysis, paraplegia, hemiplegia). Subject with chronic or acute inflammatory pathology within 3 months prior to inclusion. Subject diagnosed and/or treated for schizophrenia, bipolar disorder, major depression. Subject deprived of their liberty by judicial or administrative decision. Subject refusing to sign the written consent to participate. Subject participating in another study.