I use one of my old iPhones to run under my pillow every night with a sleeping app, wrapped in a faraday cage pouch to reduce emf concerns. Works well for me.
basically, the app judges your current phase of sleep by sensing your movements, and purports to wake you up at the optimal moment. It seems to work for me, which is good enough for me, after all. YMMV?
But if you're unable to download it now, I don't have a good solution for you, sorry. I hope you figure it out!