This is cool don't get me wrong, but surely overcomplicated? Why not just record audio to disk the whole night then eyeball the waveform for loudness spikes? If you just don't connect it to any network at all, there's no data breach risk (or am I misunderstanding the justification for the noise-detection toggle thing?).
Also the AI-generated hero image looks vile.
[flagged]
[dead]
[flagged]
[flagged]
[flagged]
[dead]
[dead]
hint: your watch is probably lying to you and you're following a normal bifurcated sleep pattern.
AI is melting your real world understanding: https://www.sleepfoundation.org/how-sleep-works/biphasic-sle...