10-06-2019 03:41
10-06-2019 03:41
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.
10-08-2019 10:36
10-08-2019 10:36
I don't think it's possible in studio. Perhaps try the command-line tools instead?
10-08-2019 10:36
10-08-2019 10:36
I don't think it's possible in studio. Perhaps try the command-line tools instead?
10-08-2019 19:18
10-08-2019 19:18
Yeah, I tried CLI and it worked! Thank you very much!😀
02-16-2020 23:55
02-16-2020 23:55
sorry for being late
could you tell me what CLI is about?
I am struggling with the same problem
02-17-2020 17:32
02-17-2020 17:32
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
02-19-2020 00:02
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
02-19-2020 00:07
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.
02-19-2020 01:10
02-19-2020 01:10
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
04-23-2022 10:55
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
04-23-2022 13:50
The 'connect device' command in CLI can be used to select a connected watch or sim.
04-23-2022 14:50
04-23-2022 14:50
Hello! Thank you for your help!. The target device is work.