Background and Purpose-Risk factor control and treatment compliance in the following months after stroke are poor. We aim to validate a digital platform for smartphones to raise awareness among patients about the need to adopt healthy lifestyle, improve communication with medical staff, and treatment compliance. Methods-Farmalarm is an application (app) for smartphones designed to increase stroke awareness by medication alerts and compliance control, chat communication with medical staff, didactic video files, exercise monitoring. Patients with stroke discharged home were screened for participation and divided into groups: to follow the FARMALARM program for 3 to 4 weeks or standard of care follow-up. We determined achievement of risk factor control goals at 90 days. Results-From August 2015 to December 2016, from the 457 patients discharged home, 159 (34.8%) were included: Farmalarm (n=107); age 57±12, Control (n=52), age 59±10; without significant differences in baseline characteristics between groups. At 90 days, knowledge of vascular risk factors was higher in FARMALARM group (86.0% versus 69.2%, P<0.01). The rate of patients with diabetes mellitus (83.2% versus 63.5%, P<0.01) and hypercholesterolemia (80.3% versus 63.5%, P=0.03) under control and the rate of patients with 4 out of 4 risk factors under control was higher in FARMALARM group (50.4% versus 30.7%, P=0.02). A regression model showed that the use of Farmalarm was independently associated with all risk factors under control at 90 days (odds ratio, 2.3; 95% CI, 1.14-4.6; P=0.02). Conclusions-In patients with stroke discharged home, the use of mobile apps to monitor medication compliance and increase stroke awareness is feasible and seems to improve the control of vascular risk factors.