Cozie

Cozie

    ›Creating your own Cozie

    Getting Started with Cozie Basic

    • Introduction
    • Picking a Fitbit
    • Installing and using Cozie Basic
    • Extracting Data from Cozie Basic
    • Troubleshooting Cozie Basic
    • Example of an Experimental Methodology

    Creating your own Cozie

    • Creating your own Cozie App
    • Installation and setup
    • Fitbit SDK
    • Uploading to the AppStore
    • Datatransfer between the phone and the Fitbit
    • Interacting with GUI elements
    • Switching between screens
    • Sending data to the cloud

    Installation and setup

    https://www.youtube.com/watch?v=oLrP8FDAQd8&list=PLkQs5WJXVHbiBDjmv-1tBYNUQOkmNCctA&index=2&t=0s

    Make sure you have npm, and node installed on your system

    Node: https://nodejs.org/en/download/
    npm: https://www.npmjs.com/get-npm
    fitbit cli: https://dev.fitbit.com/build/guides/command-line-interface/
    Fitbit OS Simulator: https://dev.fitbit.com/getting-started/
    

    Once that is setup, clone and install the repository:

    git init
    git clone git@github.com:buds-lab/cozie.git
    cd cozie
    npm install
    

    You can then open the Fitbit OS Simulator. In order to run the project, you'll have to build and install first. Open a fitbit shell.

    npx fitbit
    

    From there, build the project.

    fitbit$ build
    

    And then run install, which will open the browser and log you into your fitbit developer account.

    fitbit$ install
    

    The simulator should pick up on this and a new app should be listed on the right. Once you power up the simulator, the app will be running on it.

    ← Creating your own Cozie AppFitbit SDK →
    Website
    Github
    Twitter
    Copyright © 2020 BUDS-Lab, National University of Singapore