Code Monkey home page Code Monkey logo

nightscouthybridmobile's Introduction

iOS: Build status

Android: Build status

NightscoutHybridMobile

A cross platform mobile app that shows your Nightscout website in a WebView.

For more information about Nightscout and remote continuous glucose monitoring in the cloud, visit nightscout.info

Features:

  1. Your full Nightscout website displayed inside the app
  2. The ability to prevent the screen from locking so you can enjoy alarms throughout the night :)
  3. Volume control in case you enjoy alarms throughout the day.
  4. NEW: Push notifications for Alerts, Announcements, and Info events (customizable per device) so you can get alarms when the app is not running. This is an alternative (FREE!) to Pushover, and works very similarly.
  5. NEW: Support for iOS and Android
  6. NEW: A flashlight so you can sneak into your child's room in the middle of the night for blood sugar checks and treatments.

We welcome your feedback and feature requests. Please add them as issues

#Installing the mobile App

If you would like to Beta Test this app, please join our HockeyApp Team. We are using HockyApp to distribute the beta. If you have issues or questions on how to install this app, feel free to ask in our Facebook Group.

Updating your Nightscout for Push Notifications

Your Nightscout website will generate push notifications and send them to this new mobile app for any events (Highs, Lows, Announcements, etc) that happen. You can customize which types of notifications you want to receive when in the mobile application. However, you need to update your Azure website from this Work In Progress (WIP) branch of the Nightscout repo.

The steps to do this are:

  1. Add the azurepush variable to your Enable string in application settings.
  2. IMPORTANT! Ensure the BASE_URL is set in your App settings as described here. It should look something like this: https://<your-website>.azurewebsites.net.
  3. Create a new branch on your fork in GitHub named wip/azurepush. Do this by selecting the Branch drop down and typing in wip/azurepush and then selecting Create Branch. More info here.
  4. Update your new wip/azurepush branch with the new code from the main repo. You can create your own link to do this using this format: https://github.com/nightscout/cgm-remote-monitor/compare/<your-github-username>:wip/azurepush...nightscout:wip/azurepush. Make sure you are logged in to GitHub first!
  5. Approve and merge the pull request.
  6. Go to Azure/Heroku and swap the branch that's deployed to your site. You can either disconnect and re-connect, or follow these steps (for Azure):

Go to your scm site https://<your-website>.scm.azurewebsites.net Go to the Debug Console - CMD from the top Navigate to site\deployments Edit the settings.xml file (using the little pencil) Change the value for the branch key from dev/master to wip/azurepush. It should look like this:

<?xml version="1.0" encoding="utf-8"?>
<settings>
    <deployment>
        <add key="branch" value="wip/azurepush" />
    </deployment>
</settings>
  1. Sync your deployment to move your site to the new code. In Azure, go to your site, Deployment Options, select Sync.

And Voila! The notification settings in the app will work now!

nightscouthybridmobile's People

Contributors

aditmer avatar srmoss avatar humphreymg64 avatar chewwy420 avatar

Watchers

 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.