8000 GitHub - kevinconroy/cgm-simple-spark: a simple pebble cgm watchface with a sparkline.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevinconroy/cgm-simple-spark

 
 

Repository files navigation

Simple CGM Spark

  • Code is ripe for refactoring and general code cleanup - working as a beta in pebble's watchface store.
  • Please use your own uuid for the app when building.
  • If you want to use timeline, you will need to add those keys as well.

BG is within user-specified range Alert that BG is out of user-specified range

Download from the Pebble Store

Download this to your Pebble watch

Important User Notice

This app is not supported or endorsed by Dexcom. Simple CGM MUST NOT BE USED TO MAKE MEDICAL DECISIONS. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

The watchface requires:

  • Active use of the Share receiver with the Dexcom Share2 iOS application sending data to their cloud service.
  • OR active use of recent Nightscout version.

Other CGM Watchfaces

This is just one of many CGM watchfaces available for the Pebble. This watchface aims to provide a simple, glanceable overview of the data available from Dexcom Share or a Nightscout server. If you are looking for an additional feature that this watchface doesn't have, explore some of the other options available at http://www.nightscout.info/wiki/cgm-watchfaces.

Developers

To get started, we recommend that refer to the Pebble Developer site.

Homebrew for Local Development

brew install pebble/pebble-sdk/pebble-sdk

Rapid Local Development with gulp

To enable rapid iteration on your local machine, you can use gulp to watch for changes to your code, build the files, and automatically install it to your Pebble (or launch an emulator) just by saving your edits. Gulp requires that you have Node installed locally.

# Install node if you don't already have it
brew install node

# Switch to the working directory
cd {cgm-simple-spark}

# Download the node modules for gulp to run
npm install

On your first run, you'll want to review the variables set at the top of gulpfile.js and edit them to fit your needs.

Once you have the node environment ready, running gulp is as simple as:

gulp watch

Eclipse

To setup a development environment in Eclipse or other C editor, you'll want to setup a soft link to pebble.h so that your local source can easily compile. To do this.

PEBBLE_INC=$(pebble sdk include-path chalk) ln -s "$PEBBLE_INC/pebble.h" pebble.h

Credits

Made with love for Evan and Tyler.

About

a simple pebble cgm watchface with a sparkline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 59.7%
  • JavaScript 30.4%
  • C++ 7.9%
  • Python 2.0%
0