Wellness files setting timezone offset - any success?

I have a project available on github under the username mdrobnak called fitconvtools.

I have been able to import data from my fitbit using this, however, I've had to time shift the data into the timezone listed in my account. This seems to go against the fit file type spec of everything being in GMT, but I'm simply trying to get something to work at this point. I was a heavy fitbit user previous to this, but got tired of the poor battery life and some questionable decisions regarding the band design.

Ideally I'd like to be able to upload the data all in GMT with a timezone offset in the device_info field. But anytime I do that, the data does not show up.

Has anyone else been able to create a CSV to fit to the java CSVTool program to upload with a valid timezone offset?

Thanks,

-Matt

  • I'd like my heart rate data as well. :)

  • Looks like links are allowed - so if anyone was having trouble finding it - https://github.com/mdrobnak/fitconvtools

    -Matt

  • Ok, looks like the answer is no, so I'm starting import using shifted values, which makes me sad, but I'm going for what works at this point. Slight smile

  • Here is a portion of an example CSV I used.

    Type,Local Number,Message,Field 1,Value 1,Units 1,Field 2,Value 2,Units 2,Field 3,Value 3,Units 3,Field 4,Value 4,Units 4,Field 5,Value 5,Units 5,Field 6,Value 6,Units 6
    Definition,0,file_id,serial_number,1,,time_created,1,,manufacturer,1,,product,1,,number,1,,type,1,
    Data,0,file_id,serial_number,12345,,time_created,771638400,,manufacturer,1,,garmin_product,3851,,number,3,,type,32,
    Definition,1,device_info,timestamp,1,,serial_number,1,,manufacturer,1,,product,1,,software_version,1,
    Data,1,device_info,timestamp,771638400,s,serial_number,12345,,manufacturer,1,,garmin_product,3851,,software_version,11.16,
    Definition,4,monitoring_info,timestamp,1,,cycles_to_distance,2,,cycles_to_calories,2,,step_goal,2,,resting_metabolic_rate,1,,activity_type,2,,unk_enum,1,
    Data,4,monitoring_info,timestamp,771638400,s,cycles_to_distance,1.6198|2.4296,m/cycle,cycles_to_calories,0.047|0.1482,kcal/cycle,step_goal,10000|10000,,resting_metabolic_rate,1987,kcal / day,activity_type,6|0,,,,
    Definition,6,monitoring,timestamp,1,,distance,1,,cycles,1,,activity_type,1,
    Definition,7,monitoring,timestamp,1,,heart_rate,1,
    Definition,8,monitoring,timestamp,1,,ascent,1,
    Definition,9,resting_heart_rate,timestamp,1,,seven_day_rhr,1,,daily_rhr,1,
    Data,6,monitoring,timestamp,771638400,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638400,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638415,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638420,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638430,s,heart_rate,60,bpm
    Data,7,monitoring,timestamp,771638440,s,heart_rate,61,bpm
    Data,7,monitoring,timestamp,771638450,s,heart_rate,60,bpm
    Data,7,monitoring,timestamp,771638455,s,heart_rate,59,bpm
    Data,6,monitoring,timestamp,771638460,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638470,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638485,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638490,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638495,s,heart_rate,57,bpm
    Data,7,monitoring,timestamp,771638510,s,heart_rate,56,bpm
    Data,6,monitoring,timestamp,771638520,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638520,s,heart_rate,55,bpm
    Data,7,monitoring,timestamp,771638530,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638540,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638550,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638560,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638570,s,heart_rate,57,bpm
    Data,6,monitoring,timestamp,771638580,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638585,s,heart_rate,57,bpm
    Data,7,monitoring,timestamp,771638600,s,heart_rate,57,bpm
    Data,7,monitoring,timestamp,771638615,s,heart_rate,57,bpm
    Data,7,monitoring,timestamp,771638620,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638630,s,heart_rate,57,bpm
    Data,6,monitoring,timestamp,771638640,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638640,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638655,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638670,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771638680,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771638695,s,heart_rate,59,bpm
    Data,6,monitoring,timestamp,771638700,s,distance,0.000,m,steps,0,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771638700,s,heart_rate,61,bpm
    Data,7,monitoring,timestamp,771638705,s,heart_rate,62,bpm
    Data,7,monitoring,timestamp,771638715,s,heart_rate,63,bpm
    Data,7,monitoring,timestamp,771638720,s,heart_rate,64,bpm
    Data,7,monitoring,timestamp,771638735,s,heart_rate,64,bpm
    Data,7,monitoring,timestamp,771638750,s,heart_rate,66,bpm
    Data,7,monitoring,timestamp,771638755,s,heart_rate,67,bpm
    Data,6,monitoring,timestamp,771638760,s,distance,5.900,m,steps,8,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771724650,s,heart_rate,60,bpm
    Data,7,monitoring,timestamp,771724660,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771724670,s,heart_rate,57,bpm
    Data,6,monitoring,timestamp,771724680,s,distance,5365.250,m,steps,7270,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771724685,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771724700,s,heart_rate,58,bpm
    Data,7,monitoring,timestamp,771724705,s,heart_rate,59,bpm
    Data,7,monitoring,timestamp,771724710,s,heart_rate,62,bpm
    Data,7,monitoring,timestamp,771724715,s,heart_rate,67,bpm
    Data,7,monitoring,timestamp,771724725,s,heart_rate,69,bpm
    Data,7,monitoring,timestamp,771724730,s,heart_rate,71,bpm
    Data,7,monitoring,timestamp,771724735,s,heart_rate,75,bpm
    Data,6,monitoring,timestamp,771724740,s,distance,5370.420,m,steps,7277,cycles,activity_type,6,
    Data,7,monitoring,timestamp,771724740,s,heart_rate,73,bpm
    Data,7,monitoring,timestamp,771724750,s,heart_rate,71,bpm
    Data,7,monitoring,timestamp,771724760,s,heart_rate,67,bpm
    Data,7,monitoring,timestamp,771724770,s,heart_rate,65,bpm
    Data,7,monitoring,timestamp,771724780,s,heart_rate,63,bpm
    Data,7,monitoring,timestamp,771724790,s,heart_rate,66,bpm
    Data,9,resting_heart_rate,timestamp,771724400,,daily_rhr,50,

    This is using the time-shift method.

    -Matt

  • As an update, after some initial promising attempts, I'm now getting a 400 error, which is:

    1. content: "The file was a valid type, but contained data we could not process successfully."

    Previously I'd get a 500 error, and then the data would show up the next day. Definitely a bit stuck now.

    I love my Garmin, but I was really hoping for a single place for all my data.

    -Matt