jaroslawhartman / withings-sync

Synchronisation of Withings weight
MIT License
455 stars 89 forks source link

Sync fails with "INFO - No Garmin username - skipping sync" #160

Closed XceptN closed 10 months ago

XceptN commented 10 months ago

Installed via pip:

and token auth done.. Running sync fails with

INFO - No Garmin username - skipping sync

with logs/debug attached at withings-sync-debug-log-PI-obfuscated2.log

This has been working months before .. I am pretty (1) sure that I am not doing something wrong..

XceptN commented 10 months ago

Tested with 4.2.4 . New log file withings-sync-debug-log-PI-obfuscated-4.2.4.log

longstone commented 10 months ago

Ill check later, but this seems suspicios

withings-sync script version 4.1.0

longstone commented 10 months ago

Try

--garmin-username XXXX --garmin-password YYYY

Instead of

--garmin-username=XXXX --garmin-password=YYYY

XceptN commented 10 months ago

Same result.

longstone commented 10 months ago

You have no weight measurements right? Blood pressure is feature flag enabled:

--features BLOOD_PRESSURE

XceptN commented 10 months ago

No weight measurements indeed.. So I tried with --features BLOOD_PRESSURE and it worked!

So it seems either the need to specify that is a change happened some months ago or I completely forgot that it was needed (possible).

longstone commented 10 months ago

Its this way since inception. However, the error message is not correct.

XceptN commented 10 months ago

Solved. Thanks