03-14-2018 13:21
03-14-2018 13:21
Installed the simulator yesterday and it worked great. But today I get "Simulator failed to start: connect ECONREFUSED 127.0.0.1:63981 The studio sees the simulator and says its connected thou, but list new available devices.
10-08-2018 02:53
10-08-2018 02:53
VirtualBox is known not to work due to issues with its virtual graphics driver. Other virtualisation solutions such as VMWare are likely to work better.
12-16-2018 12:14
12-16-2018 12:14
I'm getting the same error on Win10 v1809 w/ Intel Chipset & Intel HD Chipset (Video).
12-17-2018 03:54
12-17-2018 03:54
@SPLUS1 wrote:
I'm getting the same error on Win10 v1809 w/ Intel Chipset & Intel HD Chipset (Video).
Can you message me the logs?
OS X: ~/Library/Logs/Fitbit OS Simulator/log.log
Windows: %USERPROFILE%\AppData\Roaming\Fitbit OS Simulator\log.log
01-03-2019 15:32
01-03-2019 15:32
I'm on MacOS.
I get a similar error.
Here's an excerpt from my log.log:
[2019-01-03 18:26:03.861] [warn] 10 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:03.863] [info] companionhost->companion: {"method":"devbridge.status","params":{"status":"initialized"},"jsonrpc":"2.0"} [2019-01-03 18:26:03.916] [info] Shell Client connected [2019-01-03 18:26:03.917] [info] shell->companion: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"} [2019-01-03 18:26:03.917] [info] companion->companionhost: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"} [2019-01-03 18:26:03.918] [info] companionhost->companion: {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"protocol":{"maxMessageSize":536870912}}}} [2019-01-03 18:26:03.919] [info] companion->shell: {"method":"devbridge.status","params":{"status":"initialized"},"jsonrpc":"2.0"} [2019-01-03 18:26:03.922] [info] companion->shell: {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"protocol":{"maxMessageSize":536870912}}}} [2019-01-03 18:26:04.853] [warn] 9 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:06.856] [warn] 8 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:09.860] [warn] 7 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:13.868] [warn] 6 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:18.878] [warn] 5 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:24.912] [warn] 4 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:31.925] [warn] 3 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:39.939] [warn] 2 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981 [2019-01-03 18:26:48.953] [warn] 1 retries left: Error: connect ECONNREFUSED 127.0.0.1:63981
03-17-2019 11:25
03-17-2019 11:25
FWIW, I was getting the same error this morning -- Windows 10 / Chrome -- after a fresh reboot. Restarting simulator app did nothing.
I renamed the log file in order to capture new stats and it just started working.
05-08-2019 08:46
05-08-2019 08:46
Has anyone gotten this fixed? I have the same issue with Windows 10.
09-18-2019 14:08 - edited 09-18-2019 14:09
09-18-2019 14:08 - edited 09-18-2019 14:09
Wow this issue still exists. Did anyone come up with a solution?
09-18-2019 14:47
09-18-2019 14:47
09-18-2019 22:29
09-18-2019 22:29
Not support Linux developers is bad move. And closing Pebble watch... Fitbit doesn't want me to have some smart watch 😄
09-19-2019 09:15
09-19-2019 09:15
09-19-2019 09:18
09-19-2019 09:18
We're definitely interested in making the developer environment awesome.
We've got major updates to the simulator internals coming in the next update, and if people still have issues I'd encourage them to submit logs to us so we can take a look at those issues.
09-19-2019 09:20
09-19-2019 09:20
Whilst posting my previous message I received a popup inviting me to complete a survey. I completed it, albeit with negative responses. I subsequently received the popup ...
"Your survey answers were not submitted because you have already responded."
<sigh>
-J
09-19-2019 12:53
09-19-2019 12:53
WHYYYYYYYYYYYYYYYY does that not surprise me? LOL
Well all I can say is I noted something bizarre when I logged onto the web page thru my tablet, it tried to access the simulator which was on my pc. If I closed the simulator on my pc, the tablet would show that it was disconnected from the sim. As soon as I reloaded it on my pc, the web page on my tablet would reconnect to it. OK that's just WEIRD!
09-20-2019 03:50
09-20-2019 03:50
No Linux support, a slow app market interface, no direct access to the watch, poor SDK documentation, incomplete TypeScript support, unstable Bluetooth connections, inexplicable double-sending of messages between watch and companion, very basic apps that don't run... This doesn't look like you're trying to make it fun or easy for developers.
Given the number of apps in the market that also do not work well, I'm inclined to believe that the issue is with Fitbit. Other developers I know that have made some of the greatest apps for Pebble (e.g. NextTrain) have simply given up working on the Fitbit platform, quoting all of the above grievances as their reasons.
The only reason I bought the Ionic was because I liked the idea of developing apps for a watch--not because I'm some sort of health nut :)--but I am disappointed.
09-20-2019 04:03
09-20-2019 04:03
Linux users represent a small fraction of our developer community, so we focus our time on making things work better for the much larger audiences on Windows and Mac. The only piece that isn't supported in Linux is the Simulator, which many folks have had success running under Wine (and we've made patches specifically to improve Wine support, even though we don't officially support it).
Linux has a heavily fragmented ecosystem for installing and updating apps, and generally much more variable-quality graphics driver support, which makes it difficult to support.
I'm the lead for the team that maintains Studio, the CLI SDK Tools and the Simulator, so I'm always happy to listen to feedback on how we can improve these things (and I'll pass on feedback to other teams that maintain the rest of the ecosystem).
If you have suggestions for improvements to the SDK docs, we'd be all ears to hear them. Jon, our developer advocate, looks after those and frequents this community so he can read any specific feedback you have.
TypeScript support is something we're aware people want and we're working on, but some folks in the community have maintained their own types in the meantime which fill this gap quite well.
The latest FW release rolling out now has a completely rewritten comms stack improving performance and reliability. You'll hear more about that in the coming weeks.
Never heard of any issues around double sending of messages, if you have reproduction examples for that we'll look into it!
Not sure what you're referring to by "direct access to the watch" or "very basic apps that don't run" but if you can elaborate I can speak to those too.
09-20-2019 04:37
09-20-2019 04:37
09-20-2019 05:05
09-20-2019 05:05
Switching device types should work in Wine in the next update.
The simulator isn't built with React Native. It is an Electron application yes, but it contains native platform specific binaries, which we must build for Windows + OSX (and more importantly, test every release).
Graphics support is absolutely not a non-issue (I wish it were!). The simulator is built on OpenGL for rendering the simulated watch and so it's reliant on your graphics drivers. We've had many, many crashes in the past we've had to debug due to misbehaving graphics drivers.
I'd encourage you to use the existing Linux feature request thread to discuss that more.
Having the Developer Bridge require an internet connection rather than letting you connect directly to your device is nothing to do with Fitbit not wanting you to do that, it's just because we piggyback off of the same mechanisms on the watch that allow for things like WiFi sync and those are built around the device connecting to a remote server and not your device receiving connections directly.
We prioritised the Developer Relay mechanism rather than a direct connection because of limitations in browsers. Security policy in browsers that Studio must run in dictates you can't make connections to arbitrary local network devices. Even if the watch supported it, Studio could not.
I may be wrong, but I don't think any of our SDK supported devices have a temperature sensor that's intended to measure the ambient air temperature. Some chips do have a sensor, but it's often there to measure the internal temp rather than the air temperature, so it isn't very useful for what you'd probably want it for.