PineTime Sleep Tracking
#11
I'd guess it's down to whether infiniTime exposes the heart rate over BLE in the format that Sleep As Android requires since there seems to be more than one protocol. These issue reports may give you some guidance. Unless I've misunderstood the question...

https://github.com/InfiniTimeOrg/InfiniTime/issues/895
https://github.com/InfiniTimeOrg/InfiniTime/issues/749
  Reply
#12
My limited understanding of how Fitbit derive sleep state is through movement and variation in heart rate, they mention HRV changing as you transition through sleep stages.

This lets them calculate sleep stages with only an accelerometer and optical heart rate sensor and it appears their method of tracking sleep stages is between 75% and 80% as accurate as compared to a head mounted EEG.

So yeah, you don't need much to get a lot out. Would love to be able to integrate ML into the data processing, perhaps have a calibration period where you wear a sensor along with an EEG to improve accuracy through training.
  Reply
#13
Hey folks, I’m super new to Pine Time and wanted to figure out what I need to get started - would love to try and figure out sleep detection using accelerometer and HR data. What’s the simplest way to get it - should I buy a regular Pine Time or a DevKit?

Things I’d like to build:
- Sleep detection
- Adaptive alarm (wake me up if I experience REM between 7 and 8am)

Ideally I’d have the watch send the telemetry wirelessly to a server (maybe a Raspberry Pi) that will interpret the data and tell the watch if any action is required (eg buzz).

Does infiniTime offer this as is or do I need to hack it?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTime at FOSDEM jmlich 5 628 02-07-2024, 11:48 PM
Last Post: tllim
  PineTime turns off when removed from cradle tynstar 0 185 01-31-2024, 11:57 AM
Last Post: tynstar
  PineTime and Amazfish on Ubuntu Touch jmlich 1 648 10-14-2023, 04:12 PM
Last Post: tllim
  PineTime is dead!! Markdanni123 12 13,515 09-18-2023, 10:17 PM
Last Post: ccchan234
  PineTime Dead out of box? henkery 1 1,154 03-12-2023, 04:34 PM
Last Post: henkery
  Pinetime almost dead... only shows Infinitime logo. lightweight 8 6,516 02-11-2023, 09:30 AM
Last Post: alexmitroff
  PineTime beginner MV1791 2 2,093 01-09-2023, 11:52 PM
Last Post: Canyonless
  Struggling to detect Pinetime over bluetooth John45595 0 1,122 11-20-2022, 11:06 PM
Last Post: John45595
  PineTime Dev Kit for sale igor.bljahhin 2 3,133 10-19-2022, 05:34 AM
Last Post: peatord
  Pinetime Screen issue after bootloop troubles Spater 12 5,537 09-15-2022, 05:03 PM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)