I am using the fitbit to track my sleeping habits. I am attempting to
integrate it with my home automation code so that I can run my own
scripts when I go to sleep (e.g. set an alarm to go off 8 hours after
I fall asleep, run a backup, etc). It appears that while the fitbit
syncs to the base station at 15 minute intervals, it only logs a sleep
session when you have indicated both a start and stop time by pressing
the devices button before going to bed and again upon awaking. The
base station is within range of the fitbit and the attached computer
is awake and syncing data to the website while I sleep.
Does anyone know if it is possible for me to query my last reported
activity level; asleep, awake, very awake, etc. prior to indicating a
STOP?
If it is necessary for both a start and stop be indicated to register
a sleep session is is possible to query the site and return whether
the fitbit is currently in a START state?
I've combed through some of the xml files that populate the flash
charts but could not find the data I'm looking for. Hopefully, it
exists and I'm simply not looking in the right place.
On Mar 18, 9:20 am, John Kramlich <j...@manifestinteractive.com>
wrote:
No intradaySleep records are found until I press STOP on the fitbit.
Once I press STOP, and the fitbit syncs to the basestation at the next
interval, the intraday xml file will return data.
I have not found another XML document that tells me if the fitbit is
currently in the in the middle of creating a sleep record or not, but
I'm hoping it exists somewhere.