qdot/libfitbit — pull request #45 by tytso (2012-09-19 20:19:09+00:00)
Title: Put fitbit to sleep and poll (to support multiple fitbits)

The first commit is an update (so it applies to the current master branch) of bensmithhurts's pull request (https://github.com/qdot/libfitbit/pull/20). The second uses the first so that instead of having the fitbit_client sleep for 15 minutes, to instead immediately restart polling for another fitbit device to wake up. This makes it much more useful in a multi-fitbit household, and is consistent with how the official Windows / Mac fitbit base station works.