Use NightWidget to view data on your Android phone (Optional)

18 Jul

Revision for “Use NightWidget to view data on your Android phone (Optional)” created on May 21, 2016 @ 23:08:58

Title
Use NightWidget to view data on your Android phone (Optional)
Content
If you view your Nightscout data on an Android phone, you can create a widget which will refresh the data and place it on one of the home screens and sounds alarms . <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-home-screen.png"><img class="alignnone wp-image-2988 size-medium" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-home-screen-169x300.png" alt="widget-home-screen" width="169" height="300" /></a> &nbsp; The most recent version of the Nightscout widget APK can be downloaded from the project releases page on <a href="https://github.com/arbox0/NightWidget/releases" target="_blank">GitHub</a>. <span style="text-decoration: underline;"><strong>API KEY in Mongolab</strong></span> In order to use the Widget you need to login to your Mongo account to obtain the API Key associated with your user name.  Log in to the MongoLab management portal and click your username (not the account name) in the upper right-hand corner to open your account user profile <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-user-in-mongo.png"><img class="alignnone wp-image-2999 size-full" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-user-in-mongo.png" alt="widget-user-in-mongo" width="1867" height="658" /></a> In the account details page scroll down and enable "Data API Access" <a href="http://www.nightscout.info/wp-content/uploads/2016/05/widget-enable-data-api-access.png"><img class="alignnone wp-image-3752 size-large" src="http://www.nightscout.info/wp-content/uploads/2016/05/widget-enable-data-api-access-1024x813.png" alt="" width="600" height="476" /></a> Once Data API access is enabled, your current API key will be displayed.  As this API  Key string is long it is recommended to copy and paste this into your Widget settings rather than type it directly <a href="http://www.nightscout.info/wp-content/uploads/2016/05/widget-apikey-in-mongo.png"><img class="alignnone wp-image-3750 size-large" src="http://www.nightscout.info/wp-content/uploads/2016/05/widget-apikey-in-mongo-1024x813.png" alt="" width="600" height="476" /></a> &nbsp; <span style="text-decoration: underline;"><strong>NightWidget Setup</strong></span> After downloading the NightWidget place it on your home screen (press and hold).  To access the NightWidget settings click the green gear icon on bottom right of the widgets display (you may need to resize the widget to see the gear icon fully) &nbsp; <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-gear.png"><img class="alignnone wp-image-3005 size-large" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-gear-1024x302.png" alt="widget-settings-gear" width="600" height="177" /></a> &nbsp; The following sections need to be completed: <ul> <li>"Monitor" you need to select Dexcom G4 or Medtronic.</li> <li>"Widget Refresh Period" set to your preference</li> <li>"SGV Metric" select mmol or mg/dl</li> <li>"Data to show" tick the options you would like to see displayed on the widget</li> </ul> &nbsp; <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-1.png"><img class="alignnone size-large wp-image-2991" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-1-576x1024.png" alt="widget-settings-screen-1" width="576" height="1024" /></a> &nbsp; You can switch alarms on the widget and customise alert levels, sounds and vibrations <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-2.png"><img class="alignnone size-large wp-image-2992" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-2-576x1024.png" alt="widget-settings-screen-2" width="576" height="1024" /></a> &nbsp; In order to connect to your database the following information needs to be entered into the NightWidget settings: <ul> <li>"MongoDB REST Upload" - this needs to be ON/enabled</li> <li>"MongoDB URI" - needs to be entered in the format shown in the widget</li> <li>"Database Name" - your mongo database name</li> <li>"APIKEY" - this is obtained from your Mongolab account, instructions above</li> <li>"Collection Name" - the name of your collection in your mongodb</li> <li>"WEB URI" - the URL of your website</li> </ul> The values entered below are examples only - you need to use your specific information at each section <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-3.png"><img class="alignnone size-large wp-image-2993" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-settings-screen-3-576x1024.png" alt="widget-settings-screen-3" width="576" height="1024" /></a> &nbsp; Move the "Disclaimer"  to enabled or ON <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widgets-settings-screen-4.png"><img class="alignnone wp-image-2994 size-large" src="http://www.nightscout.info/wp-content/uploads/2015/10/widgets-settings-screen-4-576x1024.png" alt="widgets-settings-screen-4" width="576" height="1024" /></a> &nbsp; If you have set up all the information correctly they the widget should display bgl data on your home screen.  If not recheck that all information entered into the NightWidget settings is correct <a href="http://www.nightscout.info/wp-content/uploads/2015/10/widget-home-screen.png"><img class="alignnone size-large wp-image-2988" src="http://www.nightscout.info/wp-content/uploads/2015/10/widget-home-screen-576x1024.png" alt="widget-home-screen" width="576" height="1024" /></a> &nbsp;
Excerpt


OldNewDate CreatedAuthorActions
May 21, 2016 @ 23:08:58 Melanie Clegg
May 21, 2016 @ 23:07:56 Melanie Clegg
May 21, 2016 @ 23:07:27 [Autosave] Melanie Clegg
December 19, 2015 @ 04:33:54 Melanie Clegg
October 21, 2015 @ 17:49:59 Melanie Clegg
October 4, 2015 @ 07:15:26 Melanie Clegg
October 4, 2015 @ 07:00:30 Melanie Clegg
October 4, 2015 @ 06:59:17 Melanie Clegg
October 4, 2015 @ 06:58:41 Melanie Clegg
October 4, 2015 @ 06:56:25 Melanie Clegg
October 4, 2015 @ 06:43:16 Melanie Clegg
October 4, 2015 @ 06:43:05 Melanie Clegg
October 4, 2015 @ 06:41:52 Melanie Clegg
October 4, 2015 @ 06:13:27 Melanie Clegg
October 4, 2015 @ 05:55:18 Melanie Clegg
October 4, 2015 @ 05:53:11 Melanie Clegg
October 4, 2015 @ 05:31:20 Melanie Clegg
April 3, 2015 @ 18:14:43 Jim Sifferle
April 3, 2015 @ 18:09:37 Jim Sifferle
April 3, 2015 @ 17:10:20 Jim Sifferle
April 3, 2015 @ 17:09:58 Jim Sifferle
April 3, 2015 @ 16:09:41 Jim Sifferle
April 3, 2015 @ 16:08:11 Jim Sifferle
April 3, 2015 @ 16:07:55 [Autosave] Jim Sifferle
April 3, 2015 @ 16:06:10 Jim Sifferle
December 29, 2014 @ 15:49:25 Gail DeVore
December 29, 2014 @ 15:49:07 [Autosave] Gail DeVore
September 11, 2014 @ 10:55:13 Patrick Drews
September 3, 2014 @ 06:17:30 Patrick Drews
July 18, 2014 @ 11:20:25 James Wedding

3 thoughts on “Use NightWidget to view data on your Android phone (Optional)

  1. All I did to get this to work was open the app, click red camera icon, navigate to your azure website, Click big red camera button on bottom of app. Then click big check mark at top right. Then exit the app. Go to home screen, keep finger on screen until prompted to add a widget, scroll down looking for websnap widget, select the size you want. When widget is on your home screen click on the ‘Settings Icon’ looks like a ‘gear’ symbol. Then again, navigate to your webpage, use camera icon again, then check mark again, and you should have your data now displayed on your home page.

  2. There is some issues with the android 5, after few hours 8-12 the widget is freezing and is not updating him self, the only option is to change the acceptance of disclaimer to off wait one min and set it on again.
    tested on 2 different phones (Htc one M8 and Samsung galaxy s5)
    hope this wil be fixed with a new release.

Comments are closed.