Skip to content

200Tigersbloxed/FitbitHRtoWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FitbitHRtoWS

fitbithrtowslogo

Send your Fitbit's Heart Rate data to a Websocket

BEFORE DOING ANYTHING READ THIS SETUP GUIDE SO YOU ACTUALLY KNOW WHAT YOU'RE DOING!!!

https://github.com/200Tigersbloxed/FitbitHRtoWS/wiki/Setup

IMPORTANT

Setting up the WebSocket and Fitbit app requires some command-line experience and basic coding experience. If you can't set this up on your own, ask for help before you break something.

v1.4.0+ simplifies the setup, please read the Setup Guide linked above

Support

Below is a table of device support

SDK Device Tested Working
SDK4 Fitbit Ionic ✔️ ✔️ (SDK >=4.1.0)
SDK4 Fitbit Versa - (SDK >=4.1.0)
SDK4 Fitbit Versa Lite - (SDK >=4.1.0)
SDK4 Fitbit Versa 2 ✔️ ✔️ (SDK >=4.1.0)
SDK6 Fitbit Versa 3 ✔️ ✔️ (SDK 5.0)
SDK6 Fitbit Sense - (SDK 5.0)

Just because a device isn't tested, doesn't mean it won't work. Feel free to test and submit a PR if you've confirmed a device to work.

Notes

  • While you should be able to open the port to the world for everyone to see, it is not recommended (at least without wss/https). You should only open the port locally.
  • HTTPS/WSS support is untested and may or may not work. You should only use HTTPS and WSS if opening the port globally.
  • Do not ask for support in the issues thread. Report bugs or code not working on an SDK (for example). Use Discussion > Q&A for support.

(For Source Builders)

  • Once the app is sideloaded to the fitbit watch, the CLI does not have to be connected to the phone or device, only the Fitbit app and mobile app have to be open.
  • Don't forget to change your buildTargets in your package.json file. https://dev.fitbit.com/build/guides/multiple-devices/
  • Settings can be found by going to Today>Account>[Your Device]>Developer Menu>[The Sideloaded App]>Settings
  • Battery will decrease significantly when the watch is connected to the CLI. (Connected to Debugger) [After sideloading, you should only need to have the phone app open, and the watch connected to your phone over bluetooth]