-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from openaps/dev
Dev to master
- Loading branch information
Showing
21 changed files
with
118 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#### `cgm.ini` | ||
This is the device file for your Dexcom CGM. It will generally not have anything in it, as the communications are handled by core OpenAPS code. | ||
##### Setup code | ||
`openaps device add cgm dexcom` | ||
##### Sample contents | ||
`[device "cgm"]` | ||
##### Dependencies | ||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#### `pump.ini` | ||
This device contains the information requied to connect to your pump, such as your pump's serial number. This example assumes you are using a TI stick. | ||
##### Setup code | ||
`openaps device add pump mmeowlink subg_rfspy /dev/mmeowlink [YOUR PUMP SERIAL]` | ||
##### Sample contents | ||
` | ||
[device "pump"] | ||
serial = [YOUR PUMP SERIAL] | ||
port = /dev/mmeowlink | ||
radio_type = subg_rfspy | ||
model = [YOUR PUMP MODEL] | ||
expires = 2016-05-23T23:02:36.168762 | ||
' | ||
##### Dependencies | ||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#### `max_iob.json` | ||
This is less of a report, and more of a file created during setup. | ||
##### Setup code | ||
None | ||
##### Sample contents | ||
`{ "max_iob": 0 }` | ||
##### Dependencies | ||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#### `monitor/clock-zoned.json` | ||
This report contains the date and time that is set on your pump, but modified to include your timezone information. | ||
##### Setup code | ||
`openaps use tz clock --timezone "[YOUR TIMEZONE]" --adjust "missing" --date "None" --astimezone monitor/clock.json` | ||
##### Sample contents | ||
`"2016-05-23T22:40:14-04:00"` | ||
##### Dependencies | ||
* [`monitor/clock.json`](openaps-report-monitor-clock.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
docs/reference/openaps/openaps-report-monitor-pumphistory-zoned.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#### `monitor/pumphistory-zoned.json` | ||
This report is the same as your `pumphistory.json` report, but adjusted for your timezone. | ||
##### Setup code | ||
`openaps use tz rezone --timezone "[YOUR TIMEZONE]" --adjust "missing" --date "timestamp dateString start_at end_at created_at" --astimezone monitor/pumphistory.json` | ||
##### Sample contents | ||
`[ | ||
{ | ||
"_type": "TempBasalDuration",. | ||
"_description": "TempBasalDuration 2016-05-23T22:15:28 head[2], body[0] op[0x16]",. | ||
"timestamp": "2016-05-23T22:15:28-04:00",. | ||
"_body": "",. | ||
"_head": "1601",. | ||
"duration (min)": 30,. | ||
"_date": "5c4f165710" | ||
}, | ||
]` | ||
##### Dependencies | ||
* [`monitor/pumphistory.json`](openaps-report-monitor-pumphistory.md) |
18 changes: 18 additions & 0 deletions
18
docs/reference/openaps/openaps-report-monitor-pumphistory.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#### `monitor/pumphistory.json` | ||
This report gathers the last 5 hours of history directly from your pump. | ||
##### Setup code | ||
`openaps report add monitor/pumphistory.json JSON pump iter_pump_hours 5` | ||
##### Sample contents | ||
`[ | ||
{ | ||
"_type": "TempBasalDuration",. | ||
"duration (min)": 30,. | ||
"_description": "TempBasalDuration 2016-05-23T22:15:28 head[2], body[0] op[0x16]",. | ||
"timestamp": "2016-05-23T22:15:28",. | ||
"_body": "",. | ||
"_head": "1601",. | ||
"_date": "5c4f165710" | ||
}, | ||
]` | ||
##### Dependencies | ||
* [`pump.ini`](openaps-device-pump.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ This report contains your carb ratios. | |
] | ||
}` | ||
##### Dependencies | ||
None | ||
* [`pump.ini`](openaps-device-pump.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters