eight-health
Version, currently main branch1 version
- main branchlatestMay 18, 2024
github.com/luisivan/eight_export
Exports your average HRV and BPM per day from Eight Sleep to a CSV file, which then you can easily import into Apple Health
Installation
# Add this to your shard.yml
dependencies:
eight-health:
github: luisivan/eight_export
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.12.1- License
- MIT
- Author
- Luis Cuende
- Target
eight-healthfrom src/eight-health.cr
Dependencies
Runtime Dependencies
- crest*github: mamantoha/crest
README
eight_export
Exports your average HRV and BPM per day from Eight Sleep to a CSV file, which then you can easily import into Apple Health.
Installation
It's a Crystal program, so you just need to download and run the binary (eight_export). It's a macOS binary, binaries for other platforms haven't been compiled. Please read the code (it's really short) before running random binary programs in your machine.
Usage
Create .auth.yml like this:
email: your@email.com
password: securepassword123
timezone: America/Grenada
Then run the program like this:
eight_export -f 2024-01-01
Default file path is entries.csv and by default it looks for a date in the latest row and exports entries from that date. So, the first time you run it, you probably want to specify a date. From then onwards, it overwrites the file every time with the new entries.
The use case is to export data to a CSV in iCloud, and then import the CSV to Apple Health every day/week.
Usage: eight_export [arguments]
-f DATE, --from=DATE Export from date (in format %Y-%m-%d)
-o FILE, --output=FILE Export to file path
-h, --help Show this help
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- May 18, 2024
- Crystal
>= 1.12.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/luisivan/eight_export
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1