node-red-contrib-fitbit

1.0.6 • Public • Published

node-red-contrib-fitbit

Node-RED nodes that gets information from Fitbit

Install

Run the following command in the root directory of your Node-RED install

    npm install node-red-node-fitbit

Configure

When creating a configuration for Fitbit you will need to create an app on dev.fitbit.com with the following settings:

  • Callback Url: https:///fitbit-credentials/auth/callback
    • Please note the URL must be HTTPS (self-signed SSL works).
  • OAuth 2.0 Application Type: Server

Other settings are up to you.

Usage

One node that gets reports from Fitbit.

Query node

Fitbit query node supports several endpoints

  • Get Body Fat Logs
  • Get Body Time Series
  • Get Daily Activity Summary
  • Get Activity Time Series
  • Get Sleep Logs
  • Devices information

Depending on the endpoint selected the node will allow different inputs to filter the fitbit query.

Note

Node-RED does not currently have a way to update credential data at runtime. App credentials are stored with other credentails but OAuth2 tokens are saved to disk.

Package Sidebar

Install

npm i node-red-contrib-fitbit

Weekly Downloads

14

Version

1.0.6

License

ISC

Unpacked Size

36.9 kB

Total Files

11

Last publish

Collaborators

  • phatness