HI version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
71% Positive
Analyzed from 2057 words in the discussion.
Trending Topics
#sleep#noise#night#wake#sure#off#data#turned#waking#where

Discussion (50 Comments)Read Original on HackerNews
I went to work at a BBB office once. They turned all their computers off at night and every morning they were back on. It was just "normal" for them.
I can't even remember what problem I was troubleshooting. At the time I was working on IVR systems.
Anwayz, I was working late in their office. Everyone had turned off their computers and went home. At exactly Midnight, every computer in the office turned back on.
I walked around the office looking at desks wondering what had happened. On one persons desk was an alarm clock with a very quiet alarm buzzing. I checked the clock and it was set for midnight (probably a default). About two minutes later it turned off automatically.
I turned off computers and re-set the alarm to go off a few minutes later.
When that alarm clock went off it somehow caused either draw or feedback in the wiring that caused all the computers to turn back on. At the time I wondered if it had something to do with wake on lan.
In any case, I suggested that person take their alarm clock home.
> 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.
Most wakeups are from noise (I can see it in the data) but high CO2 levels can also make me a lighter sleeper.
Not sure where you’re based but in Europe the priority is mostly on heat isolation, so air movement suffers. The US is better in that regard. There was a big thread on that topic on X the other week (Peter the indie hacker initiated it and there were some good recommendations in case you’re the owner of the flat)
we rarely get over 1k here
“These results are not applicable to typical buildings, where outdoor-to-indoor air exchange already removes volatile organic compounds (VOCs) at a rate that could only be matched by the placement of 10–1000 plants/m2 of a building's floor space.[2]
The results also failed to replicate in future studies”
Big fan of plants though, help me feel calm
[1] https://academic.oup.com/sleep/advance-article/doi/10.1093/s...
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.
And thanks for sharing that comment, I can second your two observations
For multiple months, I thought I’m waking up at night because I need to go to the bathroom so often (even checked for insulin resistance but markers were perfect). Interestingly enough, most of the times (not always) there are one or multiple louder sounds just before I wake up to go to the bathroom. Zero memory or conscious perception of the noise, still woke up and feeling like I need to go to the bathroom
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.
I grew up in the country side and unfortunately, where I live now, double glassing isn’t a thing unless you live in a recently built house.
That doesn’t nullify what you’re saying, obviously putting worries into sleep affects the sleep itself. Still thought it was an interesting project to build as I’m anyways cautious about noise and air pollution topics :)
Have the same pattern, issue is cortisol/stress, not sounds / etc that happen precisely at night
Built simular things tonwhat Op did (thoug using Oura for sleep tracking, not Garmin)
Result: no statistically significant variations in sounds, CO2 normal etc. Cortisol is what doctors/AI told me first
I love my Garmin, but it's one of the worst smart watches to track sleep with. It consistently ranks poorly in tests that stack it up against pro sleep equipment, and from my experience it struggles to even detect sleep times properly. That 3:32 event that the watch said has pulled you out of deep sleep may not have been real.
It resonates well with what some people have been saying about building software for 1 person.
Otherwise making sure the windows are properly sealed is first resort. And if you’re living with other people (partner, flatmates, family) it also helps to check the doors
I spend most of my days in front of CLIs but here I really think a cli wouldn’t be the right tool for the job..
AI is melting your real world understanding: https://www.sleepfoundation.org/how-sleep-works/biphasic-sle...
Also, not sure if you’ve taken the time to read the post but it clearly states that I’m not using AI to analyze the data. The point of posting this was a different one
I’m happy because I can clearly hear what wakes me up at night. I knew I wake up from noise and now I can clearly see it in the data that I wake up right after door slams, noisy motorbikes, car horning, and dishes from the kitchen (own and neighbors)
After taking action I now sleep better and don’t have those random wake-up moments.
Also the AI-generated hero image looks vile.
The intention was to have something less detailed than the screenshot in the post.
About the other thing: yes this would have worked for a night or so. I wanted to be able to go back and forth between nights and compare. I also had concerns about the SD-card durability and storage capacity. Still, after an hour into letting the coding agent do its thing, I was impressed by the result, so more and more ideas popped into my head