Inclusion Criteria:  Men and women treated for type 2 diabetes with an HbA1C>8.5%; ≥20 years-of-age; Signed up for diabetes treatment and control in one of the participating primary healthcare practices. Having access to a mobile phone (or having a family member who will help them in sending, understanding, and retrieving messages and information provided in Spanish language through the mobile application)  Exclusion Criteria:  Participants who are pregnant, within 3 months postpartum or planning pregnancy during the trial; Breastfeeding; Serious medical condition (i.e. dialysis treatment); Having been admitted to hospital within the last 3 months for hyperglycemia or hypoglycemia; Not permanent residents of the states where the study is conducted.