heedy / heedy-fitbit-plugin

Sync your fitbit data to heedy
Other
4 stars 1 forks source link

Support of fitbit data points and activities #9

Open mammuth opened 2 years ago

mammuth commented 2 years ago

Hi! I stumbled upon heedy when looking for a way to get data "out" of various services like fitbit and I'm very curious about it! I especially like the architecture :blush:

After taking a glimpse at https://github.com/heedy/heedy-fitbit-plugin/blob/2ecbdffeece622652f5a3703eb30b479bbb54820/syncer.py#L292 it looks like only a small subset of data points are supported by this plugin right now.

One question & one comment :blush:

"Missing" data (as to my knowledge / assumption)

dkumor commented 2 years ago

Readme update:

definitely, I might have time to do this in a bit, but will also welcome a PR

Missing Data

This one is tough. In general, yes I want to add all the data gathered by fitbit. The two caveats are time and API availability.

With that, the missing data:

mammuth commented 2 years ago

I appreciate your lightning-fast and detailed reply! :rocket:

Thanks for sharing your experience with the fitbit API.

HRV, SP02, Skin Temperature: Not available through API

That's so unfortunate... :smirk: At least HRV can be derived from heart rate data - they use the RMSSD formula based on the longest sleep period of the last 24 hours. (source: App > health metrics > HRV > about). Might not be super straightforward to implement nicely but at least it's possible.

activities: I really want to add this, but the API is confusing there: I only got steps from the API, but would love to see how to get activity names https://dev.fitbit.com/build/reference/web-api/intraday/get-activity-intraday-by-date/

Yeah, I also had the feeling their whole activity tracking is centered around steps and works best with step-based activities... Eg. if you say you're exercising on a rowing machine (which is a predefined activity), it still counts "steps" for the exercise :shrug: