Mongo Direct Upload

14 Sep

Revision for “Mongo Direct Upload” created on September 14, 2015 @ 23:04:45

Title
Mongo Direct Upload
Content
Previous Nightscout installations were set up with MongoDB as the method of upload. As of 30 September 2015 with the upgrade to mongo 3.0 - API Upload (REST) is the upload method required.  This information is here for legacy purposes and in the event of an updated Nightscout uploader app being developed to allow continued MongoDB as upload method Once the Nightscout app is open, Open Preferences. Your uploader screen may not look the same as this.  The Preferences (3 vertical dots) may be in the upper right or in the lower middle of the screen – depending on which Android phone/device you are using. Or you might need to tap the menu button on the phone itself, not on the screen. &nbsp; <a href="http://www.nightscout.info/wp-content/uploads/2014/09/Screenshot_2014-11-07-10-35-36.png"><img class="alignnone wp-image-1399 size-medium" src="http://www.nightscout.info/wp-content/uploads/2014/09/Screenshot_2014-11-07-10-35-36-168x300.png" alt="Screenshot_2014-11-07-10-35-36" width="168" height="300" /></a> To configure MongoDB upload: Ensure that "Enabled" below "MongoDB" is ON. <a href="http://www.nightscout.info/wp-content/uploads/2014/09/enable.png"><img class="alignnone size-full wp-image-2238" src="http://www.nightscout.info/wp-content/uploads/2014/09/enable.png" alt="enable" width="270" height="480" /></a> <ul> <li>Tap URI.</li> <li>In the pop-up screen, MANUALLY TYPE IN the MongoDB URI you wrote onto the worksheet. DOUBLE CHECK THAT IT IS 100% ACCURATE. Any mistakes will prevent the system from working. **IT IS ALMOST ALWAYS A MISTAKE IN THIS STEP THAT WILL PREVENT YOU FROM CONNECTING. Click OK when you are finished.</li> <li>Leave Collection Name "entries" as-is. Note: If you used a custom Collection Name in your Mongo setup, then tap Collection Name and type in your custom name in the pop-up screen. This is not the recommended setup method.</li> <li>Leave Device Status Collection Name "devicestatus" as-is. This is for storing battery data of the uploader app phone and should NOT be changed.</li> </ul> You can also use the <a href="http://nightscout.github.io/pages/configure/" target="_blank">auto configure tool</a> to ensure that a correctly formatted URI string is entered into the uploader app. <a href="http://www.nightscout.info/wp-content/uploads/2014/08/13-ns-mongo-uristring.png"><img class="alignnone size-full wp-image-1961" src="http://www.nightscout.info/wp-content/uploads/2014/08/13-ns-mongo-uristring.png" alt="13-ns-mongo-uristring" width="252" height="448" /></a> &nbsp;
Excerpt


OldNewDate CreatedAuthorActions
September 14, 2015 @ 23:04:45 Melanie Clegg
September 14, 2015 @ 22:25:11 Melanie Clegg
September 14, 2015 @ 22:24:30 Melanie Clegg
September 14, 2015 @ 22:22:26 Melanie Clegg
September 14, 2015 @ 22:21:40 Melanie Clegg
September 14, 2015 @ 22:15:09 Melanie Clegg
September 14, 2015 @ 22:09:10 Melanie Clegg
September 14, 2015 @ 22:01:57 Melanie Clegg