  The main objective of this work is to detect early if a driver shows symptoms
of sleepiness that indicate that he/she is falling asleep and, in that case,
generate an alert to wake him/her up. To solve this problem, an application has
been designed that collects various parameters, through a smartwatch while
driving. First, the application detects the driving action. Then, it collects
information about the most significant physiological variables of a person
while driving. On the other hand, given the high level of sensitivity of the
data managed in the designed application, in this work special attention has
been paid to the security of the implementation. The proposed solution improves
road safety, reducing the number of accidents caused by drowsiness while
driving.
