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 Black Screen philipallmon 0 120 11-11-2024, 12:47 AM
Last Post: philipallmon
  PineTime charging issues - connecting pins black gsoundsgood 2 452 09-15-2024, 02:59 PM
Last Post: gsoundsgood
  How do I clear all personal data from the pinetime smartwatch? taltamir 7 593 08-23-2024, 04:44 AM
Last Post: 67man
  [SOLVED] Gadgetbridge not pairing with pinetime zoof 3 5,126 06-25-2024, 12:21 AM
Last Post: Amen
  PineTime at FOSDEM jmlich 5 1,862 02-07-2024, 11:48 PM
Last Post: tllim
  PineTime turns off when removed from cradle tynstar 0 571 01-31-2024, 11:57 AM
Last Post: tynstar
  PineTime and Amazfish on Ubuntu Touch jmlich 1 1,229 10-14-2023, 04:12 PM
Last Post: tllim
  PineTime is dead!! Markdanni123 12 16,285 09-18-2023, 10:17 PM
Last Post: ccchan234
  PineTime Dead out of box? henkery 1 1,648 03-12-2023, 04:34 PM
Last Post: henkery
  Pinetime almost dead... only shows Infinitime logo. lightweight 8 8,770 02-11-2023, 09:30 AM
Last Post: alexmitroff

Forum Jump:


Users browsing this thread: 3 Guest(s)