Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I write data to Fitbit?

ANSWERED

Hi, I was wondering if it is possible to "write" steps to fitbit. Is this possible? Or can I just read step data.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

@Diodes123 Sure, if you want to log an activity that has steps (e.g. Walk or Run).

 

https://dev.fitbit.com/docs/activity/#activity-logging

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

@Diodes123 Sure, if you want to log an activity that has steps (e.g. Walk or Run).

 

https://dev.fitbit.com/docs/activity/#activity-logging

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

@AndrewFitbit That's nice, but this logs a Walk activity, not the steps walk during the day. Is there a way to do that?

 

Additionaly, is there a way to provide more info when logging a sleep (https://dev.fitbit.com/docs/sleep/#log-sleep) ?

 

I'm writing an app to import data from my MS Band to Fitbit, and I'd like to able to log things like awake count, minutes awake / asleep etc.

 

For instance, here are all properties that I'm able to match:

{"date", "2017-02-20"},
{"startTime", "22:41"},
{"duration", "34175000"},
{"efficiency", "79"},
{"awakeCount", "9"},
{"minutesAsleep", "443"},
{"minutesAwake", "126"},
{"minutesToFallAsleep", "13"},

Best Answer
0 Votes

@dr1rrb Logging an activity with steps would be the only way to add steps, so I guess the answer would be no.

 


dr1rrb wrote: 

For instance, here are all properties that I'm able to match:
{"efficiency", "79"},
{"awakeCount", "9"},
{"minutesAsleep", "443"},
{"minutesAwake", "126"},
{"minutesToFallAsleep", "13"},


The only POST parameters you can send for sleep are startTime, duration, and date if you're manually logging. The rest of these are tracked by a Fitbit device.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes