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

Save Everything to DB #7

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

Save Everything to DB #7

wants to merge 42 commits into from

Conversation

antgiant
Copy link

@antgiant antgiant commented Dec 21, 2022

Adding an option to download the complete set of data including historical data from Owlet and save it into a local SQLite DB for whatever use you would like. It is designed to be smart about resuming downloads and incrementally adding new data. However, Owlet stores a surprising amount of data so this can easily run into hundreds of megs of data and take many hours to download. I would expect initial run to take several hours and follow up runs to be much quicker.

Note: This was to scratch my own itch and does not have any tests to validate thing. Feel free to add them. :-)

P.S. This builds on #6 and will not work without it.

URLs fixed
Improved Error Messages
Squashed a few other bugs
Currently saves Device Data only
Correct mapped property values
Give mapped properties unique keys
Added a 30 second sleep to let firebase wake up
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

Successfully merging this pull request may close these issues.

1 participant