Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • This is amazing. I wish I had this when I was struggling with sleep. I tried a lot of things and stacked them:

    Mouth taping (stopped snoring immediately), magnesium glycinate before bed, no screens an hour before sleep, keeping the room cold, not eating dinner so late and regular sauna sessions. Individually they helped.

    Together they made a real difference, loud cars and city noise don't wake me up anymore.

    I know it sounds like biohacker stuff, but it works. This tool makes it possible to actually find the root cause instead of just guessing. Love it!

  • I live in a silent area at night and regularly woke up at 3:30 am a couple of years ago. Turns out it was a leading indicator for digestive issues, nothing major and fixed now but it seems 3:30am was the point my body said “I need more food and I don’t care you’re asleep” and according to the dietician I saw this is relatively common with IBS.
  • Environment management is important, but internal relaxation skills and similar are as important. Consider doing body scans, various visualizations, breathing exercises when going to bed: I found a 20mn guided exercise I liked (it was yoga nidra) and in a few months it transformed me from a "horrible sleeper" into someone who actually enjoys sleep.
  • I'm surprised that AI didn't tell him that the most likely cause of regularly waking up around 3 am is a cortisol spike. Try some breathing exercises or some other type of stress relief throughout the day, and you might sleep better.

    In my case, thinking too much about the causes of bad sleep actually contributed to making sleep worse, so if this guy is anything like me then this whole project could be hurting his sleep rather than helping.

  • Interesting. I may need to add some sensors.

    I spend time in two places. San Juan Islands WA and Santa Cruz, CA.

    On island, nights are too quiet. During the day, a float plane a mile away sounds like it is next door.

    In Santa Cruz, the house is on a major street. Busses, ambulances all sorts of yahoos.

    I sleep better quiet. But I sleep even better when settled - mind not going, etc.

    I generally don’t sleep well at all. The biggest factor is - has my brain settled. Background and noise don’t matter.

  • That CO2 concentration looks unhealthy, I wonder to what extent it's affecting your sleep quality (as opposed to waking you up).

    > Measure before you fix

    In my case, I got a few IKEA CO2 sensors, and after leaving them in the bedrooms for a few days, we found that leaving an outside window slightly open + the bedroom door open, kept the CO2 levels below 600PPM at night.

    We're 1000ft/300m away from a motorway, but fortunately the noise pollution isn't bad. So ventilating (even as it's getting cold) turned out to be a simple fix. I hadn't thought of collecting sleep data from our devices, but maybe I'll get an AI to do that, so I can correlate our sleep quality with the environment.

  • This is really cool. We did a similar thing around 2 years ago but didn't use AI in that case. Just used a phone to record a few nights sleeping. Then a python script. I manually listened for some time in order to find the threshold amplitude (where all sounds would be ignored below and tracked above). Generated a graph that should the spikes of interest. Clicked on the spikes which went to the timestamp in the audio and listened. Not super scientific I know.

    Two observations. 1. Often you wake up after a loud noise but like 5 minutes later with no memory of it. 2. even if you don't wake up from the noise your breathing changes, more likely to talk in sleep and shuffle more. So even if you not waking up your quality of sleep is disrupted.

    Our case had some random construction like noise in the early morning, lasted around 10 seconds and disappeared. However, we noted even ordinary sounds we didn't think was loud was effecting our sleep.

    Solution for that place was earplugs and a loud fan to generate white noise.

  • Hey, OP, consider sleeping with ear plugs. They're scientifically proven to reduce night time awakenings due to audio disturbances. [1]

    [1] https://academic.oup.com/sleep/advance-article/doi/10.1093/s...

Explore Birbla archives