Fitbit.conf

I have problem setting up the fitbit component, i see other people mention something about the "last_saved_at" variable.

Anyone can explain what the numbers people put in stand for? and have an example fitbit.conf file for me how it should look like?

thanks
Johan

This is the recieved error msg from my log:

ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform fitbit
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fitbit.py", line 235, in setup_platform
    import fitbit
  File "/srv/homeassistant/lib/python3.5/site-packages/fitbit/__init__.py", line 10, in <module>
    from .api import Fitbit, FitbitOauth2Client
  File "/srv/homeassistant/lib/python3.5/site-packages/fitbit/api.py", line 13, in <module>
    from requests_oauthlib import OAuth2Session
  File "/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in <module>
    if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()

Looks like you have the issue that I had with Hassbian on jessie. Fix for this is to rollback requests from its current version 2.18.4 to 2.14.2 whilst in the VENV the restart HA

pip3 install requests==2.14.2

You were right about this. And now my sensors show up, but no values are updated.!
Any ideas about this? fitbit%20not%20working

Have you rolled back requests as I mentioned above?

Yeah i did, its working now, it was just a very slow update the first time. Thx for ur help.

I am getting the same error.

Hassbian 0.62.0
Python 3.5
requests-2.14.2

Error:

Error while setting up platform fitbit
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 189, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fitbit.py", line 235, in setup_platform
    import fitbit
  File "/srv/homeassistant/lib/python3.5/site-packages/fitbit/__init__.py", line 10, in <module>
    from .api import Fitbit, FitbitOauth2Client
  File "/srv/homeassistant/lib/python3.5/site-packages/fitbit/api.py", line 13, in <module>
    from requests_oauthlib import OAuth2Session
  File "/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in <module>
    if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()

Any thoughts?