-
Notifications
You must be signed in to change notification settings - Fork 0
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
What is the status of this work piece? #5
Comments
It might be feasible to make the ConnectIQ-App login in Garmin Connect via OAuth and upload a FIT file of ANY type to the account of the logged in user. See https://developer.garmin.com/connect-iq/core-topics/authenticated-web-services/ I your watch has WIFI or is connected to your phone this should be an option to proceed, because similar convenient as your current approach. |
Hey there, Thanks for your interest and suggestions. As far as I'm aware, the Connect API on wearable devices doesn't allow creating FIT files other than through activities, and as such is limited to SPORT_* types. See also the official API docs. I've also come across your second suggestion already and in fact there are several options out there that already do this, albeit not from a wearable. Given that you can't create the right FIT file on a wearable, I don't think it makes sense to upload it from it either. In addition, there are no public Garmin APIs either. The APIs offered are for businesses and not for personal use, so all the existing solutions are relying on reverse engineered APIs that Garmin could change at any moment. I mainly used this as a hobby project to get a better understanding of Connect IQ and writing applications for Garmin wearables. I might revisit this, but haven't had a chance to work on this lately. |
Hi Dimitar, |
Interesting! I'll check out the app! I did before the holidays, but the token acquisition was not working for me. I just saw that you pushed several updates over the past couple of weeks, so I'll give it another look. |
Hi Dimitar,
nice idea, I just now already had.
I have seen you are using
ActivityRecording.createSession({:name=>"Withings", :sport=>ActivityRecording.SPORT_GENERIC});
I assume this is nice to have it synced automatically to Garmin Connect, but it would end up as a FIT_FILE_ACTIVITY and not a weigh scale type FIT file type.
But maybe I am wrong. Please confirm the status of your work results.
Best regards - Klaus.
The text was updated successfully, but these errors were encountered: