From 9b601dd0a43cdb1feeaa762758f190e822c7d305 Mon Sep 17 00:00:00 2001 From: Mike Stebbins Date: Sat, 23 Apr 2016 11:10:19 -0700 Subject: [PATCH] Remove errant
character from code block sections --- .../walkthrough/phase-2/using-openaps-tools.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/docs/walkthrough/phase-2/using-openaps-tools.md b/docs/docs/walkthrough/phase-2/using-openaps-tools.md index 45d25f7c0..8646569f1 100644 --- a/docs/docs/walkthrough/phase-2/using-openaps-tools.md +++ b/docs/docs/walkthrough/phase-2/using-openaps-tools.md @@ -212,20 +212,20 @@ Some people have found it more beneficial to pull blood glucose values from Nigh 1) Similar like above, we need to create a device that talks to Nightscout. Add this device called "curl" to your list of devices in your openaps.ini file:
``` -[device "curl"]
-fields =
-cmd = bash
-vendor = openaps.vendors.process
-args = -c "curl -s https://yourwebsite.azurewebsites.net/api/v1/entries.json | json -e 'this.glucose = this.sgv'"
+[device "curl"] +fields = +cmd = bash +vendor = openaps.vendors.process +args = -c "curl -s https://yourwebsite.azurewebsites.net/api/v1/entries.json | json -e 'this.glucose = this.sgv'" ``` In addition, you need to alter your monitor/glucose.json report to use this device rather than the cgms device you setup above. The report will look like this in your openaps.ini file: ``` -[report "monitor/glucose.json"]
-device = curl
-use = shell
-reporter = text
+[report "monitor/glucose.json"] +device = curl +use = shell +reporter = text ``` Many people will actually setup both ways to pull the blood glucose level and switch between the different devices depending on their needs. If you are going to pull it directly from Nightscout then you will have to have internet access for the Raspberry Pi.