freeaps
freeaps copied to clipboard
Feature Request: NS SMB transmission
Would it be possible to to feed NS the SMB's instead of:
{
"_id" : ObjectId("6178dda5cb510d6a1d76e776"),
"duration" : 0,
"bolus" : {
"_type" : "Bolus",
"id" : "a4fa258b4911bf47439ef17078d447ef",
"timestamp" : "2021-10-27T05:03:31.360Z",
"amount" : 0.25,
"duration" : 0
},
"insulin" : 0.25,
"eventType" : "Bolus",
"enteredBy" : "freeaps-x",
"created_at" : "2021-10-27T05:03:31.360Z",
"utcOffset" : 0
}
so that they are identified as SMB in this format:
{
"_id" : ObjectId("61754bd4f706c00004b3be1c"),
"eventType" : "Correction Bolus",
"insulin" : 0.75,
"created_at" : "2021-10-23T21:38:24Z",
"date" : 1635025104068.0,
"isSMB" : true,
"pumpId" : 2021102323382440.0,
"NSCLIENT_ID" : "1635025135592"
}