Poor sleep quality or disturbed sleep is associated with multiple health conditions. Sleep position affects the severity and occurrence of these complications, and positional therapy is one of the less invasive treatments to deal with them. Sleep positions can be self-reported, which is unreliable, or determined by using specific devices, such as polysomnography, polygraphy or cameras, that can be expensive and difficult to employ at home. The aim of this study is to determine how smartphones could be used to monitor and treat sleep position at home. We divided our research into three tasks: (1) develop an Android smartphone application (‘SleepPos’ app) which monitors angle-based high-resolution sleep position and allows to simultaneously apply positional treatment; (2) test the smartphone application at home coupled with a pulse oximeter; and (3) explore the potential of this tool to detect the positional occurrence of desaturation events. The results show how the ‘SleepPos’ app successfully determined the sleep position and revealed positional patterns of occurrence of desaturation events. The ‘SleepPos’ app also succeeded in applying positional therapy and preventing the subjects from sleeping in the supine sleep position. This study demonstrates how smartphones are capable of reliably monitoring high-resolution sleep position and provide useful clinical information about the positional occurrence of desaturation events.