The primary objective of this study is to determine whether CPAP adherence in stroke patients with obstructive sleep apnea can be improved by a CPAP training strategy during rehabilitation combined with a telemedicine monitoring system after discharge.