I followed the steps to register a new app in the fitbit dev site.
for the application website and organization website, i’ve tried the local IP, loopback ip, and domain name.
for the callback url, i’ve tried: the local ip:8123/auth/fitbit, loopback, and domain as well.
I enter in the client id and client secret. The next phase of the configurator says to go to the localIP:8123/auth/fitbit site and authorizing. however, when i go to the site, i keep getting the following message:
{
"message": "API password missing or incorrect."
}
Last, when you go to the auth site… yours will be your local ip (http://172.16.1.18:8123/auth/fitbit) make sure that the correct client id is listed for your application. Mine was a wrong one, so i just changed it to relfect the new one i created. BTW, the new version, doesn’t require the ?api_password= anymore which is better for security.
Thanks, even i got it working, but seems it stops after sometime with error-
File “/home/pi/.homeassistant/deps/oauthlib/oauth2/rfc6749/clients/base.py”, line 194, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)