Skip to content

JustinThorReid/node-red-contrib-fitbit

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published