Menu

Am I ready to sleep? I built a 75-second phone check to answer that
📰

Am I ready to sleep? I built a 75-second phone check to answer that

DEV Community: kotlin·Rahul Rao·2 days ago
#pTX9NffN
#devtokotlin#devto#dev#nidra#pulse
Reading 0:00
15s threshold

This is a submission for the Presage SmartSpectra SDK Challenge

What I Built

Every night I ask the same question: am I ready to sleep, or do I need a bit more time to get there? For me a good night starts with the state of mind I go to bed in. Sleep trackers tell me how I slept after the fact. I wanted a simple check-in before bed, while I could still try a wind-down routine. So I built Nidra to compare an evening pulse-and-HRV reading with my own recent evenings. It's an experiment, not a prediction of how I'll sleep.

Nidra is an Android app. You stand your phone up in room light, close your eyes, and for 75–90 seconds the camera reads your pulse and heart rate variability. You get one number, Sleep Readiness, 0 to 100% , and one thing to try tonight. Then you check again and see before and after.

In the morning you drag the same scale to say how rested you feel.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.