-
Hello, Thanks in advance for your feedback Seb |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 5 replies
-
Hello, I'm also interested in a feature like this. I'd love to calculate the time I spend in each HR zone and also be able to match it against the activities at the time. Most of my activities are training/cardio-training and I'd like to track over time. The garmin Connect App can generate it, but only for views in the app. I'd to pull out the full historical data myself. I assume the steps are:
I think this can be done with what we have. I have some Python, SQL and JupyterLab experience but to attack this problem here, what's the best place to start? I saw in some other discussions that instead of querying directly, there are "classes" to use to access the data. Is that the place to start? -Steve |
Beta Was this translation helpful? Give feedback.
-
commit 46affdd implements addition of the following fields to the activities and laps tables:
and is currently available on the development branch. Please test and give feedback. |
Beta Was this translation helpful? Give feedback.
-
That's great! When I got home I was going to start looking for those fit
files ..
If I check out the dev branch, will it access my old database? And then
would I have to update the database?
Steve
…On Sun., Jan. 9, 2022, 2:14 p.m. Tom Goetz, ***@***.***> wrote:
commit 46affdd
<46affdd>
implements addition of the following fields to the activities and laps
tables:
# heart rate zone data
hr_zones_method = Column(Enum(fitfile.enum_fields.HeartRateZonesMethod))
# heart rate threashold that the zone starts at
hrz_1_hr = Column(Integer)
hrz_2_hr = Column(Integer)
hrz_3_hr = Column(Integer)
hrz_4_hr = Column(Integer)
hrz_5_hr = Column(Integer)
# amount of time in that zone
hrz_1_time = Column(Time, nullable=False, default=datetime.time.min)
hrz_2_time = Column(Time, nullable=False, default=datetime.time.min)
hrz_3_time = Column(Time, nullable=False, default=datetime.time.min)
hrz_4_time = Column(Time, nullable=False, default=datetime.time.min)
hrz_5_time = Column(Time, nullable=False, default=datetime.time.min)
and is currently available on the development branch. Please test and give
feedback.
—
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYOWLY22ROSMIMT6PZYA3UVH3EZANCNFSM5KB473EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I added two Jupyter notebooks in commit 0c8af32. One gives a summary of all activities and the other give a summary of a single activity. They might be a good starting point for your higher level analysis. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks! Wow, you're fast, I was out skiing today and thinking
about how to write the notebooks, it'll be great to have a starting point
If I submit any of this back, do you have rules for libraries? I typically
like the pandas/bumpy, etc. tools but a lot of what I've seen so far is
more pure python. Is that what you want people to stick to?
Steve
…On Sun., Jan. 9, 2022, 7:21 p.m. Tom Goetz, ***@***.***> wrote:
I added two Jupyter notebooks in commit 0c8af32
<0c8af32>.
One gives a summary of all activities and the other give a summary of a
single activity. They might be a good starting point for your higher level
analysis.
—
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYOWMHTY4KW5IFDFD4D6LUVI7BZANCNFSM5KB473EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I created a clean environment and grabbed that branch. However, I happen
to be running on a Windows machine this time (it was most convenient)
which doesn't have make (I used pip for the original install).
Is there a way to run the install with python only (i.e the setup.py file,
perhaps) or use pip with the requirements files?
If there isn't no big deal, I have Linux machines or a Mac or two I
could try as well..
…-Steve
On Sun, Jan 9, 2022 at 2:44 PM Tom Goetz ***@***.***> wrote:
That's great! When I got home I was going to start looking for those fit
files .. If I check out the dev branch, will it access my old database? And
then would I have to update the database?
You will have to rebuild the db. If your working from a source tree, do:
make clean reinstall rebuild_dbs
—
Reply to this email directly, view it on GitHub
<#142 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYOWKFWRIP4OKLGZUMBITUVH6SJANCNFSM5KB473EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Steve Mroszczak
E: ***@***.***
T: @smroszczak
LinkedIn: ca.linkedin.com/in/smros/
|
Beta Was this translation helpful? Give feedback.
-
I haven't been successful in getting a dev environment up on my Raspberry
Pi. I tried a few things including a parallel version and a completely
clean new version, but it gets tripped up on a couple of dependencies for
the fit files and idbutils.
I modified the requirements file to just see if I could get it through the
build, but then I think it tripped as it wanted to be in the venv, which I
couldn't figure out how to activate.
What's the recommended dev environment that you use? Ex. Ubuntu linux of a
particular version?
Thanks,
…-Steve
On Sun, Jan 9, 2022 at 2:44 PM Tom Goetz ***@***.***> wrote:
That's great! When I got home I was going to start looking for those fit
files .. If I check out the dev branch, will it access my old database? And
then would I have to update the database?
You will have to rebuild the db. If your working from a source tree, do:
make clean reinstall rebuild_dbs
—
Reply to this email directly, view it on GitHub
<#142 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYOWKFWRIP4OKLGZUMBITUVH6SJANCNFSM5KB473EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Steve Mroszczak
E: ***@***.***
T: @smroszczak
LinkedIn: ca.linkedin.com/in/smros/
|
Beta Was this translation helpful? Give feedback.
-
Answered my own question. Long story, but while getting some parts for a Mac repair, I ended up with and extra SSD so setup a completely clean Ubuntu environment, and when I hit the same roadblocks on the two dependancy versions, I cloned each of those, checked out their development branches, then did a 'sudo python3 setup.py install' on each. The setup finished and did my DB download last night, and now I am looking at the new DB. -Steve |
Beta Was this translation helpful? Give feedback.
-
You can run |
Beta Was this translation helpful? Give feedback.
-
Heart rate zones in version 3.2.0. No current plans to add gear since its not in currently fetched Garmin Connect documents. |
Beta Was this translation helpful? Give feedback.
Heart rate zones in version 3.2.0. No current plans to add gear since its not in currently fetched Garmin Connect documents.