Read the statement by Michael Teeuw here.
MMM-Fitbit2
-
@sdetweil Unfortunately it doesn’t say so I’ve just tried running in and out of the Fitbit directory.
https://github.com/m-roberts/MMM-Fitbit2
redirects you to this webpage
https://pypi.org/project/fitbit/0.3.1/
and I can’t see anywhere it says what folder to install it into.
-
@jjw Running
init.sh
inside theMMM-Fitbit2
folder should take care of installing the dependencies for you. -
@vizulize I’ve done that, unfortunately still just have loading.
-
Entered all of the required information in the Fitbit application registry.
At the ./auth.sh process, entered correct “Client ID” and “Client Secret” and I get the following after Allowing full access during authentication process:**Fitbit
The app you’re trying to connect did not provide valid information to Fitbit. Please report this issue to them.Developer information: invalid_request - Missing parameters: client_id**
Any help would be greatly appreciated!
-
Also - attempted to authorize and obtain token directly from the Fitbit site using their token authenticator from the “OAuth 2.0 tutorial page” and I received the error message below:
404 Not Found
Missing parameters: stateTraceback (most recent call last):
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py”, line 54, in call
return self.callable(*self.args, **self.kwargs)
TypeError: index() missing 1 required positional argument: ‘state’During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py”, line 628, in respond
self._do_respond(path_info)
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py”, line 687, in _do_respond
response.body = self.handler()
File “/usr/local/lib/python3.7/dist-packages/cherrypy/lib/encoding.py”, line 219, in call
self.body = self.oldhandler(*args, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py”, line 60, in call
raise sys.exc_info()[1]
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py”, line 58, in call
test_callable_spec(self.callable, self.args, self.kwargs)
File “/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py”, line 157, in test_callable_spec
raise cherrypy.HTTPError(404, message=message)
cherrypy._cperror.HTTPError: (404, ‘Missing parameters: state’) -
@dresch360 looks like something changed in the api requirements, but the library version hasnt
-
@sdetweil - Thanks for your reply. So does this mean that no new tokens can be created?
-
any chance of this being revived and updated?
-
@richmp95 you’d have to post in an issue in the module GitHub repo
-
@richmp95 - last I checked, this still works. Why does it need ‘reviving’?
If you would like to have extra features, I am open to suggestions and contributions.