If you don't already have a ns
device
nightscout autoconfigure-device-crud <https://your-host.com> <yourapisecret>
mkdir nightscout
Clean up / add oref0 adevices
openaps device add oref0 process oref0
openaps device remove raw
If you don't already have a ns
device
nightscout autoconfigure-device-crud <https://your-host.com> <yourapisecret>
mkdir nightscout
Clean up / add oref0 adevices
openaps device add oref0 process oref0
openaps device remove raw
Nightscout Grilled Cheese - 0.9 | |
Over 1,000 commits from 39 contributors | |
* Support for multiple active cgm uploaders (incuding battery level with alerts) | |
* Token/Role based authorization | |
* Bolus Calc | |
* SAGE (Sensor Age) | |
* IAGE (Insulin Cartridge Age) | |
* Combo Bolus rendering (similar to Temp Basal rendering) |
$ mm-stick diagnose | |
INFO:__main__:howdy! I'm going to take a look at your carelink usb stick. | |
INFO:decocare.link:Link opened serial port: Serial<id=0x768f5df0, open=True>(port='/dev/serial/by-id/usb-0a21_8001-if00-port0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=0.5, xonxoff=False, rtscts=False, dsrdtr=False) | |
INFO:__main__:PROCESS:OPEN:0.108 | |
INFO:__main__:PROCESS:START:1.063:ProductInfo:0x04 | |
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04) | |
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout | |
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04) | |
INFO:root:usb.write.len: 3 | |
0000 0x04 0x00 0x00 ... |
var start = new ISODate("2015-05-01T00:00:00.001-07").toISOString(); | |
var end = new ISODate("2015-05-31T00:00:00.001-07").toISOString(); | |
var min = 60; | |
var max = 220; | |
var bgChecks = db.treatments.find({$and: [ | |
{created_at: {$gt: start}} | |
, {created_at: {$lt: end}} | |
, {glucose: {$exists: true}} |