openyou / libfitbit

Library for accessing and transfering data from the Fitbit health device
http://www.openyou.org
BSD 3-Clause "New" or "Revised" License
422 stars 66 forks source link

"Failed with Failed to detect reset response" #43

Open SkaveRat opened 12 years ago

SkaveRat commented 12 years ago

I'm running Arch linux, and currently trying to sync my (classic) fitbit, but this is the output I get

Anybody got an idea what is wrong?

Found FitBit base
Start reset () {}
    sent: ['xx', 'xx', 'xx', 'xx', 'xx']

[a pause here...]

Fail reset
Failed with Failed to detect reset response

------------------------------------------------------------
Traceback (most recent call last):
  File "python/fitbit_client.py", line 172, in <module>
    main()
  File "python/fitbit_client.py", line 161, in main
    f.run_upload_request()
  File "python/fitbit_client.py", line 129, in run_upload_request
    self.fitbit.init_tracker_for_transfer()
  File "/home/skaverat/projekte/libfitbit/python/fitbit.py", line 167, in init_tracker_for_transfer
    self.init_fitbit()
  File "/home/skaverat/projekte/libfitbit/python/fitbit.py", line 152, in init_fitbit
    self.init_device_channel([0xff, 0xff, 0x01, 0x01])
  File "/home/skaverat/projekte/libfitbit/python/fitbit.py", line 156, in init_device_channel
    self.base.reset()
  File "/home/skaverat/projekte/libfitbit/python/antprotocol/protocol.py", line 70, in wrapper
    res = f(self, *args, **kwargs)
  File "/home/skaverat/projekte/libfitbit/python/antprotocol/protocol.py", line 160, in reset
    self._check_reset_response(0x20)
  File "/home/skaverat/projekte/libfitbit/python/antprotocol/protocol.py", line 131, in _check_reset_response
    raise ANTStatusException("Failed to detect reset response")
ANTStatusException: Failed to detect reset response
------------------------------------------------------------