- Fix need for super user privileges
- Formatting for regions other than central ones
- Cleanup the code
{
module: 'MMM-fitbit',
position: 'top_center',
config: [
credentials: {
client_id:
client_key:
client_secret:
},
resources: [
'steps',
'floors',
'caloriesOut',
'distance',
'activeMinutes',
'sleep',
'heart'
]
]
},
MMM-fitbit.js
node_helper.js
setupAccess.py
- file to get first access and refresh tokensiniHandler.py
- reads and writes.ini
filesauthHandler.py
- file to update tokensgetData.py
- file to return data
credentials.ini
tokens.ini
- MMM-fitbit.css
- Steps
- Floors
- Calories
- Total distance
- Sleep (api missing goals)
- Resting heartrate
- Active minutes
WIP:
- Battery Levels? (need device details, ask user for device?)
- Alarms? (see above)
- Lifetime stats? (interesting but doesn't fit with others)
- Friends leaderboard (api buggy, waiting on fix)