10-06-2019 03:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-06-2019 03:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi! I just want to use Fitbit Versa to collect some sensors' data for data analyzing on PC. I knew that I can just use console.log() to print it on the console. But Fitbit Studio is in Browser and it is quite hard to copy them. For example, I can only find "Clear logs" on the right-click menu, nothing like "export" or "copy to clipboard". If I just use ctrl+c and ctrl+v, which works to some degree, misalignment between two lines may happen so that the data will be wrong. And I can only do ctrl+c on the current window, first few lines will not be selected if I use the scrollbar to select more console log. So is there any way to solve it?
(I tried to let the device communicate with my companion and copy the console log from my phone. But synchronize is always a problem. I can not get my console log...)
Answered! Go to the Best Answer.
Accepted Solutions
10-08-2019 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-08-2019 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I don't think it's possible in studio. Perhaps try the command-line tools instead?

10-08-2019 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-08-2019 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I don't think it's possible in studio. Perhaps try the command-line tools instead?

10-08-2019 19:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-08-2019 19:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Yeah, I tried CLI and it worked! Thank you very much!😀

02-16-2020 23:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-16-2020 23:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
sorry for being late
could you tell me what CLI is about?
I am struggling with the same problem

02-17-2020 17:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-17-2020 17:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
CLI is command line interface. You can refer to this page
https://dev.fitbit.com/build/guides/command-line-interface/
you can just copy from a shell and paste them on another file to get the data

02-19-2020 00:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-19-2020 00:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you for this!
I successfully install CLI, and indeed it feel better to save the output log.
Is that "copy and paste" the only way to get log? Or there is another single command to save the output log into a file?

02-19-2020 00:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-19-2020 00:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I know somebody has managed to capture the log using output redirection.
If you use something like Visual Studio Code, you can also manipulate the output log in that.
Gondwana Software
02-19-2020 01:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-19-2020 01:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am not so sure. But this is the most straightforward approach so far I used. Although it indeed feels a little bit stupid... 🙂

04-23-2022 10:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-23-2022 10:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hello!
I try to use CLI but I wonder how to use the command to select the real target as a FitBit device, for example, Versa 3
Thank you,
04-23-2022 13:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


04-23-2022 13:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
The 'connect device' command in CLI can be used to select a connected watch or sim.
Gondwana Software
04-23-2022 14:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-23-2022 14:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hello! Thank you for your help!. The target device is work.
