-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resting HR Could be added to interday.gs #14
Comments
hey @jchristy13, if you're still around, could you please expand on #3? Where exactly in interday.gs do you place that line? |
Did you authorize again? The changes in number 2 change the scope of what your spreadsheet is trying to request, so you have to do that before you try to sync or you'll get the error you mention. I think. |
To answer the question though, you need to add the third thing above line 283 in the original interday.gs file. It ends up looking like:
|
@jchristy13 thanks for the response - both suggestions were the cause of my issues. I can now download interday heartrate! Thanks for being so quick. Solved. |
I am unable to figure out where I went wrong specifically in the area mentioned in my earlier message. Pls help there
Sanjay
…Sent from my iPhone
On 31-Mar-2017, at 9:52 PM, Simon Bromberg ***@***.***> wrote:
@naithani1 you didn't follow the instructions, please go through them carefully.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I put this exact code starting on line 283:
I performed items 1 and 2 of the enhancement. I then inserted this section of code. I then saved the new code and authorized it from the spreadsheet. I went into Fitbit setting and chose the "activities/heart" to download and saved those changes. When I click on sync, I get a white pop-up box that says "Error downloading avtivities/heart. If anyone still follows this thread, can you tell me what I am missing? |
Note I have no idea what I'm doing on github so there's probably a not terrible way to document this correctly. Sorry.
The way I did this might be a little hacky, but it's definitely possible without too much trouble. It might be worth adding this - I know I was very interested in having this included, in addition to the other columns already there.
If true -> cell.offset(index, !dateColDone + activity * 1.0).setValue(val["value"]); (no change)
If false -> cell.offset(index, !dateColDone + activity * 1.0).setValue(val["value"]["restingHeartRate"]);
The text was updated successfully, but these errors were encountered: