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

Is it possible to install the app to device from the CLI?

ANSWERED

It doesn't seem to be described anywhere in the CLI doc but is it possible to install the app to the device using CLI or do I have to load my project to the FitBit Studio and only then can I install it on to the device?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I'd close Studio so devices don't get confused about who they should be talking to.

You also need to Enable Developer Bridge on your watch.

If you start CLI using `npx fitbit` and use `hosts`, you can see what's connected. Also see `help`.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

It's definitely covered here.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

The description is a little bit thin on the details.

What is the correct order of steps for this to work?

From the "Getting Started" guide and the "CLI guide" it appears that the following should work:

- login to FitBit Studio and accept TOS

- on mobile phone FitBit App go to Developer Menu/Developer Bridge and turn it on

- inside the CLI execute "bi"

 

Unfortunately this doesn't work.

The Dev Bridge just showing :"waiting for FitBit Studio" and the CLI complains that "No devices are connected and available"

Are there missing steps in the above list?

Best Answer
0 Votes

moreover, when I login to FitBit Studio I can see my phone under "phones" but nothing under the "devices"

 

Best Answer
0 Votes

I'd close Studio so devices don't get confused about who they should be talking to.

You also need to Enable Developer Bridge on your watch.

If you start CLI using `npx fitbit` and use `hosts`, you can see what's connected. Also see `help`.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

ah, I missed on device step

Best Answer
0 Votes

thank you

Best Answer
0 Votes