Key | Type | Required | Notes |
---|---|---|---|
clientId | string | true | Your unique client id from Withings app dashboard |
consumerSecret | string | true | Your unique secret from Withings app dashboard |
redirectUri | string | true | Your callback URI from Withings app dashboard |
authorizationCode | string | true | See guide below to see how to get this |
You can see the documentation here
But easier way to do this is to:
- Call this URL in a browser
https://account.withings.com/oauth2_user/authorize2?response_type=code&scope=user.metrics&state=123123&client_id=<yourClientId>&redirect_uri=<yourRedirectUri>
- Press
Allow this app
when asking for permission - Copy paste query param
code
from address bar of the browser. Thiscode
is yourauthorizationCode
code
in the address bar is valid only for 30 seconds! So paste it quickly to MMM-Withings module's config and start the mirror