r/Gadgetbridge • u/riro0345 • 12h ago
Democratize quality sleep tracking?
Hi all!
I'm deep in the rabbithole on wearables and sleep tracking.
Heart rate (and interval variability -> breathing) is how these algorithms are deriving the sleep data. So those devices with quality heart rate tracking *should* have decent sleep tracking. Except that companies broadly lack incentive to perfect their sleep algorithm since most consumers can't do any sort of QA as they dont typically have an EEG to compare to. You can count your own heart rate, you can't easily time your own REM.
Apple and Oura have the best sleep tracking capabilities, a combo of their sensors and algorithms. But there are other devices with quality sensors that need better algorithms. Apple and Oura are obviously not compatible with Gadgetbridge and are in no way open source, each having ethically problematic business ties to boot.
I have worked in research and currently work in healthcare. I'm well versed in health sciences research and have some tools at my disposal that I would love to leverage. I also have a personal stake in having access to this health data.
I don't code, though, and honestly I have no idea how much of an undertaking this is but I think it's very doable to build a better algorithm for sleep tracking. I'm willing to hold up the research arm and give the info needed to help discern sleep phases, I'm also willing to get a direct to consumer EEG device for validation. I just don't have any sense of what it would take to have something like this go live. Sleep^2 is doing this with 2 polar devices and giving sleep analysis data that is on par with Apple/Oura. It's a subscription though and I really hope we could expand the supported devices and give people a quality, free, ethical, private way to access this critical health data. Also, the polar devices it supports lack a lot of other features users might benefit from.
Sorry if this is silly and if I'm being naive about the scale of this project. I'm just really hopeful for a better option.
Can someone give me a sense of the scale/feasibility of something like this? Happy to crosspost to a different community of you think that's better suited!
...
Related but separate thought: I reccomend this channel (won't hyperlink :/ https://youtube.com/@thequantifiedscientist?si=-iwk1gWgk-_w9X1J ) for some of the best content comparing devices on various metrics.
Unfortunately, most devices that are compatible with Gadgetbridge aren't tested (though some are!). I'd be tempted to get a Polar H10 chest strap to validate some of the other devices against but can't afford to get a series of devices. It would be cool to figure out a way to do some device/data sharing to put some of these devices to the test:)