Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: add “sleep” state #6

Open
JamieP83 opened this issue Jun 6, 2021 · 1 comment
Open

Request: add “sleep” state #6

JamieP83 opened this issue Jun 6, 2021 · 1 comment

Comments

@JamieP83
Copy link

JamieP83 commented Jun 6, 2021

Hey!
Loving the add-on! Thanks for developing this :)

any chance you can add the “sleep” state at all? I see on the app it tracks light/deep sleep state - is this an attribute that can be pulled over somehow?

@jlamendo
Copy link
Owner

Unfortunately, Owlet doesn't expose this information via the API. I think that must be done on the backend using some sort of post-processing ML model.

If you have the Owlet Smart Sock v3, you can probably hack together a similar metric by combining something like % of minutes in the last 10 minutes in which there was motion detected + heart rate within a specific range. I know for my son, I'm able to quickly tell at a glance if he's sleeping or not by viewing the heart rate for a few measurements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants