Cradlewise Sleep Lab
ProductivityFeb 2026Reverse-engineering my smart crib to get better sleep data.
Why I Built This
I love our Cradlewise smart crib—it's been a lifesaver. But as a data nerd, I felt limited by the official app. I wanted to see the raw numbers. I wanted to understand my baby's sleep architecture—how much deep sleep vs. light sleep are they getting? And most importantly, I wanted to own my data.
So, I spent a weekend reverse-engineering the API to build a custom dashboard that gives me the insights I was missing. It's a creative project that turns the crib's data into a comprehensive sleep lab.

What I Built
I built a local-first web app that connects to my Cradlewise account, fetches historical data, and stores it in a SQLite database. The dashboard I designed offers:
Sleep Architecture Phase Map
I can visualize the entire night’s sleep cycles in high fidelity. Seeing exactly when my baby was in Deep Sleep, Light Sleep, or Awake provides a clearer picture of sleep quality than simple totals.
Trend Studio
The "Trend Studio" lets me analyze sleep patterns over time (7, 30, or 90 days). I track metrics like total sleep efficiency and wake windows to see if our sleep training is paying off.
Data Export
This was the biggest missing piece for me. I added functionality to export all sleep data to CSV or JSON with one click, so I can play with it in Python or Excel.
AI Insights
I also integrated an "AI Analyst" that reads the nightly data and generates a natural language summary—a "Night Brief"—highlighting the key takeaways from the previous night's sleep.
Note: This is a personal project and is not affiliated with Cradlewise.