A simple Fitbit HR Monitor using the Companion to comunicate with a external service.
- NodeJS: v8.0.0 or later
- Fitbit Studio: v3.0.0 or later
- Fitbit Dev Account: A Fitbit Developer Account to install the application into a device.
- Fitbit Ionic: A Fitbit Ionic Device to compile the application.
- A Internet Connection to provide the communication from device to server.
Run the dependencies install
npm i
Go to the index.js
file and set the application port on app.listen(PORT, () => {})
function. (default is 3000).
After that, run the application with the commnand bellow:
npm run dev
Copy the content of the fitbit-app
path and paste into a blank project using the Fitbit Studio. After that, go to the file companion/server.js
and past the external service host instead of HOST
constant value. The host should be using a HTTPS protocol. I recommend that you use the tool ngrok to generate a external HTTPS host from your local server app.
- Fitbit Studio - The Fitbit Ionic framework used
- NodeJS - The web framework used
This project is licensed under the MIT License - see the LICENSE.md file for details