Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check devicestatus for COB from OpenAPS and Loop #2280

Merged
merged 4 commits into from
Dec 2, 2016

Conversation

jasoncalabrese
Copy link
Member

screenshot 2016-12-01 01 05 20

@jasoncalabrese jasoncalabrese added this to the 0.9.2 milestone Dec 1, 2016
@jasoncalabrese
Copy link
Member Author

@ELUTE you might like this, I haven't done much testing yet. Also do you have an example devicestatus from Loop with cob?

@ELUTE
Copy link
Contributor

ELUTE commented Dec 1, 2016

Thanks!

"cob": {
"timestamp": "2016-12-01T13:10:00Z",
"cob": 19.87592511101802
},

@ELUTE
Copy link
Contributor

ELUTE commented Dec 1, 2016

{
"_id": {
"$oid": "584021c3d2acb5c8b18ee240"
},
"device": "loop://Sydney's iPhone",
"loop": {
"predicted": {
"values": [
102,
100,
99,
99,
100,
102,
105,
110,
115,
122,
130,
139,
149,
159,
168,
175,
182,
188,
192,
196,
199,
201,
201,
201,
200,
199,
198,
197,
196,
195,
194,
193,
192,
191,
190,
189,
189,
188,
187,
187,
186,
186,
185,
185,
185,
185,
185
],
"startDate": "2016-12-01T13:09:34Z"
},
"name": "Loop",
"cob": {
"timestamp": "2016-12-01T13:10:00Z",
"cob": 19.87592511101802
},
"timestamp": "2016-12-01T13:12:33Z",
"iob": {
"timestamp": "2016-12-01T13:10:00Z",
"iob": 0.871013412265003
},
"version": "1.1",
"recommendedBolus": 1.425
},
"created_at": "2016-12-01T13:12:33Z"
}

@jasoncalabrese
Copy link
Member Author

Thanks, that confirms structure I was expecting, I think what I have now will work just need to test it more

@jasoncalabrese jasoncalabrese merged commit 2ca39d0 into dev Dec 2, 2016
@jasoncalabrese jasoncalabrese deleted the wip/cob-devicestatus branch December 2, 2016 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants