GithubHelp home page GithubHelp logo

buzlachok / nsfitbit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sulkaharo/nsfitbit

0.0 0.0 0.0 691 KB

Nightscout Fitbit watchface

License: GNU Affero General Public License v3.0

JavaScript 97.54% CSS 2.46%

nsfitbit's Introduction

nsfitbit

This repository has the source code for a simple Nightscout Fitbit watchface.

Some of the features includes

  • Recent glucose values, boluses and basals are plotted as a graph
  • OpenAPS and Loop prediction plotting
  • Daily steps and current heart rate are displayed
  • Predictive CGM alarms
  • Option to choose number of hours for CGM and prediction plots
  • Option to have the screen be on all the time (for Versa 1 and Versa Lite only, Versa 2 does not support this option)

Screenshot Screenshot

Screenshot Screenshot

SDK 4.2 and SDK 5 support

Due to Fitbit devices needing separate builds under SDK 4.2 and 5, the project now has a separate folder for the "project" for each SDK version. Sadly typescript has a bug that prevents symlinking to the shared sources, so this is handled with source file copying.

Editing the sources is expected to happen in the project root folders.

If you need to make a build for a specific SDK, cd into the sdk4 or sdk5 folders and run yarn install; yarn run build and then install the build to the Fitbit simulator or device with npx fitbit and running the ``install` command there.

Tests

Run unit tests by changing to the correct SDK directory and running yarn run test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.