Giter VIP home page Giter VIP logo

gluroo_watch_ios's Introduction

Join the chat at https://gitter.im/nightscout/nightguard

Nightguard

Join the chat at https://gitter.im/nightscout/nightguard This is an iPhone and Apple Watch application to display blood glucose values stored at your nightscout server.

Description

Disclaimer! Don't use this App for medical decisions. It comes without absolutely no warranty. Use it at your own risk!

Nightguard is an app that displays your blood glucose values from the Nightscout backend.

It is a native iOS App with support for the Apple Watch. Features are:

  • Define a range of acceptable blood glucose values.
  • Whenever your values are out of range you will be alerted.
  • You can snooze the alerts all the time and for a defined time period.
  • You can reactivate the alerts all the time.
  • You can activate alerts if the values are rising or falling too fast.
  • The app displays yesterdays values as an overlay chart. This way you have a hint about how your values could behave in the future.
  • Tune your basal rates with the statistics function to overlay different days

For the alarms to work the app has to be active. So you can enable a screen lock that keeps the app running all night long.

Have a look at https://nightscout.github.io for more information about how to setup your own Nightscout backend.

Nightguard App

The dark gray region in the chart marks the values that are between 80 and 180.

This small video shows how to check the configuration and demonstrates the available Apple Watch Complication: http://youtu.be/CEcqNyyv_kA

Developer Hints

First install cocoapods and do a

pod install

afterwards.

Then simply open the Nightguard folder "nightguard" in xcode. If no scheme "nightguard" is existing, select "new Scheme" from the "Product|Scheme" Menu.

I had to modify the Eureka SliderRow. If you would like to compile the project of your own, you will have to modify the SliderRow in the following way:

public final class SliderRow: Row<SliderCell>, RowType {

    public var steps: UInt = 20
    public var shouldHideValue = false
    public var lastSelectedValue : Float?

    required public init(tag: String?) {
        super.init(tag: tag)
    }
}

Now you should be able to launch the app in the simulator. Happy Coding!

Uploading the app

If you would like to run a local compiled version, you might wan't to disable the critical notification entitlement. This can be done in File nightguard/scoutwatch.entitlements by changing the value to false:

    <key>com.apple.developer.usernotifications.critical-alerts</key>
    <false/>

License

nightguard app to display cgm readings on your ios and watchos device
Copyright (C) 2018 Nightguard contributors.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

gluroo_watch_ios's People

Contributors

dhermanns avatar florianpreknya avatar sebdei avatar makotila avatar bull3time avatar apetro avatar joerg-schoemer avatar jonfawcett avatar gitter-badger 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.