tag:blogger.com,1999:blog-5409002483446440748.post2165978219841684751..comments2023-09-24T04:18:53.887-04:00Comments on Sharpee's Space: Using the FitBit Ultra Activity Tracker with Ubuntu 12.04 Precise PangolinZonylhttp://www.blogger.com/profile/16744704279047710163noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-5409002483446440748.post-28178106369755369012014-04-23T15:49:06.537-04:002014-04-23T15:49:06.537-04:00not working here, just comes up with NO Base Found...not working here, just comes up with NO Base Found and lsusb only shows Linux Foundation USB devices + Logitech which is my wireless keyboard/mouseAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-68273754615215726472014-04-14T13:20:56.222-04:002014-04-14T13:20:56.222-04:00Hi,
This is just what I need to do but it's r...Hi,<br /><br />This is just what I need to do but it's running on Arch linux (on the Pi of course, with my mining s/w ) how can I get it work here - it seem to do everything and run with bad syntax print - any ideas thanks.MisterPhttps://www.blogger.com/profile/02527895326579298521noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-3073330387659024422014-02-16T14:31:58.211-05:002014-02-16T14:31:58.211-05:00https://bitbucket.org/benallard/galileo
i tested a...https://bitbucket.org/benallard/galileo<br />i tested above today, this way is working fine in Ubuntu 13.04. good job Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-65105249023977292752014-01-06T23:25:16.737-05:002014-01-06T23:25:16.737-05:00With the help of Anonymous above, I could get it t...With the help of Anonymous above, I could get it to work using Ben Allard's new tool, Galileo.py. That can be found here:<br />https://bitbucket.org/benallard/galileo<br /><br />It doesn't seem to work all the time, and it seems to confuse CMWayne's stepcount indicator (I have no idea why). <br /><br />Nice work Mr. Allard and Mr. Wayne. I appreciate it.The2ndGrimhttps://www.blogger.com/profile/00062156175136473386noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-65887616587742192402014-01-06T14:15:04.813-05:002014-01-06T14:15:04.813-05:00Your problem is that you don't have the necess...Your problem is that you don't have the necessary python usb support installed. You need to:<br /><br />1) sudo apt-get install libusb-1.0-0-dev<br />2) wget http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-beta-1/pyusb-1.0.0b1.tar.gz/download, then unzip, switch to the created directory and sudo python setup.py install.<br /><br />That will get you to the place where you'll see "No devices connected!" Huzzah!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-10355520314496331332014-01-04T13:54:57.031-05:002014-01-04T13:54:57.031-05:00I'm running ubuntu 13.10. When I run the qdot...I'm running ubuntu 13.10. When I run the qdot version as sudo, I get the following error...<br />Traceback (most recent call last):<br /> File "/opt/libfitbit/python/fitbit_client.py", line 173, in <br /> main()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 161, in main<br /> f = FitBitClient()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 97, in __init__<br /> if base.open():<br /> File "/opt/libfitbit/python/antprotocol/bases.py", line 26, in open<br /> if not super(FitBitANT, self).open(vid, pid):<br /> File "/opt/libfitbit/python/antprotocol/libusb.py", line 62, in open<br /> self._connection = usb.core.find(idVendor = vid,<br />AttributeError: 'module' object has no attribute 'core'<br /><br />When I run the benallard fork, also as sudo, I get slightly different errors...<br />Traceback (most recent call last):<br /> File "/opt/libfitbit/python/fitbit_client.py", line 312, in <br /> FitBitDaemon(args.debug).run(args)<br /> File "/opt/libfitbit/python/fitbit_client.py", line 278, in run<br /> self.try_sync()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 248, in try_sync<br /> self.do_sync()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 234, in do_sync<br /> f = FitBitClient(self.debug)<br /> File "/opt/libfitbit/python/fitbit_client.py", line 159, in __init__<br /> conn = getConn()<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 124, in getConn<br /> if conn.open():<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 88, in open<br /> if not super(FitBitANT, self).open():<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 33, in open<br /> self._connection = usb.core.find(idVendor = self.VID,<br />AttributeError: 'module' object has no attribute 'core'<br />[]<br /><br />Closing USB device<br />Exception AttributeError: "'FitBitClient' object has no attribute 'fitbit'" in > ignored<br />==========<br />lsusb gives me the following output...<br />Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 007 Device 004: ID 2687:fb01 <br />Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 004 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver<br />Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply<br />Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />====================<br />Any thoughts about this?<br /><br />Thanks.The2ndGrimhttps://www.blogger.com/profile/00062156175136473386noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-16813493554786100832013-12-08T09:59:57.632-05:002013-12-08T09:59:57.632-05:00Worked great on Mint 14, After upgrading to 16. I ...Worked great on Mint 14, After upgrading to 16. I get the following error. Any help would be great. I hate running separate windows pc just for this.<br /><br /> sudo python /opt/libfitbit/python/fitbit_client.py<br />Traceback (most recent call last):<br /> File "/opt/libfitbit/python/fitbit_client.py", line 268, in <br /> FitBitDaemon(args.debug).run(args)<br /> File "/opt/libfitbit/python/fitbit_client.py", line 234, in run<br /> self.try_sync()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 204, in try_sync<br /> self.do_sync()<br /> File "/opt/libfitbit/python/fitbit_client.py", line 190, in do_sync<br /> f = FitBitClient(self.debug)<br /> File "/opt/libfitbit/python/fitbit_client.py", line 115, in __init__<br /> conn = getConn()<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 124, in getConn<br /> if conn.open():<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 88, in open<br /> if not super(FitBitANT, self).open():<br /> File "/opt/libfitbit/python/antprotocol/connection.py", line 33, in open<br /> self._connection = usb.core.find(idVendor = self.VID,<br />AttributeError: 'module' object has no attribute 'core'<br />[]<br /><br />Closing USB device<br />Exception AttributeError: "'FitBitClient' object has no attribute 'fitbit'" in Anonymoushttps://www.blogger.com/profile/17638320488460278843noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-27796239693388335732013-10-11T16:45:39.825-04:002013-10-11T16:45:39.825-04:00Can I use this to access the raw data out of fitib...Can I use this to access the raw data out of fitibit? I'm interested in possibly exporting the data to maybe a .csv and analyzing it in mathematical software. Any help would be appreciated. Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-28099744250840078842013-09-17T15:07:15.641-04:002013-09-17T15:07:15.641-04:00After much reading and faffing about plus using th...After much reading and faffing about plus using the recommendations in this blog I managed to get to No devices connected!<br /><br />Also I see the from lsusb <br />Bus 003 Device 006: ID 2687:fb01 <br /><br />Can anyone help ... please I dont want to go back to windows OSAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-4494239661273921982013-08-15T18:18:41.344-04:002013-08-15T18:18:41.344-04:00Worked for me too. Great!Worked for me too. Great!matebestekhttps://www.blogger.com/profile/11423607478874102737noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-61200021474870205442013-07-31T06:30:30.397-04:002013-07-31T06:30:30.397-04:00great, I followed the instructions and it just wor...great, I followed the instructions and it just workedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-61095395666397497042013-07-30T13:02:31.626-04:002013-07-30T13:02:31.626-04:00Same issue as others. No devices connected. Unplug...Same issue as others. No devices connected. Unplugged dongle and replugged. No luck.Andrew Ghttps://www.blogger.com/profile/13679007686150802066noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-7890737218344004222013-07-25T02:43:58.691-04:002013-07-25T02:43:58.691-04:00I also get the message
"No devices connected...I also get the message <br />"No devices connected!"<br /><br />Any ideas for the solution?Anonymoushttps://www.blogger.com/profile/14858765843494221912noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-8553130580312650372013-07-16T14:16:27.439-04:002013-07-16T14:16:27.439-04:00As long as I can see, the installation works. But ...As long as I can see, the installation works. But when I try to run the service, it says: "No devices connected!"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-91057805742758329742013-07-01T20:48:25.440-04:002013-07-01T20:48:25.440-04:00This works. Thank you. The first time it didn'...This works. Thank you. The first time it didn't. But after I disconnected the USB and reconnected, it synced.<br />Thanks a lot. A lot of "failed" errors are in the Terminal, but it will still sync accurately. I also have to sudo to run the .py but no problem.<br />Thanks again.<br />Anthony<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-50307125389325606832013-06-11T10:19:06.902-04:002013-06-11T10:19:06.902-04:00phil@minuet:/opt/fitbit/libfitbit$ lsusb
Bus 002 D...phil@minuet:/opt/fitbit/libfitbit$ lsusb<br />Bus 002 Device 004: ID 10c4:84c4 Cygnal Integrated Products, Inc. <br /><br />in my case ?PhilThttps://www.blogger.com/profile/17675583272641426292noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-47810977863985079702013-05-24T01:24:13.965-04:002013-05-24T01:24:13.965-04:00I'm getting this error on ubuntu 12.10:
Faile...I'm getting this error on ubuntu 12.10:<br /><br />Failed to find a base<br />No base found!<br />[]<br /><br />Closing USB device<br />Exception AttributeError: "'FitBitClient' object has no attribute 'fitbit'" in > ignored<br />Stevenhttps://www.blogger.com/profile/00569612626924109404noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-2371414309030207612013-03-20T00:34:29.187-04:002013-03-20T00:34:29.187-04:00looks like it should work, however not seeing the ...looks like it should work, however not seeing the device-- No devices connected!<br /><br />lsusb shows<br />Bus 005 Device 003: ID 2687:fb01 <br /><br />which I think must be the dongleGreg Mulkeyhttps://www.blogger.com/profile/05817018265619787598noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-46390933925461124622013-03-06T01:09:50.095-05:002013-03-06T01:09:50.095-05:00This looks like a permission issue with the USB po...This looks like a permission issue with the USB port, look at the rules.d step.<br /><br />if it works as super user than this is the case <br />>sudo python /opt/libfitbit/python/fitbit_client.py<br /><br />you could try adding yourself to the dialout group to get permission to access the usb port<br />>sudo adduser yourUserName dialoutKevin Chttps://www.blogger.com/profile/01751029212380647549noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-21704946653933890592013-03-01T00:33:21.747-05:002013-03-01T00:33:21.747-05:00Any help with this error??
Traceback (most recent...Any help with this error??<br /><br />Traceback (most recent call last):<br /> File "libfitbit/python/fitbit_client.py", line 312, in <br /> FitBitDaemon(args.debug).run(args)<br /> File "libfitbit/python/fitbit_client.py", line 278, in run<br /> self.try_sync()<br /> File "libfitbit/python/fitbit_client.py", line 248, in try_sync<br /> self.do_sync()<br /> File "libfitbit/python/fitbit_client.py", line 234, in do_sync<br /> f = FitBitClient(self.debug)<br /> File "libfitbit/python/fitbit_client.py", line 159, in __init__<br /> conn = getConn()<br /> File "/home/dave/libfitbit/python/antprotocol/connection.py", line 124, in getConn<br /> if conn.open():<br /> File "/home/dave/libfitbit/python/antprotocol/connection.py", line 88, in open<br /> if not super(FitBitANT, self).open():<br /> File "/home/dave/libfitbit/python/antprotocol/connection.py", line 41, in open<br /> self._connection.set_configuration()<br /> File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 554, in set_configuration<br /> self._ctx.managed_set_configuration(self, configuration)<br /> File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 91, in managed_set_configuration<br /> self.managed_open()<br /> File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 70, in managed_open<br /> self.handle = self.backend.open_device(self.dev)<br /> File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 494, in open_device<br /> _check(_lib.libusb_open(dev.devid, byref(handle)))<br /> File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 403, in _check<br /> raise USBError(_str_error[ret], ret, _libusb_errno[ret])<br />usb.core.USBError: [Errno 13] Access denied (insufficient permissions)<br />[]<br /><br />Closing USB device<br />Exception AttributeError: "'FitBitClient' object has no attribute 'fitbit'" in > ignored<br />Anonymoushttps://www.blogger.com/profile/03278194028058588155noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-3417712552088351782013-01-08T18:16:26.361-05:002013-01-08T18:16:26.361-05:00Regarding this error:
Traceback (most recent call...Regarding this error:<br /><br />Traceback (most recent call last):<br />File "/opt/libfitbit/python/fitbit_client.py", line 57, in <br />from fitbit import FitBit<br />File "/opt/libfitbit/python/fitbit.py", line 69, in <br />from antprotocol.bases import getBase<br />ImportError: No module named bases<br /><br />benallard had a small bug in his fork, which is fixed now.<br />https://github.com/benallard/libfitbit.git is working fine now.bugramovicnoreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-49913295492637991752012-12-29T23:45:54.800-05:002012-12-29T23:45:54.800-05:00I got it to work by getting libfitbit from https:/...I got it to work by getting libfitbit from https://github.com/qdot/libfitbit.git instead of https://github.com/benallard/libfitbit.gitAnonymoushttps://www.blogger.com/profile/13444309615063396815noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-484993813969370512012-12-29T18:45:01.079-05:002012-12-29T18:45:01.079-05:00Same here.Same here.Mhttps://www.blogger.com/profile/07194056188013218292noreply@blogger.comtag:blogger.com,1999:blog-5409002483446440748.post-20354653205967343962012-12-27T01:46:58.931-05:002012-12-27T01:46:58.931-05:00I'm getting the following error... any help wo...I'm getting the following error... any help would be appreciated:<br /><br /><br />$ python /opt/libfitbit/python/fitbit_client.py<br />Traceback (most recent call last):<br /> File "/opt/libfitbit/python/fitbit_client.py", line 57, in <br /> from fitbit import FitBit<br /> File "/opt/libfitbit/python/fitbit.py", line 69, in <br /> from antprotocol.bases import getBase<br />ImportError: No module named bases<br />Anonymoushttps://www.blogger.com/profile/13444309615063396815noreply@blogger.com