I have a Withings scale which works pretty well with the existing HA integration.
I do also have a Garmin watch which also works pretty well with the existing HA garmin_connect integration.
Now wanting to appear my Withings data (weight, BMI, fat, etc.) in Garmin AND HA seems to be difficult. Off course I could just display the Garmin data in HA, but my idea is rather to trigger an upload script to Garmin, once the value(s) of the scale change.
I did play around with https://github.com/jaroslawhartman/withings-sync which also works quite good, but collects the data directly from Withings and therefore (at least to my understanding) an own refresh_token is needed. Sharing the same ClientID and ConsumerSecret between HA and that script is not sufficient and leads to either one or the other to be working.
To my understanding Withings seems to foresee only one API account per User (set of measures).
So far I did not find any suitable code on Github or here in the Forums which could grab the most recent data from HA and upload it to Garmin (e.g. as a .fit file).
Does someone have a solution for this or, as I am not familar with Python, is someone interrested to write such a ‘proxy’ functionality?
Python libraries for creating .fit files and also for uploading these .fit files to Garmin Connect are available to the public and seem to be working as of today, which doesn’t make such a solution too complicated, if someone is famiar with coding Python…