Fitbit Versa 2 small application based on fitbit-sdk (4.0.0) to collect real time data from the sensors of the watch.
To install the project, run the following commands :
npm install
npm run build
npx fitbit
bi
- The device (Fitbit Versa 2 Watch) collects data from its sensors and sends it to the companion through WebSocket.
- The companion (Mobile phone) receives the data and send it to an API endpoint through an HTTP POST request.
- The ```app`` directory contains the sources corresponding to the application that will be deployed on the watch.
- The
companion
directory contains the sources corresponding to the application that will be deployed on the mobile phone (through the fitbit app).