Skip to content

Commit

Permalink
adjust example profile, to prevent copy and pastes from seeing a high…
Browse files Browse the repository at this point in the history
… BWP
  • Loading branch information
jasoncalabrese committed Jul 1, 2015
1 parent 52c8bc6 commit 853a052
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,36 +233,38 @@ Use the [autoconfigure tool][autoconfigure] to sync an uploader to your config.


### Treatment Profile
Some of the [plugins](#plugins) make use of a treatment profile that is stored in Mongo. To use those plugins there should only be a single doc in the `profile` collection. A simple example (change it to fit you):
Some of the [plugins](#plugins) make use of a treatment profile that is stored in Mongo. To use those plugins there should only be a single doc in the `profile` collection.

Example Profile (change it to fit you):

```json
{
"dia": 4,
"carbs_hr": 30,
"carbratio": 7.5,
"sens": 35,
"basal": 1.00
"target_low": 95,
"dia": 3,
"carbs_hr": 20,
"carbratio": 30,
"sens": 100,
"basal": 0.125,
"target_low": 100,
"target_high": 120
}
```

Profiles can also use time periods for any field, for example:
Profile can also use time periods for any field, for example:

```json
{
"carbratio": [
{
"time": "00:00",
"value": 16
"value": 30
},
{
"time": "06:00",
"value": 15
"value": 25
},
{
"time": "14:00",
"value": 16
"value": 28
}
],
"basal": [
Expand All @@ -280,19 +282,19 @@ Use the [autoconfigure tool][autoconfigure] to sync an uploader to your config.
},
{
"time": "08:00",
"value": 0.1
"value": 0.100
},
{
"time": "14:00",
"value": 0.125
},
{
"time": "20:00",
"value": 0.3
"value": 0.175
},
{
"time": "22:00",
"value": 0.225
"value": 0.200
}
]
}
Expand Down

0 comments on commit 853a052

Please sign in to comment.