Giter Club home page Giter Club logo

nightscout-tasker-tizen-watchface-integration's Introduction

Display Nightscout Data on Samsung Galaxy and Android Wear

alt text

This will give you the instructions to setup watchfaces using tasker to pull directly from Nightscout and send the data to watchmaker for your Samsung watch. This should work for any combination of Android Phone and Samsung or Android Wear watch. If will not work with iPhones or with other watches or fitness bands. The instructions are all in the Wiki.

I designed this to pull all BG and Loop data and have only tested it with mg/dl. Some of the math, text sizes, etc may need changed for mmol. Head over to the wiki for setup instructions and also how to edit the watchfaces if you are not a Loop user.

Primary Functionality

- BG readings

Pull the latest BG reading from Nightscout

- Delta

Pull the latest delta (change from last reading to current reading). This is pulled into 2 variables: with +/- and also without the symbol so that it can be used in some of the math calculations.

- Direction

It sets a variable for both the actual arrow character as well as the text name of the direction. Some watch faces use the arrow characters directly, but some fonts add a large gap for double arrows. My newer watch faces use images for the arrows with logic in the watch face for rotation and display based on the direction text.

- Time since last reading

Each reading pulls the timestamp and the watchfaces do on-watch calculations for "minutes ago" to be displayed

- BG Graph

The task pulls the last 20 readings to use on graph watch faces. All math for location and color is performed on-watch for each update.

Loop Specific Functionality

- IOB

The current Insulin on Board

- COB

The current Carbs on Board

- Override

The name of the current override that is set. If no override is set, it displays ~

- Battery

This is the remote uploader battery %

**- 30 Minute Prediction

This pulls Loop's predicted Bg for the 7th reading out, which is 30 minutes.

- Temp Basal

If there is a currently enacted temp basal, this will be set.

Special Thanks to Fred for help with the main details of the setup. His method can be used locally with Xdrip if you prefer to not use data. https://github.com/wagnefrede/xDrip--Tasker-Tizen-Watchface-Integration

nightscout-tasker-tizen-watchface-integration's People

Contributors

foxandxss avatar frediabetics avatar jonfawcett avatar

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.