11-20-2018 13:12
11-20-2018 13:12
When I browse activity types I see they have a "mets" field. From what I read this is used for the calculation of calories for the activity.
When I create a custom activity type the "mets" value is -1 and my calorie value is displayed as a negative value.
Is there any API available to set the "mets" field on a custom type so a valid calorie value will be calculated for the custom activity?
Standard Type - has mets field
{
"accessLevel": "PUBLIC",
"hasSpeed": false,
"id": 15690,
"mets": 8,
"name": "Tennis, singles"
},Custom Type - mets field is -1
{
"accessLevel": "PRIVATE",
"hasSpeed": false,
"id": 38088988,
"mets": -1,
"name": "Custom1"
},
12-07-2018 11:21
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
12-07-2018 11:21
Hi @devcolabs
I don't think it's possible to enter a met value for custom activities through the dashboard or the Web APIs. I'd recommend filing an enhancement request on the Feature Suggestion board.
https://community.fitbit.com/t5/Feature-Suggestions/idb-p/features
Gordon
Best Answer