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

Issues with Data Transfer from Withings to Garmin: Potential Restrictions in Code or API Categories? #134

Open
CyberschmiedeGmbH opened this issue Oct 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@CyberschmiedeGmbH
Copy link

I have imported blood pressure data into Withings via an interface, which I can normally view within Withings. However, these data are not recognized as data records during the transfer to Garmin and are therefore not transferred. In contrast, manually or original created data records for blood pressure measurement are recognized in Withings. Is it possible that there are restrictions in the code concerning the datasets to be read out? Are there categories or something similar in the Withings API? Thank you

@longstone
Copy link
Collaborator

Is your account set to the required region?

#106 (comment)

@CyberschmiedeGmbH
Copy link
Author

Yes, the region is set to the USA. I can also upload other blood pressure data by "withings-sync" to Garmin without any problems. The synchronization process works, but not all data from Withings are properly selected/chosen. The blood pressure data that was integrated into Withings via interface are not recognized or selected by "withings-Sync".

@longstone longstone added the enhancement New feature or request label Jul 1, 2024
@longstone
Copy link
Collaborator

category | integer1 for real measures, 2 for user objectives.
https://developer.withings.com/api-reference/#tag/measure/operation/measure-getmeas

Categorie programatically set to 1.

"category": 1,

https://github.com/jaroslawhartman/withings-sync/blob/master/withings_sync/withings2.py#L246

Could be implemented with a feature flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants