AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() It took a few goes, and it’s almost there, but there’s a slight flaw that only makes itself evident when I get a timeout on the pump/contour next link connection due to interference on the sensor. I also needed to ensure that the delimiter on the end of each line matched what OpenAPS was expecting. ![]() Due to the data order, it all got a little complex, and I had to learn some sed (when I say learn, I mean, “Copy/Paste from ” and then modify. The next step was to write to a file that I could use as the data store, much like the downloads that OpenAPS pulls from NightScout. This worked very nicely, once I’d figured out that the timestamp had been modified slightly. So I took Matt’s code and munged it with Lennart’s updated code to start off by uploading to Nightscout from the Pi. To use this with an artificial pancreas instance offline though? Well, we could get the data off the pump, but it needed to be passed to oref0 to use with some historic data and in a certain time order. The original version of this was built on OSX and Linux in python, and the Github repositories for that are here: littlet1dmatt and Lennart. I’d been using the 640G Uploader on an Android phone that Lennart built to upload my data and then running off NightScout. For issue 1, I’ve been using the 640G with Enlites, and my set-up is therefore rather different from the standard model that uses Dexcom for offline looping. ![]() The work they did on building the Android 640G Uploader and the start in Python on Linux proved invaluable to me. So I went away and reviewed what I had, and this is where I pay a huge amount of thanks to Matt of LittleT1D and Lennart Goedhart.
0 Comments
Read More
Leave a Reply. |