If you use Android, try this app.
https://play.google.com/store/apps/details?id=com.urbandroid.sleep
It can track your sleep via wearables, your phone's motion sensors, or using your phones mic and speakers as sonar. It then wakes you up during a lighter phase of sleep. It also keeps great data on your sleep. I've been using it for years, it's an app I found worth paying for π€
