Skip to content

Instantly share code, notes, and snippets.

@efidoman
Created September 7, 2018 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efidoman/8695d87b231a420e57b24419014a7af8 to your computer and use it in GitHub Desktop.
Save efidoman/8695d87b231a420e57b24419014a7af8 to your computer and use it in GitHub Desktop.
Logger expired mode backfill works
Fri, 07 Sep 2018 14:06:09 GMT transmitter Listening for transmitter 40SNU6
Fri, 07 Sep 2018 14:06:09 GMT bluetooth-manager on -> stateChange: poweredOn
Fri, 07 Sep 2018 14:06:09 GMT bluetooth-manager starting scanning
Fri, 07 Sep 2018 14:06:09 GMT bluetooth-manager on -> scanStart
Fri, 07 Sep 2018 14:07:30 GMT bluetooth-manager Fri Sep 07 2018 10:07:30 GMT-040 0 (EDT): peripheral: DexcomFE with rssi -65
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Fri Sep 07 2018 10:07:39 GMT-040 0 (EDT): peripheral: DexcomU6 with rssi -75
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager on -> scanStop
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager on -> connect
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager on -> peripheral services discov ered
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager on -> service characteristics di scovered
Fri, 07 Sep 2018 14:07:39 GMT transmitter Authenticating with transmitter
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Tx 01118a8327702f45ee02
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Rx 031c88cbf0ad0f25f887bcf7d6d2f 6c70c
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Tx 046cce01e957e63566
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Rx 050102
Fri, 07 Sep 2018 14:07:39 GMT transmitter transmitter responded with status mess age 050102
Fri, 07 Sep 2018 14:07:39 GMT transmitter Requesting bond
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Tx 0619
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Tx 07
Fri, 07 Sep 2018 14:07:39 GMT transmitter Bonding request sent. Waiting for user to respond.
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager setting notify to true
Fri, 07 Sep 2018 14:07:39 GMT smp got data 0b01
Fri, 07 Sep 2018 14:07:39 GMT smp got security request
Fri, 07 Sep 2018 14:07:39 GMT smp got data 02030001100001
Fri, 07 Sep 2018 14:07:39 GMT smp got data 0395ba5cf7e9383b4d4f164561e8a62372
Fri, 07 Sep 2018 14:07:39 GMT smp got data 04e333aca08befba1a1a97c37d72ba4c95
Fri, 07 Sep 2018 14:07:39 GMT smp got data 061c67b7e3494af3c94c44a0445ee39520
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager successfully set notify enabled for f8083534849e531cc59430f1f86a4ea5 to true
Fri, 07 Sep 2018 14:07:39 GMT transmitter Reading time
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Tx 24e664
Fri, 07 Sep 2018 14:07:39 GMT smp got data 0717cc1ccd70921047e0b8
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager Rx 250039ee0800c2630700010000008 875
Fri, 07 Sep 2018 14:07:39 GMT transmitter Determined activation date: Fri Aug 31 2018 15:33:06 GMT-0400 (EDT)
Fri, 07 Sep 2018 14:07:39 GMT transmitter Determined session start date: Fri Aug 31 2018 15:33:06 GMT-0400 (EDT)
Fri, 07 Sep 2018 14:07:39 GMT transmitter Will request backfill since 578729.236 = Fri Sep 07 2018 08:18:36 GMT-0400 (EDT)
Fri, 07 Sep 2018 14:07:39 GMT transmitter Will request backfill until 585213.003 = Fri Sep 07 2018 10:06:39 GMT-0400 (EDT)
Fri, 07 Sep 2018 14:07:39 GMT transmitter Requesting backfill {"data":{"type":"B uffer","data":[80,5,2,0,169,212,8,0,253,237,8,0,185,0,0,0,18,1,151,213]}}
Fri, 07 Sep 2018 14:07:39 GMT bluetooth-manager setting notify to true
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager successfully set notify enabled for f8083536849e531cc59430f1f86a4ea5 to true
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Tx 50050200a9d40800fded0800b9000 000120197d5
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 01403b0 1000099d508008f0006e9c5d608007e00
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser backfillRequestCounter=315, unknow n=0
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 024006e 2f1d70800750006e31dd90800740006ec
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 034049d a08006f0006f375db0800650006f3a1dc
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 0440080 05f0006f2cddd08005b0006f2f9de0800
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 0540580 006f525e00800550006f851e108005600
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 064006f c7de208005a000602a9e3080061000608
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 0740d5e 408006600060b01e608006a00060c2de7
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 0840080 06c00060959e808006e00060785e90800
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser data notification callback 0940720 00606b1ea080076000607
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Rx 5100010199d50800b1ea0800ae000 000bca9bfd2
Fri, 07 Sep 2018 14:07:40 GMT transmitter BackfillTxMessage data 5100010199d5080 0b1ea0800ae000000bca9bfd2
Fri, 07 Sep 2018 14:07:40 GMT transmitter BackfillRxMessage response {"status":0 ,"backFillStatus":1,"identifier":1,"timestampStart":578969,"timestampEnd":584369 }
Fri, 07 Sep 2018 14:07:40 GMT transmitter Reading glucose
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Tx 305336
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Rx 31005001000035ee0800810006086 9bb
Fri, 07 Sep 2018 14:07:40 GMT transmitter Reading sensor message
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Tx 2eacc5
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Rx 2f0035ee080060860200607102006 bf3
Fri, 07 Sep 2018 14:07:40 GMT transmitter Parsing backfill data
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser parsing backfill data
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=578969, time=1536322955973 , glucose=143, type=6, trend=-23
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=579269, time=1536323255973 , glucose=126, type=6, trend=-30
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=579569, time=1536323555973 , glucose=117, type=6, trend=-29
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=579869, time=1536323855973 , glucose=116, type=6, trend=-20
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=580169, time=1536324155973 , glucose=111, type=6, trend=-13
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=580469, time=1536324455973 , glucose=101, type=6, trend=-13
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=580769, time=1536324755973 , glucose=95, type=6, trend=-14
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=581069, time=1536325055973 , glucose=91, type=6, trend=-14
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=581369, time=1536325355973 , glucose=88, type=6, trend=-11
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=581669, time=1536325655973 , glucose=85, type=6, trend=-8
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=581969, time=1536325955973 , glucose=86, type=6, trend=-4
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=582269, time=1536326255973 , glucose=90, type=6, trend=2
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=582569, time=1536326555973 , glucose=97, type=6, trend=8
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=582869, time=1536326855973 , glucose=102, type=6, trend=11
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=583169, time=1536327155973 , glucose=106, type=6, trend=12
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=583469, time=1536327455973 , glucose=108, type=6, trend=9
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=583769, time=1536327755973 , glucose=110, type=6, trend=7
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=584069, time=1536328055973 , glucose=114, type=6, trend=6
Fri, 07 Sep 2018 14:07:40 GMT backfill-parser dextime=584369, time=1536328355973 , glucose=118, type=6, trend=7
Fri, 07 Sep 2018 14:07:40 GMT transmitter got backfill data: [{"time":1536322955 973,"glucose":143,"type":6,"trend":-23},{"time":1536323255973,"glucose":126,"typ e":6,"trend":-30},{"time":1536323555973,"glucose":117,"type":6,"trend":-29},{"ti me":1536323855973,"glucose":116,"type":6,"trend":-20},{"time":1536324155973,"glu cose":111,"type":6,"trend":-13},{"time":1536324455973,"glucose":101,"type":6,"tr end":-13},{"time":1536324755973,"glucose":95,"type":6,"trend":-14},{"time":15363 25055973,"glucose":91,"type":6,"trend":-14},{"time":1536325355973,"glucose":88," type":6,"trend":-11},{"time":1536325655973,"glucose":85,"type":6,"trend":-8},{"t ime":1536325955973,"glucose":86,"type":6,"trend":-4},{"time":1536326255973,"gluc ose":90,"type":6,"trend":2},{"time":1536326555973,"glucose":97,"type":6,"trend": 8},{"time":1536326855973,"glucose":102,"type":6,"trend":11},{"time":153632715597 3,"glucose":106,"type":6,"trend":12},{"time":1536327455973,"glucose":108,"type": 6,"trend":9},{"time":1536327755973,"glucose":110,"type":6,"trend":7},{"time":153 6328055973,"glucose":114,"type":6,"trend":6},{"time":1536328355973,"glucose":118 ,"type":6,"trend":7}]
New backfill entries:[{"device":"DexcomR4B","date":1536322955973,"dateString":"2 018-09-07T12:22:35.973Z","sgv":143,"direction":"None","type":"sgv","trend":-23," state":"OK","glucose":143},{"device":"DexcomR4B","date":1536323255973,"dateStrin g":"2018-09-07T12:27:35.973Z","sgv":126,"direction":"None","type":"sgv","trend": -30,"state":"OK","glucose":126},{"device":"DexcomR4B","date":1536323555973,"date String":"2018-09-07T12:32:35.973Z","sgv":117,"direction":"None","type":"sgv","tr end":-29,"state":"OK","glucose":117},{"device":"DexcomR4B","date":1536323855973, "dateString":"2018-09-07T12:37:35.973Z","sgv":116,"direction":"None","type":"sgv ","trend":-20,"state":"OK","glucose":116},{"device":"DexcomR4B","date":153632415 5973,"dateString":"2018-09-07T12:42:35.973Z","sgv":111,"direction":"None","type" :"sgv","trend":-13,"state":"OK","glucose":111},{"device":"DexcomR4B","date":1536 324455973,"dateString":"2018-09-07T12:47:35.973Z","sgv":101,"direction":"None"," type":"sgv","trend":-13,"state":"OK","glucose":101},{"device":"DexcomR4B","date" :1536324755973,"dateString":"2018-09-07T12:52:35.973Z","sgv":95,"direction":"Non e","type":"sgv","trend":-14,"state":"OK","glucose":95},{"device":"DexcomR4B","da te":1536325055973,"dateString":"2018-09-07T12:57:35.973Z","sgv":91,"direction":" None","type":"sgv","trend":-14,"state":"OK","glucose":91},{"device":"DexcomR4B", "date":1536325355973,"dateString":"2018-09-07T13:02:35.973Z","sgv":88,"direction ":"None","type":"sgv","trend":-11,"state":"OK","glucose":88},{"device":"DexcomR4 B","date":1536325655973,"dateString":"2018-09-07T13:07:35.973Z","sgv":85,"direct ion":"None","type":"sgv","trend":-8,"state":"OK","glucose":85},{"device":"Dexcom R4B","date":1536325955973,"dateString":"2018-09-07T13:12:35.973Z","sgv":86,"dire ction":"None","type":"sgv","trend":-4,"state":"OK","glucose":86},{"device":"Dexc omR4B","date":1536326255973,"dateString":"2018-09-07T13:17:35.973Z","sgv":90,"di rection":"None","type":"sgv","trend":2,"state":"OK","glucose":90},{"device":"Dex comR4B","date":1536326555973,"dateString":"2018-09-07T13:22:35.973Z","sgv":97,"d irection":"None","type":"sgv","trend":8,"state":"OK","glucose":97},{"device":"De xcomR4B","date":1536326855973,"dateString":"2018-09-07T13:27:35.973Z","sgv":102, "direction":"None","type":"sgv","trend":11,"state":"OK","glucose":102},{"device" :"DexcomR4B","date":1536327155973,"dateString":"2018-09-07T13:32:35.973Z","sgv": 106,"direction":"None","type":"sgv","trend":12,"state":"OK","glucose":106},{"dev ice":"DexcomR4B","date":1536327455973,"dateString":"2018-09-07T13:37:35.973Z","s gv":108,"direction":"None","type":"sgv","trend":9,"state":"OK","glucose":108},{" device":"DexcomR4B","date":1536327755973,"dateString":"2018-09-07T13:42:35.973Z" ,"sgv":110,"direction":"None","type":"sgv","trend":7,"state":"OK","glucose":110} ,{"device":"DexcomR4B","date":1536328055973,"dateString":"2018-09-07T13:47:35.97 3Z","sgv":114,"direction":"None","type":"sgv","trend":6,"state":"OK","glucose":1 14},{"device":"DexcomR4B","date":1536328355973,"dateString":"2018-09-07T13:52:35 .973Z","sgv":118,"direction":"None","type":"sgv","trend":7,"state":"OK","glucose ":118}]
Glucose {
inSession: true,
glucoseMessage:
GlucoseRxMessage {
status: 0,
sequence: 336,
timestamp: 585269,
glucoseIsDisplayOnly: false,
glucose: 129,
state: 6,
trend: 8 },
timeMessage: TransmitterTimeRxMessage { status: 0, currentTime: 585273, sessio nStartTime: 484290 },
status: 0,
state: 6,
transmitterStartDate: 2018-08-31T19:33:06.973Z,
sessionStartDate: 2018-09-06T10:04:36.973Z,
readDate: 2018-09-07T14:07:35.973Z,
isDisplayOnly: false,
filtered: 160096,
unfiltered: 165472,
glucose: 129,
trend: 8,
canBeCalibrated: true,
rssi: -75 }
Fri, 07 Sep 2018 14:07:40 GMT transmitter Reading calibration data
Fri, 07 Sep 2018 14:07:40 GMT bluetooth-manager Tx 321116
full backfill entries to upload: [{"device":"DexcomR4B","date":1536322955973,"da teString":"2018-09-07T12:22:35.973Z","sgv":143,"direction":"None","type":"sgv"," trend":-23,"state":"OK","glucose":143},{"device":"DexcomR4B","date":153632325597 3,"dateString":"2018-09-07T12:27:35.973Z","sgv":126,"direction":"None","type":"s gv","trend":-30,"state":"OK","glucose":126},{"device":"DexcomR4B","date":1536323 555973,"dateString":"2018-09-07T12:32:35.973Z","sgv":117,"direction":"None","typ e":"sgv","trend":-29,"state":"OK","glucose":117},{"device":"DexcomR4B","date":15 36323855973,"dateString":"2018-09-07T12:37:35.973Z","sgv":116,"direction":"None" ,"type":"sgv","trend":-20,"state":"OK","glucose":116},{"device":"DexcomR4B","dat e":1536324155973,"dateString":"2018-09-07T12:42:35.973Z","sgv":111,"direction":" None","type":"sgv","trend":-13,"state":"OK","glucose":111},{"device":"DexcomR4B" ,"date":1536324455973,"dateString":"2018-09-07T12:47:35.973Z","sgv":101,"directi on":"None","type":"sgv","trend":-13,"state":"OK","glucose":101},{"device":"Dexco mR4B","date":1536324755973,"dateString":"2018-09-07T12:52:35.973Z","sgv":95,"dir ection":"None","type":"sgv","trend":-14,"state":"OK","glucose":95},{"device":"De xcomR4B","date":1536325055973,"dateString":"2018-09-07T12:57:35.973Z","sgv":91," direction":"None","type":"sgv","trend":-14,"state":"OK","glucose":91},{"device": "DexcomR4B","date":1536325355973,"dateString":"2018-09-07T13:02:35.973Z","sgv":8 8,"direction":"None","type":"sgv","trend":-11,"state":"OK","glucose":88},{"devic e":"DexcomR4B","date":1536325655973,"dateString":"2018-09-07T13:07:35.973Z","sgv ":85,"direction":"None","type":"sgv","trend":-8,"state":"OK","glucose":85},{"dev ice":"DexcomR4B","date":1536325955973,"dateString":"2018-09-07T13:12:35.973Z","s gv":86,"direction":"None","type":"sgv","trend":-4,"state":"OK","glucose":86},{"d evice":"DexcomR4B","date":1536326255973,"dateString":"2018-09-07T13:17:35.973Z", "sgv":90,"direction":"None","type":"sgv","trend":2,"state":"OK","glucose":90},{" device":"DexcomR4B","date":1536326555973,"dateString":"2018-09-07T13:22:35.973Z" ,"sgv":97,"direction":"None","type":"sgv","trend":8,"state":"OK","glucose":97},{ "device":"DexcomR4B","date":1536326855973,"dateString":"2018-09-07T13:27:35.973Z ","sgv":102,"direction":"None","type":"sgv","trend":11,"state":"OK","glucose":10 2},{"device":"DexcomR4B","date":1536327155973,"dateString":"2018-09-07T13:32:35. 973Z","sgv":106,"direction":"None","type":"sgv","trend":12,"state":"OK","glucose ":106},{"device":"DexcomR4B","date":1536327455973,"dateString":"2018-09-07T13:37 :35.973Z","sgv":108,"direction":"None","type":"sgv","trend":9,"state":"OK","gluc ose":108},{"device":"DexcomR4B","date":1536327755973,"dateString":"2018-09-07T13 :42:35.973Z","sgv":110,"direction":"None","type":"sgv","trend":7,"state":"OK","g lucose":110},{"device":"DexcomR4B","date":1536328055973,"dateString":"2018-09-07 T13:47:35.973Z","sgv":114,"direction":"None","type":"sgv","trend":6,"state":"OK" ,"glucose":114},{"device":"DexcomR4B","date":1536328355973,"dateString":"2018-09 -07T13:52:35.973Z","sgv":118,"direction":"None","type":"sgv","trend":7,"state":" OK","glucose":118}]
(node:2650) [DEP0013] DeprecationWarning: Calling an asynchronous function witho ut callback is deprecated.
09/07 10:07:40 after xdrip-js bg record below ...
[{"device":"DexcomR4","date":1536329255973,"dateString":"2018-09-07T14:07:35.973 Z","sgv":129,"direction":"None","type":"sgv","filtered":160096,"unfiltered":1654 72,"rssi":-75,"noise":"1","trend":8,"state":"OK","status":"OK","glucose":129}]
09/07 10:07:41 Sensor state = OK
09/07 10:07:41 Transmitter status = OK
09/07 10:07:41 Using glucoseType of unfiltered
Logger mode=expired
09/07 10:07:41 Mode = expired
09/07 10:07:41 Last calibration within 12 hours, setting sensor state to OK
09/07 10:07:41 filtered/unfiltered variation ok for meter calibration, -3
09/07 10:07:41 readLastState: lastState=OK
09/07 10:07:41 After calibration calibratedBG =147, slope=0.841, yIntercept=41.4 44, filtered=160.096, unfiltered=165.472, raw=165.472
09/07 10:07:41 numCalibrations=8, calibrationType=LeastSquaresRegression, c=147
09/07 10:07:41 calibratedBG=147, lastGlucose=180, dg=-33
09/07 10:07:41 Change -33 out of range [30,-30] - setting noise=Heavy
09/07 10:07:42 perMinuteAverageDelta=, totalDelta=-33, usedRecords=0
09/07 10:07:42 Gluc=147, last=180, diff=-33, dir=NONE
09/07 10:07:47 Sending BG of 147 to pump via meterid 000000
2018/09/07 10:07:48 connected to CC111x radio on /dev/spidev5.1
2018/09/07 10:07:48 setting frequency to 916.600
2018/09/07 10:07:50 waking pump
2018/09/07 10:08:03 disconnecting CC111x radio on /dev/spidev5.1
09/07 10:08:03 Posting glucose record to xdripAPS / OpenAPS
[{"direction": "None", "trend": -23, "dateString": "2018-09-07T12:22:35.973Z", " sgv": 143, "date": 1536322955973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 143}, {"direction": "None", "trend": -30, "dateString": "2018- 09-07T12:27:35.973Z", "sgv": 126, "date": 1536323255973, "state": "OK", "device" : "DexcomR4B", "type": "sgv", "glucose": 126}, {"direction": "None", "trend": -2 9, "dateString": "2018-09-07T12:32:35.973Z", "sgv": 117, "date": 1536323555973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 117}, {"directio n": "None", "trend": -20, "dateString": "2018-09-07T12:37:35.973Z", "sgv": 116, "date": 1536323855973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glu cose": 116}, {"direction": "None", "trend": -13, "dateString": "2018-09-07T12:42 :35.973Z", "sgv": 111, "date": 1536324155973, "state": "OK", "device": "DexcomR4 B", "type": "sgv", "glucose": 111}, {"direction": "None", "trend": -13, "dateStr ing": "2018-09-07T12:47:35.973Z", "sgv": 101, "date": 1536324455973, "state": "O K", "device": "DexcomR4B", "type": "sgv", "glucose": 101}, {"direction": "None", "trend": -14, "dateString": "2018-09-07T12:52:35.973Z", "sgv": 95, "date": 1536 324755973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 95}, {"direction": "None", "trend": -14, "dateString": "2018-09-07T12:57:35.973Z", "s gv": 91, "date": 1536325055973, "state": "OK", "device": "DexcomR4B", "type": "s gv", "glucose": 91}, {"direction": "None", "trend": -11, "dateString": "2018-09- 07T13:02:35.973Z", "sgv": 88, "date": 1536325355973, "state": "OK", "device": "D excomR4B", "type": "sgv", "glucose": 88}, {"direction": "None", "trend": -8, "da teString": "2018-09-07T13:07:35.973Z", "sgv": 85, "date": 1536325655973, "state" : "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 85}, {"direction": "Non e", "trend": -4, "dateString": "2018-09-07T13:12:35.973Z", "sgv": 86, "date": 15 36325955973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 86} , {"direction": "None", "trend": 2, "dateString": "2018-09-07T13:17:35.973Z", "s gv": 90, "date": 1536326255973, "state": "OK", "device": "DexcomR4B", "type": "s gv", "glucose": 90}, {"direction": "None", "trend": 8, "dateString": "2018-09-07 T13:22:35.973Z", "sgv": 97, "date": 1536326555973, "state": "OK", "device": "Dex comR4B", "type": "sgv", "glucose": 97}, {"direction": "None", "trend": 11, "date String": "2018-09-07T13:27:35.973Z", "sgv": 102, "date": 1536326855973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 102}, {"direction": "Non e", "trend": 12, "dateString": "2018-09-07T13:32:35.973Z", "sgv": 106, "date": 1 536327155973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 10 6}, {"direction": "None", "trend": 9, "dateString": "2018-09-07T13:37:35.973Z", "sgv": 108, "date": 1536327455973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 108}, {"direction": "None", "trend": 7, "dateString": "2018-0 9-07T13:42:35.973Z", "sgv": 110, "date": 1536327755973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 110}, {"direction": "None", "trend": 6, "dateString": "2018-09-07T13:47:35.973Z", "sgv": 114, "date": 1536328055973, "st ate": "OK", "device": "DexcomR4B", "type": "sgv", "glucose": 114}, {"direction": "None", "trend": 7, "dateString": "2018-09-07T13:52:35.973Z", "sgv": 118, "date ": 1536328355973, "state": "OK", "device": "DexcomR4B", "type": "sgv", "glucose" : 118}]
[{"status": "OK", "direction": "NONE", "noise": 4, "trend": 0, "dateString": "20 18-09-07T14:07:35.973Z", "sgv": 147, "date": 1536329255973, "state": "OK", "unfi ltered": 165.472, "rssi": -75, "device": "40SNU6", "filtered": 160.096, "type": "sgv", "glucose": 147}]
[{"device":"DexcomR4B","date":1536328355973,"dateString":"2018-09-07T13:52:35.97 3Z","sgv":118,"direction":"None","type":"sgv","trend":7,"state":"OK","glucose":1 18},{"device":"DexcomR4B","date":1536328055973,"dateString":"2018-09-07T13:47:35 .973Z","sgv":114,"direction":"None","type":"sgv","trend":6,"state":"OK","glucose ":114},{"device":"DexcomR4B","date":1536327755973,"dateString":"2018-09-07T13:42 :35.973Z","sgv":110,"direction":"None","type":"sgv","trend":7,"state":"OK","gluc ose":110},{"device":"DexcomR4B","date":1536327455973,"dateString":"2018-09-07T13 :37:35.973Z","sgv":108,"direction":"None","type":"sgv","trend":9,"state":"OK","g lucose":108},{"device":"DexcomR4B","date":1536327155973,"dateString":"2018-09-07 T13:32:35.973Z","sgv":106,"direction":"None","type":"sgv","trend":12,"state":"OK ","glucose":106},{"device":"DexcomR4B","date":1536326855973,"dateString":"2018-0 9-07T13:27:35.973Z","sgv":102,"direction":"None","type":"sgv","trend":11,"state" :"OK","glucose":102},{"device":"DexcomR4B","date":1536326555973,"dateString":"20 18-09-07T13:22:35.973Z","sgv":97,"direction":"None","type":"sgv","trend":8,"stat e":"OK","glucose":97},{"device":"DexcomR4B","date":1536326255973,"dateString":"2 018-09-07T13:17:35.973Z","sgv":90,"direction":"None","type":"sgv","trend":2,"sta te":"OK","glucose":90},{"device":"DexcomR4B","date":1536325955973,"dateString":" 2018-09-07T13:12:35.973Z","sgv":86,"direction":"None","type":"sgv","trend":-4,"s tate":"OK","glucose":86},{"device":"DexcomR4B","date":1536325655973,"dateString" :"2018-09-07T13:07:35.973Z","sgv":85,"direction":"None","type":"sgv","trend":-8, "state":"OK","glucose":85},{"device":"DexcomR4B","date":1536325355973,"dateStrin g":"2018-09-07T13:02:35.973Z","sgv":88,"direction":"None","type":"sgv","trend":- 11,"state":"OK","glucose":88},{"device":"DexcomR4B","date":1536325055973,"dateSt ring":"2018-09-07T12:57:35.973Z","sgv":91,"direction":"None","type":"sgv","trend ":-14,"state":"OK","glucose":91},{"device":"DexcomR4B","date":1536324755973,"dat eString":"2018-09-07T12:52:35.973Z","sgv":95,"direction":"None","type":"sgv","tr end":-14,"state":"OK","glucose":95},{"device":"DexcomR4B","date":1536324455973," dateString":"2018-09-07T12:47:35.973Z","sgv":101,"direction":"None","type":"sgv" ,"trend":-13,"state":"OK","glucose":101},{"device":"DexcomR4B","date":1536324155 973,"dateString":"2018-09-07T12:42:35.973Z","sgv":111,"direction":"None","type": "sgv","trend":-13,"state":"OK","glucose":111},{"device":"DexcomR4B","date":15363 23855973,"dateString":"2018-09-07T12:37:35.973Z","sgv":116,"direction":"None","t ype":"sgv","trend":-20,"state":"OK","glucose":116},{"device":"DexcomR4B","date": 1536323555973,"dateString":"2018-09-07T12:32:35.973Z","sgv":117,"direction":"Non e","type":"sgv","trend":-29,"state":"OK","glucose":117},{"device":"DexcomR4B","d ate":1536323255973,"dateString":"2018-09-07T12:27:35.973Z","sgv":126,"direction" :"None","type":"sgv","trend":-30,"state":"OK","glucose":126},{"device":"DexcomR4 B","date":1536322955973,"dateString":"2018-09-07T12:22:35.973Z","sgv":143,"direc tion":"None","type":"sgv","trend":-23,"state":"OK","glucose":143}]
09/07 10:08:05 Upload backfill to NightScout worked ... removing /root/myopenaps /monitor/xdripjs/entry-backfill2.json
09/07 10:08:05 /root/myopenaps/monitor/xdripjs/entry-backfill.json does not exis t so no backfill
09/07 10:08:05 Posting blood glucose to NightScout
[{"device":"40SNU6","date":1536329255973,"dateString":"2018-09-07T14:07:35.973Z" ,"sgv":147,"direction":"NONE","type":"sgv","filtered":160.096,"unfiltered":165.4 72,"rssi":-75,"noise":4,"trend":0,"state":"OK","status":"OK","glucose":147}]
09/07 10:08:06 Upload to NightScout of xdrip entry worked ... removing /root/myo penaps/monitor/xdripjs/entry-backfill.json
(standard_in) 1: syntax error
09/07 10:08:06 process_announcements: state=OK lastState=OK status=OK lastStatus =OK
[{"device":"xdripjs://eddie1","xdripjs": {"sessionStart":1536008892589,"state":6 ,"txStatus":0,"stateString":"OK","stateStringShort":"OK","txId":"40SNU6","txStat usString":"OK","txStatusStringShort":"OK","mode":"expired","timestamp":153632926 0690,"rssi":-75,"unfiltered":165.472,"filtered":160.096,"lastCalibrationDate":15 36316664000,"slope":0.841,"intercept":41.444,"calType":"LeastSquaresRegression", "batteryTimestamp":1536321161211,"voltagea":314,"voltageb":303,"temperature":32, "resistance":620}, "created_at":"2018-09-07T14:07:40.696Z"}]
[{"device":"xdripjs://eddie1","xdripjs":{"sessionStart":1536008892589,"state":6, "txStatus":0,"stateString":"OK","stateStringShort":"OK","txId":"40SNU6","txStatu sString":"OK","txStatusStringShort":"OK","mode":"expired","timestamp":1536329260 690,"rssi":-75,"unfiltered":165.472,"filtered":160.096,"lastCalibrationDate":153 6316664000,"slope":0.841,"intercept":41.444,"calType":"LeastSquaresRegression"," batteryTimestamp":1536321161211,"voltagea":314,"voltageb":303,"temperature":32," resistance":620},"created_at":"2018-09-07T14:07:40.696Z","_id":"5b928647a484cf00 13a93605"}]
09/07 10:08:07 Upload to NightScout of cgm status pill record entry worked
09/07 10:08:07 saveLastState, state=OK
09/07 10:08:07 Removing existing Dexcom bluetooth connection = DexcomU6
Done
09/07 10:08:08 Completed Logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment