Overview of the steps for configuration:
Foundry Health:
SparkPlug URL defined in the ClinSpark environment so the monitoring device types can be used.
That environment needs to be hooked into the SparkPlug instance as a 'host' for use.
Customer:
Signup for a free FitBit account.
Activate the device on a volunteer, using free FitBit account.
Observe the data coming in from Fitbit account to the Volunteer Profile (if device is in use on account).
Which FitBit Data can be monitored?
Currently data about Volunteer Weight and Activity is pulled into ClinSpark.
Activating a Device
Please note that the Role Actions “Volunteers Monitoring” and “Volunteers Monitoring Manage” need to be attributed to relevant users.
Go to Volunteers > Manage and search for the Volunteer Profile.
The Volunteer Profile now contains a “Monitoring” tab.
Click the green “Monitors” button on the “Monitoring” tab, you will be taken to a page called “Volunteer Monitoring Sources”.
On the “Volunteer Monitoring Sources” page you can activate the “FitBit Activity” and/or “FitBit weight”, by clicking the “Action” menu and selecting “Activate”.
What happens next: After clicking “Activate”, you will be redirected to FitBit and you will have to login (whilst redirecting, you might briefly see the “SparkPlug” page, that is normal, you do not have to do anything there, you will be redirected to FitBit automatically).
On the Fitbit page, login with your Fitbit user to the FitBit User Account.
You then need to allow FitBit to share data with ClinSpark. The final result of that should look similar to the image below (Remark, that you can also “Revoke Access” from this same screen later.)
Once you do this, you should once again be automatically redirected to ClinSpark (you may briefly see SparkPlug page during redirect, you do not need to do anything on SparkPlug, you will be redirected automatically).
Once all these steps are completed, ClinSpark looks for new data in the registered FitBit Device every hour and upload them.