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

Support for custom activities #26

Open
pkpio opened this issue Apr 18, 2017 · 1 comment
Open

Support for custom activities #26

pkpio opened this issue Apr 18, 2017 · 1 comment

Comments

@pkpio
Copy link
Owner

pkpio commented Apr 18, 2017

Yoga, Qi Gong, Tai Chi and Aquagym

cc: @davideriboli

@davideriboli
Copy link

Hi @praveendath92,

I've double checked the Fitbit app names. They are written exactly so:

  • Aquagym, calistenica in acqua
  • Acqua jogging
  • Qi Gong
  • Tai chi
  • Yoga, Ashtanga

I've created on Fitbt app 5 fake activities, one per type. Every fake was logged for one hour.
Then I've launched app.py with my convertors (and correct activities names).
Terminal output ended with 5 activities in sync.
GoogleFit logs only 2: Tai chi and Qi Gong (both under Yoga).

My convertor.py changes are:

[...]
		elif activity['activityName'] in ('Yoga, Ashtanga','Qi Gong','Tai chi'):
				activityType = 100
		elif activity['activityName'] in ('Acquagym, calistenica in acqua','Acqua jogging'):
				activityType = 21
[...]

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