Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightscout/nightguard
iOS and WatchOS Client for the Nightscout CGM System
https://github.com/nightscout/nightguard
Last synced: 4 days ago
JSON representation
iOS and WatchOS Client for the Nightscout CGM System
- Host: GitHub
- URL: https://github.com/nightscout/nightguard
- Owner: nightscout
- License: agpl-3.0
- Created: 2016-05-03T21:34:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T18:00:28.000Z (about 1 month ago)
- Last Synced: 2024-11-16T03:00:44.805Z (26 days ago)
- Language: Swift
- Homepage:
- Size: 9.22 MB
- Stars: 243
- Watchers: 39
- Forks: 158
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-open-source-ios-apps - Nightguard
README
[![Join the chat at https://gitter.im/nightscout/nightguard](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nightscout/nightguard)
# Nightguard
[![Join the chat at https://gitter.im/nightscout/nightguard](https://badges.gitter.im/nightscout/nightguard.svg)](https://gitter.im/nightscout/nightguard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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 daysFor 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](https://github.com/nightscout/nightguard/blob/master/images/nightguard24.jpg)
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, 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:```
com.apple.developer.usernotifications.critical-alerts
```# License
[agpl-3]: http://www.gnu.org/licenses/agpl-3.0.txt
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 .