node-red-contrib-fitbit 1.0.6

Adds Fitbit API nodes to Node-RED

npm install 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.

Node Info

Version: 1.0.6
Updated 4 years, 2 months ago
License: ISC
Rating: not yet rated

Actions

Rate:

Downloads

2 in the last week

Nodes

  • fitbit-credentials
  • fitbit

Keywords

  • node-red
  • fitbit
  • health
  • tracker

Maintainers