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

FitBit Simulator

I am trying to get the FitBit OS Simulator to work locally but for some reason it will never launch my application.  However when I test with FitBit Studio it works fine.

 

I followed https://dev.fitbit.com/build/guides/command-line-interface/ with no issue but just can't get my application to load on the Simulator.

 

I am using Windows 10 and Web Storm.  I even try the commands directly in Powershell or cmd.

 

Any ideas how I can fix this?

 

 

 

 

Best Answer
0 Votes
7 REPLIES 7

First, close Fitbit Studio, then launch the simulator. What happens when you run the connect command?

▶ npx fitbit
Logged in as Jon Barlow <jon.barlow@fitbit>
fitbit$ connect device
Auto-connecting only known device: Versa Simulator
fitbit$ connect phone
Auto-connecting only known phone: Simulator
Best Answer
0 Votes

below is the output of the commands your requested. 

Logged in as  <xxxxxxxxx@gmail.com>
fitbit$ connect device
No devices are connected and available
fitbit$ connect phone
No phones are connected and available
fitbit$
Best Answer

having the same issue - fitbit studio does "see" the simulator, cli do not

Best Answer
0 Votes

If you launch the simulator, go to the Settings tab, then check it displays the same email address as the account you're logged into the CLI with.

Best Answer
0 Votes

I see the same email address

Best Answer
0 Votes

Hi!

What Fitbit Simulator Version and what SDK Version do you use?

Kind Regards

Dominik

Best Answer
0 Votes

Are you connected to the simulator from Studio? I don't think you can connect from Studio and from the CLI at the same time.

Best Answer